public interface ScopedObjectActionFilter
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsActionDefinition(Object scopedObject,
com.flowable.core.common.api.security.SecurityScope securityScope,
ActionDefinition actionDefinition,
ActionDefinitionModel actionDefinitionModel,
ActionInstance actionInstance)
Check if the scoped object accepts the provided
actionDefinition with the provided actionDefinitionModel . |
String |
getScopeType()
The type of the scope that this filter is responsible for.
|
String getScopeType()
boolean acceptsActionDefinition(Object scopedObject, com.flowable.core.common.api.security.SecurityScope securityScope, ActionDefinition actionDefinition, ActionDefinitionModel actionDefinitionModel, ActionInstance actionInstance)
actionDefinition
with the provided actionDefinitionModel
.scopedObject
- the scoped object (e.g. conversation, user, process, etc) that can be filteredsecurityScope
- The current security scopeactionDefinition
- the action definition that would be returnedactionDefinitionModel
- the action definition model for the provided actionDefinition
actionInstance
- Optional ActionInstance
, if there are action instances related to the scoped objecttrue
if the actionDefinition
is accepted by the scoped object, false
otherwiseCopyright © 2019. All rights reserved.