public class FormEntriesWorkflowStepsClientSideElement extends WorkflowStepsClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected FormPropertiesManager |
_formPropertiesManager
The manager for the forms JCR representation
|
protected FormTableManager |
_formTableManager
The manager for the forms SQL tables
|
_contentHelper, _menuItemManager, _menuItems, _referencedClientSideElement, _resolver, _scripts, _smanager, _unresolvedMenuItems, _userManager, _workflowHelper, _workflowProvider
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
FormEntriesWorkflowStepsClientSideElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
_additionalMenuItemConfiguration(Configuration itemConf,
DefaultConfiguration classConf,
int actionId,
Map<String,Object> parameters)
Additional configuration for menu items
|
protected void |
_configureDefaultDescriptions(Map<String,Object> parameters)
Configure the default description
|
protected ClientSideElement.Script |
_configureScript(Configuration configuration)
Configure the script
|
protected void |
_configureWorkflowStep(com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor,
Integer stepId,
Map<String,Object> stepParameters,
Configuration stepConfiguration,
List<Integer> allowedActionIds)
Configure the parameters specific to the workflow, for the given step
|
protected String |
_getDefaultActionClassName()
Get the default class name for workflow action
|
protected String |
_getDefaultMenuClassName()
Get the default class name for workflow menu
|
protected String |
_getDefaultPluginName()
Get the default plugin name
|
protected String |
_getSelectionTargetId()
Get the selection target id (can be a Regexp)
|
Map<String,Object> |
getWorkflowState(List<Integer> entryIds,
String formId,
String scriptId)
Get the workflow state of contents
|
void |
service(ServiceManager serviceManager) |
_configureMenuItems, _configureParameters, _configureScripts, _configureWorkflow, _configureWorkflowStepActions, _getAllowedActions, _getAllowedSteps, configure, getReferencedClientSideElements, getScripts, getWorkflowState
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected FormPropertiesManager _formPropertiesManager
protected FormTableManager _formTableManager
public FormEntriesWorkflowStepsClientSideElement()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class WorkflowStepsClientSideElement
ServiceException
protected String _getDefaultMenuClassName()
WorkflowStepsClientSideElement
_getDefaultMenuClassName
in class WorkflowStepsClientSideElement
protected String _getDefaultActionClassName()
WorkflowStepsClientSideElement
_getDefaultActionClassName
in class WorkflowStepsClientSideElement
protected void _configureWorkflowStep(com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor, Integer stepId, Map<String,Object> stepParameters, Configuration stepConfiguration, List<Integer> allowedActionIds) throws ConfigurationException
WorkflowStepsClientSideElement
_configureWorkflowStep
in class WorkflowStepsClientSideElement
workflowDescriptor
- The descriptor of the workflowstepId
- The stepstepParameters
- The parameters of the stepstepConfiguration
- The step configurationallowedActionIds
- The list of globally allowed actionsConfigurationException
- If an error occursprotected ClientSideElement.Script _configureScript(Configuration configuration) throws ConfigurationException
StaticFileImportsClientSideElement
_configureScript
in class WorkflowStepsClientSideElement
configuration
- the global configurationConfigurationException
- The configuration is incorrectprotected String _getSelectionTargetId()
WorkflowStepsClientSideElement
_getSelectionTargetId
in class WorkflowStepsClientSideElement
protected String _getDefaultPluginName()
WorkflowStepsClientSideElement
_getDefaultPluginName
in class WorkflowStepsClientSideElement
protected void _additionalMenuItemConfiguration(Configuration itemConf, DefaultConfiguration classConf, int actionId, Map<String,Object> parameters)
WorkflowStepsClientSideElement
_additionalMenuItemConfiguration
in class WorkflowStepsClientSideElement
itemConf
- The item configurationclassConf
- The class configurationactionId
- The workflow action idparameters
- The script parametersprotected void _configureDefaultDescriptions(Map<String,Object> parameters)
WorkflowStepsClientSideElement
_configureDefaultDescriptions
in class WorkflowStepsClientSideElement
parameters
- The parameterspublic Map<String,Object> getWorkflowState(List<Integer> entryIds, String formId, String scriptId)
entryIds
- The ids of the selected entriesformId
- The id of the formscriptId
- The id of the script