public class ActionInstanceBuilderImpl extends Object implements ActionInstanceBuilder
| Modifier and Type | Field and Description |
|---|---|
protected String |
actionDefinitionId |
protected String |
actionDefinitionKey |
protected List<org.apache.commons.lang3.tuple.Pair<String,String>> |
actionLinkScopes |
protected ActionRuntimeServiceImpl |
actionRuntimeService |
protected List<org.apache.commons.lang3.tuple.Pair<String,String>> |
actionTypeLinks |
protected String |
formInstanceId |
protected String |
formKey |
protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> |
identityLinks |
protected String |
name |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
tenantId |
| Constructor and Description |
|---|
ActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService) |
| Modifier and Type | Method and Description |
|---|---|
ActionInstanceBuilder |
actionDefinitionId(String actionDefinitionId)
Set the id of the action definition
|
ActionInstanceBuilder |
actionDefinitionKey(String actionDefinitionKey)
Set the key of the action definition, latest version of the action definition with the given key.
|
ActionInstanceBuilder |
addActionLink(String scopeId,
String scopeType)
Adds one
ActionLink for this ActionInstance. |
ActionInstanceBuilder |
addActionTypeLink(String type,
String linkValue)
Adds one
ActionTypeLink for this ActionInstance. |
ActionInstanceBuilder |
addGroupIdentityLink(String groupId,
String identityLinkType)
Adds a group identity link to the action instance.
|
ActionInstanceBuilder |
addUserIdentityLink(String userId,
String identityLinkType)
Adds an user identity link to the action instance.
|
ActionInstanceBuilder |
formInstanceId(String formInstanceId)
Set the form instance id of the action instance
|
ActionInstanceBuilder |
formKey(String formKey)
Set the form key of the action instance
|
String |
getActionDefinitionId() |
String |
getActionDefinitionKey() |
List<org.apache.commons.lang3.tuple.Pair<String,String>> |
getActionLinkScopes() |
ActionRuntimeService |
getActionRuntimeService() |
List<org.apache.commons.lang3.tuple.Pair<String,String>> |
getActionTypeLinks() |
String |
getFormInstanceId() |
String |
getFormKey() |
List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> |
getIdentityLinks() |
String |
getName() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
String |
getTenantId() |
ActionInstanceBuilder |
name(String name)
Set the name of the action instance
|
ActionInstanceBuilder |
scopeDefinitionId(String scopeDefinitionId)
Set the scope definition id of the action instance
|
ActionInstanceBuilder |
scopeId(String scopeId)
Set the scope id of the action instance
|
ActionInstanceBuilder |
scopeType(String scopeType)
Set the scope type of the action instance
|
ActionInstance |
start()
Start the action instance
|
ActionInstanceBuilder |
subScopeId(String subScopeId)
Set the sub scope id of the action instance
|
ActionInstanceBuilder |
tenantId(String tenantId)
Set the tenantId of process instance
|
protected ActionRuntimeServiceImpl actionRuntimeService
protected String actionDefinitionId
protected String actionDefinitionKey
protected String name
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected String formInstanceId
protected String formKey
protected String tenantId
protected List<org.apache.commons.lang3.tuple.Pair<String,String>> actionLinkScopes
protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks
public ActionInstanceBuilderImpl(ActionRuntimeServiceImpl actionRuntimeService)
public ActionInstanceBuilder actionDefinitionId(String actionDefinitionId)
ActionInstanceBuilderactionDefinitionId in interface ActionInstanceBuilderpublic ActionInstanceBuilder actionDefinitionKey(String actionDefinitionKey)
ActionInstanceBuilderactionDefinitionKey in interface ActionInstanceBuilderpublic ActionInstanceBuilder name(String name)
ActionInstanceBuildername in interface ActionInstanceBuilderpublic ActionInstanceBuilder scopeId(String scopeId)
ActionInstanceBuilderscopeId in interface ActionInstanceBuilderpublic ActionInstanceBuilder subScopeId(String subScopeId)
ActionInstanceBuildersubScopeId in interface ActionInstanceBuilderpublic ActionInstanceBuilder scopeType(String scopeType)
ActionInstanceBuilderscopeType in interface ActionInstanceBuilderpublic ActionInstanceBuilder scopeDefinitionId(String scopeDefinitionId)
ActionInstanceBuilderscopeDefinitionId in interface ActionInstanceBuilderpublic ActionInstanceBuilder formInstanceId(String formInstanceId)
ActionInstanceBuilderformInstanceId in interface ActionInstanceBuilderpublic ActionInstanceBuilder formKey(String formKey)
ActionInstanceBuilderformKey in interface ActionInstanceBuilderpublic ActionInstanceBuilder tenantId(String tenantId)
ActionInstanceBuildertenantId in interface ActionInstanceBuilderpublic ActionInstanceBuilder addUserIdentityLink(String userId, String identityLinkType)
ActionInstanceBuilderaddUserIdentityLink in interface ActionInstanceBuilderpublic ActionInstanceBuilder addGroupIdentityLink(String groupId, String identityLinkType)
ActionInstanceBuilderaddGroupIdentityLink in interface ActionInstanceBuilderpublic ActionInstanceBuilder addActionLink(String scopeId, String scopeType)
ActionInstanceBuilderActionLink for this ActionInstance.addActionLink in interface ActionInstanceBuilderpublic ActionInstanceBuilder addActionTypeLink(String type, String linkValue)
ActionInstanceBuilderActionTypeLink for this ActionInstance.addActionTypeLink in interface ActionInstanceBuilderpublic ActionInstance start()
ActionInstanceBuilderstart in interface ActionInstanceBuilderpublic ActionRuntimeService getActionRuntimeService()
public String getActionDefinitionId()
public String getActionDefinitionKey()
public String getName()
public String getScopeId()
public String getSubScopeId()
public String getScopeType()
public String getScopeDefinitionId()
public String getFormInstanceId()
public String getFormKey()
public String getTenantId()
public List<org.apache.commons.lang3.tuple.Pair<String,String>> getActionLinkScopes()
public List<org.apache.commons.lang3.tuple.Pair<String,String>> getActionTypeLinks()
public List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> getIdentityLinks()
Copyright © 2019. All rights reserved.