public class DefaultWorkflowStepEnumerator extends Object implements Enumerator, Serviceable, Configurable
Enumerator for the default workflow steps| Modifier and Type | Field and Description |
|---|---|
protected String |
_allOption
All option : 'disabled' to disable the 'all' option,
'blank' to use a blank value for 'all' option,
or 'concat' to concat all content types' ids for 'all' option
|
protected List<Integer> |
_excludedSteps
The workflow step to exclude
|
protected WorkflowHelper |
_workflowHelper
The workflow helper
|
protected String |
_workflowName
The workflow name
|
| Constructor and Description |
|---|
DefaultWorkflowStepEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
Map<String,Object> |
getConfiguration()
Get the configuration this enumerator
|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
void |
service(ServiceManager smanager) |
protected WorkflowHelper _workflowHelper
protected String _workflowName
protected String _allOption
protected List<Integer> _excludedSteps
public DefaultWorkflowStepEnumerator()
public void service(ServiceManager smanager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic Map<String,Object> getConfiguration()
EnumeratorgetConfiguration in interface Enumeratorpublic Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.public I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.