@StableMinor(version="12.4", sinceVersion="10.4") public interface IProcessActionHandler extends IParameters
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the identifier for the process action handler.
|
Object |
getParameter(String name)
Returns the parameter value.
|
<T> T |
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.
|
asParameters, containsParameter, emptyParameters
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)
The controls call this method before the processAction() method is called.
name
- value
- Object getParameter(String name)
getParameter
in interface IParameters
name
- <T> T getParameter(String name, Class<T> expectedClass)
T
- the expected class.name
- the parameter name.expectedClass
- the expected class.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.