public class DefaultWorkflowStepEnumerator extends Object implements Enumerator, Serviceable, Configurable
Enumerator
for the default workflow stepsModifier 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<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 Serviceable
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public Map<Object,I18nizableText> getEntries() throws Exception
Enumerator
getEntries
in interface Enumerator
Exception
- if an error occurs.public I18nizableText getEntry(String value) throws Exception
Enumerator
getEntry
in interface Enumerator
value
- the value.null
if not found.Exception
- if an error occurs.