@StableMinor(version="10.1", sinceVersion="4.0") public interface IProcessActionHandler
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.
|
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
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.