public class WorkflowEnumerator extends AbstractLogEnabled implements Enumerator<String>, Enumerator, Contextualizable, Serviceable
Enumerator for workflow enumeration| Modifier and Type | Field and Description |
|---|---|
private static String |
__PREFIX_FILE |
protected Context |
_context
The cocoon context
|
protected SourceResolver |
_srcResolver
the source resolver
|
protected WorkflowHelper |
_workflowHelper
The workflow helper
|
| Constructor and Description |
|---|
WorkflowEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
private Map<String,I18nizableText> |
_getThemes() |
protected Map<String,I18nizableText> |
_getWorkflows()
Retrieves the workflows begin by 'workflow-ugc'
|
void |
contextualize(Context context) |
Map<String,Object> |
getConfiguration()
Get the configuration of 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.
|
Map<String,I18nizableText> |
getTypedEntries()
Provides the enumerated values with their optional label.
|
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprivate static final String __PREFIX_FILE
protected SourceResolver _srcResolver
protected WorkflowHelper _workflowHelper
public WorkflowEnumerator()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<String,Object> getConfiguration()
EnumeratorgetConfiguration in interface Enumeratorpublic Map<String,I18nizableText> getTypedEntries() throws Exception
EnumeratorException - if an error occurs.
TODO NEWATTRIBUTEAPI: rename this method when Enumerator will be removedpublic 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.private Map<String,I18nizableText> _getThemes()
protected Map<String,I18nizableText> _getWorkflows()