Class GetFormEntriesAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.forms.content.data.GetFormEntriesAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
Get the submitted entries of a form
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final I18nizableText
The internationalizable text symbolizing the absence of workflow stepprotected static final Pattern
Pattern for options valueprotected FormPropertiesManager
The form properties manager.protected FormTableManager
The form data manager.protected I18nUtils
Utility component for internationalizable textprotected AmetysObjectResolver
The ametys object resolver.protected UserHelper
The user helperprotected WorkflowProvider
The workflow providerFields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
_getReadableValue
(Field field, Object value) Get label to display for fieldact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
__OPTION_VALUE_PATTERN
Pattern for options value -
__MESSAGE_NO_STEP
The internationalizable text symbolizing the absence of workflow step -
_formPropertiesManager
The form properties manager. -
_formTableManager
The form data manager. -
_resolver
The ametys object resolver. -
_workflowProvider
The workflow provider -
_i18nUtils
Utility component for internationalizable text -
_userHelper
The user helper
-
-
Constructor Details
-
GetFormEntriesAction
public GetFormEntriesAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-
_getReadableValue
Get label to display for field- Parameters:
field
- The fieldvalue
- The value- Returns:
- The value to display
-