public class WorkflowStatesByLocalizedNameDataProvider extends Object implements IDataProvider<TabularSource<?>>
Modifier and Type | Field and Description |
---|---|
static String |
STATE_PARAMETER_SEPARATOR |
static String |
WORKFLOW_PARAMETER_SEPARATOR |
INTERFACE_INSTANCE_PROPERTY_FIELDS, INTERFACE_INSTANCE_PROPERTY_FILTERS, INTERFACE_INSTANCE_PROPERTY_MAX_ROWS, INTERFACE_INSTANCE_PROPERTY_ORDER_BY, MAX_NUM_ORDER_BY_FIELDS
Constructor and Description |
---|
WorkflowStatesByLocalizedNameDataProvider() |
Modifier and Type | Method and Description |
---|---|
protected String |
getStateId(String workflowId,
String workflowStateId)
Returns an unique state identifier.
|
protected boolean |
isStateAllowed(WorkflowStateConfig stateConfig)
Returns
true if the state is allowed to be included on source, otherwise returns false . |
void |
loadData(SessionConfig sessionConfig,
TabularSource<?> source,
ITransaction transaction) |
public static final String WORKFLOW_PARAMETER_SEPARATOR
public static final String STATE_PARAMETER_SEPARATOR
public WorkflowStatesByLocalizedNameDataProvider()
public void loadData(SessionConfig sessionConfig, TabularSource<?> source, ITransaction transaction) throws PortalException
loadData
in interface IDataProvider<TabularSource<?>>
PortalException
protected String getStateId(String workflowId, String workflowStateId)
workflowId
- workflow identifier.workflowStateId
- state identifier.protected boolean isStateAllowed(WorkflowStateConfig stateConfig)
true
if the state is allowed to be included on source, otherwise returns false
.stateConfig
- the workflow state to be verified.true
if the state is allowed to be included on source, otherwise returns false
.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.