Package | Description |
---|---|
com.edorasware.one.permission.view |
Modifier and Type | Method and Description |
---|---|
static ContextView |
ContextView.find(String id)
Finds a new context view instance by the given id.
|
static ContextView |
ContextView.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextView[] |
ContextView.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<ViewName> |
ViewPermissionFilter.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<View> |
ViewPermissionManager.getAllowedViews(ContextView context,
com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObjectId> workObjectId)
Returns the allowed
View s for the specified ContextView and the work object id. |
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.