public interface CmmnRuntimeService
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupIdentityLink(String caseInstanceId,
String groupId,
String identityLinkType)
Involves a group with a case instance.
|
void |
addUserIdentityLink(String caseInstanceId,
String userId,
String identityLinkType)
Involves a user with a case instance.
|
void |
completeCaseInstance(String caseInstanceId) |
void |
completeStagePlanItemInstance(String planItemInstanceId) |
void |
completeUserEventListenerInstance(String userEventListenerInstanceId) |
CaseInstanceBuilder |
createCaseInstanceBuilder() |
CaseInstanceQuery |
createCaseInstanceQuery() |
MilestoneInstanceQuery |
createMilestoneInstanceQuery() |
PlanItemInstanceQuery |
createPlanItemInstanceQuery() |
UserEventListenerInstanceQuery |
createUserEventListenerInstanceQuery() |
void |
deleteGroupIdentityLink(String caseInstanceId,
String groupId,
String identityLinkType)
Removes the association between a group and a process instance for the given identityLinkType.
|
void |
deleteUserIdentityLink(String caseInstanceId,
String userId,
String identityLinkType)
Removes the association between a user and a process instance for the given identityLinkType.
|
void |
disablePlanItemInstance(String planItemInstanceId) |
void |
enablePlanItemInstance(String planItemInstanceId) |
void |
evaluateCriteria(String caseInstanceId) |
List<org.flowable.identitylink.api.IdentityLink> |
getIdentityLinksForCaseInstance(String instanceId)
Retrieves the
IdentityLinks associated with the given case instance. |
Object |
getLocalVariable(String planItemInstanceId,
String variableName) |
Map<String,Object> |
getLocalVariables(String planItemInstanceId) |
FormInfo |
getStartFormModel(String caseDefinitionId,
String caseInstanceId)
Gets a Form model instance of the start form of a specific case definition or case instance
|
Object |
getVariable(String caseInstanceId,
String variableName) |
Map<String,Object> |
getVariables(String caseInstanceId) |
boolean |
hasVariable(String caseInstanceId,
String variableName)
Check whether or not this case instance has variable set with the given name, Searching for the variable is done in all scopes that are visible to the given case instance.
|
void |
removeLocalVariable(String planItemInstanceId,
String variableName) |
void |
removeLocalVariables(String caseInstanceId,
Collection<String> variableNames) |
void |
removeVariable(String caseInstanceId,
String variableName) |
void |
removeVariables(String caseInstanceId,
Collection<String> variableNames) |
void |
setLocalVariable(String planItemInstanceId,
String variableName,
Object variableValue) |
void |
setLocalVariables(String planItemInstanceId,
Map<String,Object> variables) |
void |
setVariable(String caseInstanceId,
String variableName,
Object variableValue) |
void |
setVariables(String caseInstanceId,
Map<String,Object> variables) |
void |
startPlanItemInstance(String planItemInstanceId) |
void |
terminateCaseInstance(String caseInstanceId) |
void |
triggerPlanItemInstance(String planItemInstanceId) |
CaseInstanceBuilder createCaseInstanceBuilder()
void triggerPlanItemInstance(String planItemInstanceId)
void enablePlanItemInstance(String planItemInstanceId)
void startPlanItemInstance(String planItemInstanceId)
void disablePlanItemInstance(String planItemInstanceId)
void completeStagePlanItemInstance(String planItemInstanceId)
void completeCaseInstance(String caseInstanceId)
void terminateCaseInstance(String caseInstanceId)
void evaluateCriteria(String caseInstanceId)
void completeUserEventListenerInstance(String userEventListenerInstanceId)
boolean hasVariable(String caseInstanceId, String variableName)
void setLocalVariable(String planItemInstanceId, String variableName, Object variableValue)
void removeVariables(String caseInstanceId, Collection<String> variableNames)
void removeLocalVariables(String caseInstanceId, Collection<String> variableNames)
CaseInstanceQuery createCaseInstanceQuery()
PlanItemInstanceQuery createPlanItemInstanceQuery()
MilestoneInstanceQuery createMilestoneInstanceQuery()
UserEventListenerInstanceQuery createUserEventListenerInstanceQuery()
void addUserIdentityLink(String caseInstanceId, String userId, String identityLinkType)
caseInstanceId - id of the case instance, cannot be null.userId - id of the user involve, cannot be null.identityLinkType - type of identityLink, cannot be null.FlowableObjectNotFoundException - when the process instance doesn't exist.void addGroupIdentityLink(String caseInstanceId, String groupId, String identityLinkType)
caseInstanceId - id of the case instance, cannot be null.groupId - id of the group to involve, cannot be null.identityLinkType - type of identity, cannot be null.FlowableObjectNotFoundException - when the process instance or group doesn't exist.void deleteUserIdentityLink(String caseInstanceId, String userId, String identityLinkType)
caseInstanceId - id of the case instance, cannot be null.userId - id of the user involve, cannot be null.identityLinkType - type of identityLink, cannot be null.FlowableObjectNotFoundException - when the task or user doesn't exist.void deleteGroupIdentityLink(String caseInstanceId, String groupId, String identityLinkType)
caseInstanceId - id of the case instance, cannot be null.groupId - id of the group to involve, cannot be null.identityLinkType - type of identity, cannot be null.FlowableObjectNotFoundException - when the task or group doesn't exist.List<org.flowable.identitylink.api.IdentityLink> getIdentityLinksForCaseInstance(String instanceId)
IdentityLinks associated with the given case instance. Such an identity link informs how a certain user is involved with a case instance.FormInfo getStartFormModel(String caseDefinitionId, String caseInstanceId)
caseDefinitionId - id of case definition for which the start form should be retrieved.casesInstanceId - id of case instance for which the start form should be retrieved.Copyright © 2018 Flowable. All rights reserved.