@Manager public class DefaultCmmnManager extends Object implements CmmnManager
| Constructor and Description |
|---|
DefaultCmmnManager(AnyWorkObjectService anyWorkObjectService,
AnyWorkObjectDefinitionService anyWorkObjectDefinitionService,
OneCmmnService oneCmmnService,
UserManager userManager,
AmbiguousIdHelper ambiguousIdHelper) |
| Modifier and Type | Method and Description |
|---|---|
void |
caseFileItemTransition(String ambiguousCaseClientId,
String caseFileItemId,
String caseFileItemTransition,
Map<String,Object> frontendObjectMap)
Handles case file item transitions with given form data.
|
List<CurrentState> |
currentStates(String ambiguousCaseClientId,
Map<String,String[]> parameterMap)
Gets the list of current states of a case.
|
void |
discretionaryItemPlanning(String ambiguousCaseClientId,
String discretionaryItemId,
Map<String,Object> frontendObjectMap)
Applies the planning action on the specified discretionary item.
|
List<Map<String,Object>> |
planItemProperties(String ambiguousCaseClientId,
String planItemType,
Boolean singleInstanceMode,
String properties,
Map<String,String[]> parameterMap)
Gets the plan item properties along with their values for each plan item instance of the given plan item type.
|
Map<String,Object> |
planItemPropertiesSingle(String ambiguousCaseClientId,
String planItemId,
String properties,
Map<String,String[]> parameterMap)
Gets the plan item properties along with their values for the given comma separated list of properties.
|
Map<String,String> |
planItemTransition(String ambiguousCaseClientId,
String planItemId,
String planItemTransition,
Map<String,Object> frontendObjectMap)
Handles plan item transitions with given form data.
|
void |
stateUpdate(String caseClientAmbiguousId,
Map<String,Object> frontendObjectMap)
Update state of a case.
|
public DefaultCmmnManager(AnyWorkObjectService anyWorkObjectService, AnyWorkObjectDefinitionService anyWorkObjectDefinitionService, OneCmmnService oneCmmnService, UserManager userManager, AmbiguousIdHelper ambiguousIdHelper)
public void stateUpdate(String caseClientAmbiguousId, Map<String,Object> frontendObjectMap)
CmmnManagerUpdate state of a case.
stateUpdate in interface CmmnManagercaseClientAmbiguousId - the ID of the case (either work object ID value or global ID value)frontendObjectMap - form datapublic Map<String,String> planItemTransition(String ambiguousCaseClientId, String planItemId, String planItemTransition, Map<String,Object> frontendObjectMap)
CmmnManagerHandles plan item transitions with given form data.
planItemTransition in interface CmmnManagerambiguousCaseClientId - the ID of the case (either work object ID value or global ID value)planItemId - ID of plan item for which the transition is to be handledplanItemTransition - plan item transition to be handledfrontendObjectMap - form datapublic void caseFileItemTransition(String ambiguousCaseClientId, String caseFileItemId, String caseFileItemTransition, Map<String,Object> frontendObjectMap)
CmmnManagerHandles case file item transitions with given form data.
caseFileItemTransition in interface CmmnManagerambiguousCaseClientId - the ID of the case (either work object ID value or global ID value)caseFileItemId - id of case file item for which the transition is to be handledcaseFileItemTransition - case file item transition to be handledfrontendObjectMap - form datapublic void discretionaryItemPlanning(String ambiguousCaseClientId, String discretionaryItemId, Map<String,Object> frontendObjectMap)
CmmnManagerApplies the planning action on the specified discretionary item.
discretionaryItemPlanning in interface CmmnManagerambiguousCaseClientId - the ID of the case (either work object ID value or global ID value)discretionaryItemId - ID of the discretionary itemfrontendObjectMap - form datapublic List<CurrentState> currentStates(String ambiguousCaseClientId, Map<String,String[]> parameterMap)
CmmnManagerGets the list of current states of a case.
currentStates in interface CmmnManagerambiguousCaseClientId - the ID of the case (either work object ID value or global ID value)parameterMap - map of parameterspublic Map<String,Object> planItemPropertiesSingle(String ambiguousCaseClientId, String planItemId, String properties, Map<String,String[]> parameterMap)
CmmnManagerGets the plan item properties along with their values for the given comma separated list of properties.
planItemPropertiesSingle in interface CmmnManagerambiguousCaseClientId - the ID of the case (either work object ID value or global ID value)planItemId - id of plan item for which the transition is to be handledproperties - comma separated list of property namesparameterMap - map of parameterspublic List<Map<String,Object>> planItemProperties(String ambiguousCaseClientId, String planItemType, Boolean singleInstanceMode, String properties, Map<String,String[]> parameterMap)
CmmnManagerGets the plan item properties along with their values for each plan item instance of the given plan item type.
planItemProperties in interface CmmnManagerambiguousCaseClientId - the ID of the case (either work object ID value or global ID value)planItemType - type of plan itemsingleInstanceMode - flag to indicate the single instance modeproperties - comma separated list of property namesparameterMap - map of parametersCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.