public class FormEntriesWorkflowAction extends WorkflowAction
The following parameters are supported:
Modifier and Type | Field and Description |
---|---|
private CurrentUserProvider |
_currentUserProvider
Helper to retrieve the current user
|
private FormPropertiesManager |
_formPropertiesManager
Component gathering utility methods to work with the forms JCR representations
|
private FormTableManager |
_formTableManager
Helper to manipulation the forms SQL tables
|
private JSONUtils |
_jsonUtils
Utility component for the handling of object represented in JSON
|
private UserManager |
_userManager
The users manager
|
_workflowProvider
manager
EMPTY_MAP
Constructor and Description |
---|
FormEntriesWorkflowAction() |
Modifier and Type | Method and Description |
---|---|
protected Map |
_act(Redirector redirector,
Map objectModel,
String source,
Parameters parameters,
int actionId,
Map inputs)
Initialize or act on a workflow instance.
|
protected Map<String,Object> |
_getInputs(Redirector redirector,
Map objectModel,
String source,
Parameters parameters)
Provide the inputs to use.
|
protected long |
_getWorkflowId(Map objectModel,
String source,
Parameters parameters)
Provide the workflow id.
|
void |
service(ServiceManager serviceManager) |
_getActionResult, _getExceptionContext
_getActionId, _getFailConditions, _getWorkflowErrors, _getWorkflowWarns, _processInvalidActionException, _processWorkflowException, act, initialize
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private FormPropertiesManager _formPropertiesManager
private FormTableManager _formTableManager
private CurrentUserProvider _currentUserProvider
private UserManager _userManager
private JSONUtils _jsonUtils
public FormEntriesWorkflowAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
protected Map _act(Redirector redirector, Map objectModel, String source, Parameters parameters, int actionId, Map inputs) throws com.opensymphony.workflow.InvalidInputException, com.opensymphony.workflow.WorkflowException
AbstractWorkflowAction
_act
in class WorkflowAction
redirector
- the redirector.objectModel
- the current object model.source
- the current source.parameters
- the current parameters.actionId
- the action id to use.inputs
- the inputs to usecom.opensymphony.workflow.InvalidInputException
- if the action id is not valid.com.opensymphony.workflow.WorkflowException
- if the action failed.protected long _getWorkflowId(Map objectModel, String source, Parameters parameters)
WorkflowAction
Default implementation uses parameter workflowId
.
_getWorkflowId
in class WorkflowAction
objectModel
- the current object model.source
- the current source.parameters
- the current parameters.protected Map<String,Object> _getInputs(Redirector redirector, Map objectModel, String source, Parameters parameters) throws Exception
AbstractWorkflowAction
Default implementation provide the redirector.
_getInputs
in class AbstractWorkflowAction
redirector
- the redirector.objectModel
- the current object model.source
- the current source.parameters
- the current parameters.Exception
- if an error occurs.