|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.j2ee.dao.MacroDAOAction
Last modified $Date: 2004/05/18 10:50:13 $
Field Summary | |
---|---|
java.lang.Object |
executing
|
Constructor Summary | |
---|---|
MacroDAOAction()
|
Method Summary | |
---|---|
java.util.Iterator |
actions()
|
void |
add(org.j2ee.dao.DAOAction action)
|
void |
clear()
|
void |
execute(org.j2ee.dao.DAOActionProcessor processor)
This is the mainly method of an action. |
void |
finalize()
|
java.lang.Object |
getTO()
The transfer object used or setted by the action. |
void |
initialize()
|
void |
posExecute(int naction,
org.j2ee.dao.DAOAction action)
|
void |
preExecute(int naction,
org.j2ee.dao.DAOAction action)
|
void |
remove(org.j2ee.dao.DAOAction action)
|
void |
setErrorHandler(org.j2ee.dao.DAOErrorHandler handler)
This method allows to the action to set a class which manage application errors such as integrity constraint violated. |
void |
setTO(java.lang.Object to)
Set the private attribute, the transfer object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final java.lang.Object executing
Constructor Detail |
public MacroDAOAction()
Method Detail |
public void setTO(java.lang.Object to)
setTO
in interface DAOAction
to
- (The Transfer Object used by the action)public java.lang.Object getTO()
getTO
in interface DAOAction
public void setErrorHandler(org.j2ee.dao.DAOErrorHandler handler)
setErrorHandler
in interface DAOAction
handler
- a instance with the application code to manage the exceptioninterface for a list of the code passed to method
public void execute(org.j2ee.dao.DAOActionProcessor processor) throws DAOException
DAOAction
execute
in interface DAOAction
processor
- (The procesor wich carry out with the action
DAOException
- If there where errorspublic void initialize()
public void preExecute(int naction, org.j2ee.dao.DAOAction action)
public void posExecute(int naction, org.j2ee.dao.DAOAction action)
public void finalize()
finalize
in class java.lang.Object
public void add(org.j2ee.dao.DAOAction action)
public void remove(org.j2ee.dao.DAOAction action)
public void clear()
public java.util.Iterator actions()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |