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