@Specializes public class MockCaseManagementService extends RemoteCaseManagementServiceImpl
RemoteCaseManagementServiceImpl.InProgressHumanTaskPredicateCASE_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 CaseManagementServicegetCaseDefinition in class RemoteCaseManagementServiceImplpublic List<CaseDefinitionSummary> getCaseDefinitions()
getCaseDefinitions in interface CaseManagementServicegetCaseDefinitions in class RemoteCaseManagementServiceImplpublic String startCaseInstance(String containerId, String caseDefinitionId, String owner, List<CaseRoleAssignmentSummary> roleAssignments)
startCaseInstance in interface CaseManagementServicestartCaseInstance in class RemoteCaseManagementServiceImplpublic List<CaseInstanceSummary> getCaseInstances(CaseInstanceSearchRequest request)
getCaseInstances in interface CaseManagementServicegetCaseInstances in class RemoteCaseManagementServiceImplpublic CaseInstanceSummary getCaseInstance(String containerId, String caseId)
getCaseInstance in interface CaseManagementServicegetCaseInstance in class RemoteCaseManagementServiceImplpublic void cancelCaseInstance(String containerId, String caseId)
cancelCaseInstance in interface CaseManagementServicecancelCaseInstance in class RemoteCaseManagementServiceImplpublic void closeCaseInstance(String containerId, String caseId, String comment)
closeCaseInstance in interface CaseManagementServicecloseCaseInstance in class RemoteCaseManagementServiceImplpublic List<CaseCommentSummary> getComments(String containerId, String caseId, Integer page, Integer pageSize)
getComments in interface CaseManagementServicegetComments in class RemoteCaseManagementServiceImplpublic void addComment(String containerId, String caseId, String author, String text)
addComment in interface CaseManagementServiceaddComment in class RemoteCaseManagementServiceImplpublic void updateComment(String containerId, String caseId, String commentId, String author, String text)
updateComment in interface CaseManagementServiceupdateComment in class RemoteCaseManagementServiceImplpublic void removeComment(String containerId, String caseId, String commentId)
removeComment in interface CaseManagementServiceremoveComment in class RemoteCaseManagementServiceImplpublic void assignUserToRole(String containerId, String caseId, String roleName, String user)
assignUserToRole in interface CaseManagementServiceassignUserToRole in class RemoteCaseManagementServiceImplpublic void assignGroupToRole(String containerId, String caseId, String roleName, String group)
assignGroupToRole in interface CaseManagementServiceassignGroupToRole in class RemoteCaseManagementServiceImplpublic void removeUserFromRole(String containerId, String caseId, String roleName, String user)
removeUserFromRole in interface CaseManagementServiceremoveUserFromRole in class RemoteCaseManagementServiceImplpublic void removeGroupFromRole(String containerId, String caseId, String roleName, String group)
removeGroupFromRole in interface CaseManagementServiceremoveGroupFromRole in class RemoteCaseManagementServiceImplpublic List<CaseMilestoneSummary> getCaseMilestones(String containerId, String caseId, CaseMilestoneSearchRequest request)
getCaseMilestones in interface CaseManagementServicegetCaseMilestones in class RemoteCaseManagementServiceImplpublic List<CaseStageSummary> getCaseStages(String containerId, String caseId)
getCaseStages in interface CaseManagementServicegetCaseStages in class RemoteCaseManagementServiceImplpublic List<CaseActionSummary> getAdHocFragments(String containerId, String caseId)
getAdHocFragments in class RemoteCaseManagementServiceImplpublic List<CaseActionSummary> getInProgressActions(String containerId, String caseId)
getInProgressActions in class RemoteCaseManagementServiceImplpublic List<CaseActionSummary> getCompletedActions(String containerId, String caseId)
getCompletedActions in class RemoteCaseManagementServiceImplpublic void addDynamicUserTask(String containerId, String caseId, String name, String description, String actors, String groups, Map<String,Object> data)
addDynamicUserTask in interface CaseManagementServiceaddDynamicUserTask in class RemoteCaseManagementServiceImplpublic void addDynamicUserTaskToStage(String containerId, String caseId, String stageId, String name, String description, String actors, String groups, Map<String,Object> data)
addDynamicUserTaskToStage in interface CaseManagementServiceaddDynamicUserTaskToStage in class RemoteCaseManagementServiceImplpublic void triggerAdHocActionInStage(String containerId, String caseId, String stageId, String adHocName, Map<String,Object> data)
triggerAdHocActionInStage in interface CaseManagementServicetriggerAdHocActionInStage in class RemoteCaseManagementServiceImplpublic void triggerAdHocAction(String containerId, String caseId, String adHocName, Map<String,Object> data)
triggerAdHocAction in interface CaseManagementServicetriggerAdHocAction in class RemoteCaseManagementServiceImplpublic void addDynamicSubProcess(String containerId, String caseId, String processId, Map<String,Object> data)
addDynamicSubProcess in interface CaseManagementServiceaddDynamicSubProcess in class RemoteCaseManagementServiceImplpublic void addDynamicSubProcessToStage(String containerId, String caseId, String stageId, String processId, Map<String,Object> data)
addDynamicSubProcessToStage in interface CaseManagementServiceaddDynamicSubProcessToStage in class RemoteCaseManagementServiceImplpublic List<ProcessDefinitionSummary> getProcessDefinitions(String containerId)
getProcessDefinitions in interface CaseManagementServicegetProcessDefinitions in class RemoteCaseManagementServiceImplCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.