@Specializes public class MockCaseManagementService extends RemoteCaseManagementServiceImpl
RemoteCaseManagementServiceImpl.InProgressHumanTaskPredicate
CASE_OWNER_ROLE, PAGE_SIZE_UNLIMITED
Constructor and Description |
---|
MockCaseManagementService() |
findMilestone, getAdHocActions, getCaseActions, getCaseCompletedNodes, getCaseInstanceSummaryComparator, getCaseMilestoneSummaryComparator
@PostConstruct public void init()
public CaseDefinitionSummary getCaseDefinition(String containerId, String caseDefinitionId)
getCaseDefinition
in interface CaseManagementService
getCaseDefinition
in class RemoteCaseManagementServiceImpl
public List<CaseDefinitionSummary> getCaseDefinitions()
getCaseDefinitions
in interface CaseManagementService
getCaseDefinitions
in class RemoteCaseManagementServiceImpl
public String startCaseInstance(String containerId, String caseDefinitionId, String owner, List<CaseRoleAssignmentSummary> roleAssignments)
startCaseInstance
in interface CaseManagementService
startCaseInstance
in class RemoteCaseManagementServiceImpl
public List<CaseInstanceSummary> getCaseInstances(CaseInstanceSearchRequest request)
getCaseInstances
in interface CaseManagementService
getCaseInstances
in class RemoteCaseManagementServiceImpl
public CaseInstanceSummary getCaseInstance(String containerId, String caseId)
getCaseInstance
in interface CaseManagementService
getCaseInstance
in class RemoteCaseManagementServiceImpl
public void cancelCaseInstance(String containerId, String caseId)
cancelCaseInstance
in interface CaseManagementService
cancelCaseInstance
in class RemoteCaseManagementServiceImpl
public void closeCaseInstance(String containerId, String caseId, String comment)
closeCaseInstance
in interface CaseManagementService
closeCaseInstance
in class RemoteCaseManagementServiceImpl
public List<CaseCommentSummary> getComments(String containerId, String caseId, Integer page, Integer pageSize)
getComments
in interface CaseManagementService
getComments
in class RemoteCaseManagementServiceImpl
public void addComment(String containerId, String caseId, String author, String text)
addComment
in interface CaseManagementService
addComment
in class RemoteCaseManagementServiceImpl
public void updateComment(String containerId, String caseId, String commentId, String author, String text)
updateComment
in interface CaseManagementService
updateComment
in class RemoteCaseManagementServiceImpl
public void removeComment(String containerId, String caseId, String commentId)
removeComment
in interface CaseManagementService
removeComment
in class RemoteCaseManagementServiceImpl
public void assignUserToRole(String containerId, String caseId, String roleName, String user)
assignUserToRole
in interface CaseManagementService
assignUserToRole
in class RemoteCaseManagementServiceImpl
public void assignGroupToRole(String containerId, String caseId, String roleName, String group)
assignGroupToRole
in interface CaseManagementService
assignGroupToRole
in class RemoteCaseManagementServiceImpl
public void removeUserFromRole(String containerId, String caseId, String roleName, String user)
removeUserFromRole
in interface CaseManagementService
removeUserFromRole
in class RemoteCaseManagementServiceImpl
public void removeGroupFromRole(String containerId, String caseId, String roleName, String group)
removeGroupFromRole
in interface CaseManagementService
removeGroupFromRole
in class RemoteCaseManagementServiceImpl
public List<CaseMilestoneSummary> getCaseMilestones(String containerId, String caseId, CaseMilestoneSearchRequest request)
getCaseMilestones
in interface CaseManagementService
getCaseMilestones
in class RemoteCaseManagementServiceImpl
public List<CaseStageSummary> getCaseStages(String containerId, String caseId)
getCaseStages
in interface CaseManagementService
getCaseStages
in class RemoteCaseManagementServiceImpl
public List<CaseActionSummary> getAdHocFragments(String containerId, String caseId)
getAdHocFragments
in class RemoteCaseManagementServiceImpl
public List<CaseActionSummary> getInProgressActions(String containerId, String caseId)
getInProgressActions
in class RemoteCaseManagementServiceImpl
public List<CaseActionSummary> getCompletedActions(String containerId, String caseId)
getCompletedActions
in class RemoteCaseManagementServiceImpl
public void addDynamicUserTask(String containerId, String caseId, String name, String description, String actors, String groups, Map<String,Object> data)
addDynamicUserTask
in interface CaseManagementService
addDynamicUserTask
in class RemoteCaseManagementServiceImpl
public void addDynamicUserTaskToStage(String containerId, String caseId, String stageId, String name, String description, String actors, String groups, Map<String,Object> data)
addDynamicUserTaskToStage
in interface CaseManagementService
addDynamicUserTaskToStage
in class RemoteCaseManagementServiceImpl
public void triggerAdHocActionInStage(String containerId, String caseId, String stageId, String adHocName, Map<String,Object> data)
triggerAdHocActionInStage
in interface CaseManagementService
triggerAdHocActionInStage
in class RemoteCaseManagementServiceImpl
public void triggerAdHocAction(String containerId, String caseId, String adHocName, Map<String,Object> data)
triggerAdHocAction
in interface CaseManagementService
triggerAdHocAction
in class RemoteCaseManagementServiceImpl
public void addDynamicSubProcess(String containerId, String caseId, String processId, Map<String,Object> data)
addDynamicSubProcess
in interface CaseManagementService
addDynamicSubProcess
in class RemoteCaseManagementServiceImpl
public void addDynamicSubProcessToStage(String containerId, String caseId, String stageId, String processId, Map<String,Object> data)
addDynamicSubProcessToStage
in interface CaseManagementService
addDynamicSubProcessToStage
in class RemoteCaseManagementServiceImpl
public List<ProcessDefinitionSummary> getProcessDefinitions(String containerId)
getProcessDefinitions
in interface CaseManagementService
getProcessDefinitions
in class RemoteCaseManagementServiceImpl
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.