public interface ViewPermissionManager
| Modifier and Type | Method and Description |
|---|---|
List<View> |
getAllowedViews(ContextView context,
String ambiguousId,
Locale locale)
Returns the allowed
Views for the specified ContextView and the work object id. |
List<View> getAllowedViews(ContextView context, String ambiguousId, Locale locale)
Returns the allowed Views 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 returnedlocale - the translation localeIllegalArgumentException - if an input parameter is not validRuntimeException - if an error occurs while getting the allowed views for the current userCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.