@Manager public class DefaultCaseManager extends Object implements CaseManager
Manages operations on case work objects.
| Constructor and Description |
|---|
DefaultCaseManager(com.edorasware.api.workobject.WorkObjectService workObjectService,
ActionManager nonPublicActionManager,
OneCmmnService cmmnService) |
| Modifier and Type | Method and Description |
|---|---|
QueryResponse |
getAllowedActionsForCurrentUser(String caseWorkObjectId,
Locale locale)
Returns allowed actions for the current user and case
|
List<com.edorasware.api.value.ValueMap> |
getCaseMilestones(String caseWorkObjectId)
Returns milestones for the given case work object id
|
List<com.edorasware.api.value.ValueMap> |
getCaseStates(String caseWorkObjectId)
Returns stages for the given case work object id
|
public DefaultCaseManager(com.edorasware.api.workobject.WorkObjectService workObjectService,
ActionManager nonPublicActionManager,
OneCmmnService cmmnService)
public QueryResponse getAllowedActionsForCurrentUser(String caseWorkObjectId, Locale locale)
CaseManagerReturns allowed actions for the current user and case
getAllowedActionsForCurrentUser in interface CaseManagercaseWorkObjectId - case Id for which actions are returnedlocale - the translation localepublic List<com.edorasware.api.value.ValueMap> getCaseStates(String caseWorkObjectId)
CaseManagerReturns stages for the given case work object id
getCaseStates in interface CaseManagercaseWorkObjectId - case Id for which the stages are returnedpublic List<com.edorasware.api.value.ValueMap> getCaseMilestones(String caseWorkObjectId)
CaseManagerReturns milestones for the given case work object id
getCaseMilestones in interface CaseManagercaseWorkObjectId - case Id for which the stages are returnedCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.