public interface ViewPermissionManager
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<View> |
getAllowedViews(ContextView context,
String ambiguousId)
Returns the allowed
View s for the specified ContextView and the work object id. |
com.google.common.collect.ImmutableCollection<View> getAllowedViews(ContextView context, String ambiguousId)
View
s for the specified ContextView
and the work object id. The privileges of the current user are also involved in the permission
process.context
- the view context for which the allowed views should be returnedambiguousId
- the work object global id for which the allowed views should be returnedIllegalArgumentException
- if an input parameter is not validRuntimeException
- if an error occurs while getting the allowed views for the current userCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.