|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
This interface is the common behavior of all actions.
Based on an example of book Code Notes for J2EE, Edited by GREGORY BRILL,
e-ISBN 0-679-64727-9
Last modified $Date: 2004/05/18 10:50:12 $
| Method Summary | |
|---|---|
void |
execute(org.j2ee.dao.DAOActionProcessor processor)
This is the mainly method of an action. |
java.lang.Object |
getTO()
The transfer object used or setted by the 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. |
| Method Detail |
public void execute(org.j2ee.dao.DAOActionProcessor processor)
throws DAOException
processor - (The procesor wich carry out with the action
DAOException - If there where errorspublic void setTO(java.lang.Object to)
to - (The Transfer Object used by the action)public java.lang.Object getTO()
public void setErrorHandler(org.j2ee.dao.DAOErrorHandler handler)
handler - a instance with the application code to manage the exceptioninterface for a list of the code passed to method
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||