Interface CaseInstanceService
- All Known Implementing Classes:
DefaultCaseInstanceService
public interface CaseInstanceService
- Author:
- Tijs Rademakers
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteCaseInstance(String caseInstanceId) voiddeleteCaseInstancesForExecutionId(String executionId) voiddeleteCaseInstanceWithoutAgenda(String caseInstanceId) voidhandleSignalEvent(EventSubscriptionEntity eventSubscription, Map<String, Object> variables) booleanisHistoryEnabledForCaseDefinitionId(String caseDefinitionId) Checks whether history is enabled for the given case definition id.booleanisHistoryEnabledForCaseInstance(String caseInstanceId) Checks whether history is enabled for the given case instance id.resolveCaseDefinitionId(String caseDefinitionKey, String tenantId, boolean fallbackToDefaultTenant, String parentDeploymentId) Resolves the case definition id from the given key and parameters.startCaseInstance(String caseDefinitionId, String predefinedCaseInstanceId, String caseInstanceName, String businessKey, String executionId, String tenantId, Map<String, Object> inParametersMap)
-
Method Details
-
generateNewCaseInstanceId
String generateNewCaseInstanceId()- Returns:
- A new id that will be used when starting a case instance. This is for example needed to set the bidrectional relation when a process instance starts a case instance through a case task.
-
startCaseInstance
-
handleSignalEvent
-
deleteCaseInstance
-
deleteCaseInstancesForExecutionId
-
deleteCaseInstanceWithoutAgenda
-
resolveCaseDefinitionId
-
isHistoryEnabledForCaseDefinitionId
Checks whether history is enabled for the given case definition id. -
isHistoryEnabledForCaseInstance
Checks whether history is enabled for the given case instance id.
-