public class GetFormEntriesAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected static I18nizableText |
__MESSAGE_NO_STEP
The internationalizable text symbolizing the absence of workflow step
|
protected static Pattern |
__OPTION_VALUE_PATTERN
Pattern for options value
|
protected FormPropertiesManager |
_formPropertiesManager
The form properties manager.
|
protected FormTableManager |
_formTableManager
The form data manager.
|
protected I18nUtils |
_i18nUtils
Utility component for internationalizable text
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver.
|
protected WorkflowProvider |
_workflowProvider
The workflow provider
|
manager
EMPTY_MAP
Constructor and Description |
---|
GetFormEntriesAction() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
_entry2json(UserEntry entry,
com.opensymphony.workflow.Workflow workflow) |
protected String |
_getReadableValue(Field field,
Object value)
Get label to display for field
|
private Map<String,Object> |
_workflow2json(UserEntry entry,
com.opensymphony.workflow.Workflow workflow) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected static final Pattern __OPTION_VALUE_PATTERN
protected static final I18nizableText __MESSAGE_NO_STEP
protected FormPropertiesManager _formPropertiesManager
protected FormTableManager _formTableManager
protected AmetysObjectResolver _resolver
protected WorkflowProvider _workflowProvider
protected I18nUtils _i18nUtils
public GetFormEntriesAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Map<String,Object> _entry2json(UserEntry entry, com.opensymphony.workflow.Workflow workflow)
private Map<String,Object> _workflow2json(UserEntry entry, com.opensymphony.workflow.Workflow workflow)
protected String _getReadableValue(Field field, Object value)
field
- The fieldvalue
- The value