public class CaseUtils extends Object
Constructor and Description |
---|
CaseUtils(com.edorasware.commons.core.any.AnyWorkObjectService anyWorkObjectService,
NotificationService notificationService,
com.edorasware.gear.core.document.DocumentService gearDocumentService,
com.edorasware.gear.core.caze.CaseService caseService,
com.edorasware.gear.core.task.TaskService taskService,
CloudWorkObjectWriteService workObjectWriteService) |
Modifier and Type | Method and Description |
---|---|
void |
archive(com.google.common.base.Optional<com.edorasware.gear.core.process.ProcessId> processToOmit,
com.edorasware.gear.core.process.ProcessService processService,
com.edorasware.gear.core.caze.CaseId caseId,
String actionComment) |
void |
archiveCaseAndDocuments(com.google.common.base.Optional<com.edorasware.gear.core.process.ProcessId> processToOmit,
com.edorasware.gear.core.caze.CaseId parentWorkObjectId,
String actionComment) |
boolean |
archiveCmmnCase(com.edorasware.gear.core.caze.CaseId id,
String actionComment)
Tests if the case identified by the
id parameter is a CMMN case. |
void |
archiveDocuments(com.edorasware.gear.core.caze.CaseId parentWorkObjectId,
String actionComment) |
void |
archiveSingleCase(com.google.common.base.Optional<com.edorasware.gear.core.process.ProcessId> processToOmit,
com.edorasware.gear.core.caze.CaseId id,
String actionComment) |
void |
archiveSingleWorkObject(com.edorasware.commons.core.any.AnyWorkObjectId id,
String actionComment) |
public CaseUtils(com.edorasware.commons.core.any.AnyWorkObjectService anyWorkObjectService, NotificationService notificationService, com.edorasware.gear.core.document.DocumentService gearDocumentService, com.edorasware.gear.core.caze.CaseService caseService, com.edorasware.gear.core.task.TaskService taskService, CloudWorkObjectWriteService workObjectWriteService)
public void archive(com.google.common.base.Optional<com.edorasware.gear.core.process.ProcessId> processToOmit, com.edorasware.gear.core.process.ProcessService processService, com.edorasware.gear.core.caze.CaseId caseId, String actionComment)
public void archiveSingleCase(com.google.common.base.Optional<com.edorasware.gear.core.process.ProcessId> processToOmit, com.edorasware.gear.core.caze.CaseId id, String actionComment)
public boolean archiveCmmnCase(com.edorasware.gear.core.caze.CaseId id, String actionComment)
id
parameter is a CMMN case. If so it archives the
case which leads (by means of notification of the CmmnCaseProvider) to the termination of the
case. Termination of the case also means that the case engine terminates any pending tasks like
human tasks, process tasks and case tasks.id
- the case ID.actionComment
- the action comment to pass on.true
if the case identified by the id
parameter is indeed a CMMN case
(and it was thus archived). Returns false
otherwise.public void archiveCaseAndDocuments(com.google.common.base.Optional<com.edorasware.gear.core.process.ProcessId> processToOmit, com.edorasware.gear.core.caze.CaseId parentWorkObjectId, String actionComment)
public void archiveDocuments(com.edorasware.gear.core.caze.CaseId parentWorkObjectId, String actionComment)
public void archiveSingleWorkObject(com.edorasware.commons.core.any.AnyWorkObjectId id, String actionComment)
Copyright © 2010 - 2015 edorasware ag. All Rights Reserved.