public interface ActionPermissionFilter
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<ActionName> |
filter(Collection<ActionName> actions,
ContextAction contextAction,
com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObject<?,?,?>> workObject)
Filters the specified actions and returns the filtered actions.
|
com.google.common.collect.ImmutableCollection<ActionName> filter(Collection<ActionName> actions, ContextAction contextAction, com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObject<?,?,?>> workObject)
ContextAction
and the work object id are also provided for specified filtering.actions
- the actions to filtercontextAction
- the specified action contextworkObject
- the specified work objectIllegalArgumentException
- if an input parameter is not validRuntimeException
- if an error occurs while filteringCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.