public class ProcessInstanceActionFilter extends BaseScopedObjectActionFilter<org.flowable.engine.runtime.ProcessInstance>
Modifier and Type | Field and Description |
---|---|
protected org.flowable.engine.RuntimeService |
runtimeService |
Constructor and Description |
---|
ProcessInstanceActionFilter(org.flowable.engine.RuntimeService runtimeService) |
Modifier and Type | Method and Description |
---|---|
protected String |
getScopedObjectState(org.flowable.engine.runtime.ProcessInstance processInstance)
The state of the scoped object (if the object has one),
null otherwise |
protected String |
getScopedObjectSubState(org.flowable.engine.runtime.ProcessInstance processInstance)
The subState of the scoped object (if the object has one),
null otherwise |
protected String |
getScopedObjectSubType(org.flowable.engine.runtime.ProcessInstance processInstance)
The subType of the scoped object (if the object has one),
null otherwise |
protected String |
getScopedObjectType(org.flowable.engine.runtime.ProcessInstance processInstance)
The type of the scoped object (if the object has one),
null otherwise |
String |
getScopeType()
The type of the scope that this filter is responsible for.
|
protected Set<String> |
getUserIdentityLinkTypesForScopedObject(org.flowable.engine.runtime.ProcessInstance processInstance,
String userId)
The types of the user identity links for the scoped object.
|
acceptsActionDefinition, currentUserHasAccess
public ProcessInstanceActionFilter(org.flowable.engine.RuntimeService runtimeService)
public String getScopeType()
ScopedObjectActionFilter
protected Set<String> getUserIdentityLinkTypesForScopedObject(org.flowable.engine.runtime.ProcessInstance processInstance, String userId)
BaseScopedObjectActionFilter
getUserIdentityLinkTypesForScopedObject
in class BaseScopedObjectActionFilter<org.flowable.engine.runtime.ProcessInstance>
processInstance
- the scoped object for which the identity links should be fetcheduserId
- the if of the user for which the identity link types are neededuserId
identity linksprotected String getScopedObjectState(org.flowable.engine.runtime.ProcessInstance processInstance)
BaseScopedObjectActionFilter
null
otherwisegetScopedObjectState
in class BaseScopedObjectActionFilter<org.flowable.engine.runtime.ProcessInstance>
null
if the object does not have oneprotected String getScopedObjectSubState(org.flowable.engine.runtime.ProcessInstance processInstance)
BaseScopedObjectActionFilter
null
otherwisegetScopedObjectSubState
in class BaseScopedObjectActionFilter<org.flowable.engine.runtime.ProcessInstance>
null
if the object does not have oneprotected String getScopedObjectType(org.flowable.engine.runtime.ProcessInstance processInstance)
BaseScopedObjectActionFilter
null
otherwisegetScopedObjectType
in class BaseScopedObjectActionFilter<org.flowable.engine.runtime.ProcessInstance>
null
if the object does not have oneprotected String getScopedObjectSubType(org.flowable.engine.runtime.ProcessInstance processInstance)
BaseScopedObjectActionFilter
null
otherwisegetScopedObjectSubType
in class BaseScopedObjectActionFilter<org.flowable.engine.runtime.ProcessInstance>
null
if the object does not have oneCopyright © 2019. All rights reserved.