lumis.service.autoadministration
Class WorkflowStatesByLocalizedNameDataProvider
java.lang.Object
lumis.service.autoadministration.WorkflowStatesByLocalizedNameDataProvider
- All Implemented Interfaces:
- IDataProvider<TabularSource<?>>
- Direct Known Subclasses:
- NonPublishedAndArchivedWorklowStatesByLocalizedNameDataProvider
public class WorkflowStatesByLocalizedNameDataProvider
- extends Object
- implements IDataProvider<TabularSource<?>>
Provides the workflow state data, grouping all states from localized name.
- Since:
- 7.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WORKFLOW_PARAMETER_SEPARATOR
public static final String WORKFLOW_PARAMETER_SEPARATOR
- See Also:
- Constant Field Values
STATE_PARAMETER_SEPARATOR
public static final String STATE_PARAMETER_SEPARATOR
- See Also:
- Constant Field Values
WorkflowStatesByLocalizedNameDataProvider
public WorkflowStatesByLocalizedNameDataProvider()
loadData
public void loadData(SessionConfig sessionConfig,
TabularSource<?> source,
ITransaction transaction)
throws PortalException
- Specified by:
loadData
in interface IDataProvider<TabularSource<?>>
- Throws:
PortalException
getStateId
protected String getStateId(String workflowId,
String workflowStateId)
- Returns an unique state identifier.
- Parameters:
workflowId
- workflow identifier.workflowStateId
- state identifier.
- Returns:
- Since:
- 7.0.0
isStateAllowed
protected boolean isStateAllowed(WorkflowStateConfig stateConfig)
- Returns
true
if the state is allowed to be included on source, otherwise returns false
.
- Parameters:
stateConfig
- the workflow state to be verified.
- Returns:
true
if the state is allowed to be included on source, otherwise returns false
.- Since:
- 7.0.0
Lumisportal 7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.