public interface ViewPermissionFilter
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<ViewName> |
filter(Collection<ViewName> views,
ContextView contextView,
com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObject<?,?,?>> workObject)
Filters the specified views and returns the filtered views.
|
com.google.common.collect.ImmutableCollection<ViewName> filter(Collection<ViewName> views, ContextView contextView, com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObject<?,?,?>> workObject)
ContextView
and the work object id are also provided for
specified filtering.views
- the views to filtercontextView
- the specified view 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.