|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="5.5", sinceVersion="4.0") public interface IProcessActionHandler
All process action handlers must extend this interface.
Method Summary | ||
---|---|---|
String |
getId()
Returns the identifier for the process action handler. |
|
Object |
getParameter(String name)
Returns the parameter value. |
|
|
getParameter(String name,
Class<T> expectedClass)
Returns the parameter value converted to the expected class. |
|
void |
init(Node processActionNode,
ProcessActionContainer processActionContainer)
Called by the process action container to initialize the process action. |
|
void |
processAction()
Executes the process action. |
|
void |
setParameter(String name,
Object value)
All controls pass their values to a process action object via this method. |
Method Detail |
---|
void init(Node processActionNode, ProcessActionContainer processActionContainer) throws PortalException
The process action node is a copy of the node specified in the doui definition.
processActionNode
- processActionContainer
-
PortalException
String getId() throws PortalException
PortalException
void processAction() throws PortalException
This method may execute the process action based on the parameters and node specifications passed to it earlier.
PortalException
void setParameter(String name, Object value) throws PortalException
The controls call this method before the processAction() method is called.
name
- value
-
PortalException
Object getParameter(String name) throws PortalException
name
-
PortalException
<T> T getParameter(String name, Class<T> expectedClass) throws PortalException
T
- the expected class.name
- the parameter name.expectedClass
- the expected class.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |