Package | Description |
---|---|
com.edorasware.one.permission.action |
Modifier and Type | Method and Description |
---|---|
static ActionName |
ActionName.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionName[] |
ActionName.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<ActionName> |
ActionPermissionFilter.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.ImmutableList<ActionName> |
TypeAction.getActions() |
com.google.common.collect.ImmutableList<ActionName> |
ContextAction.getActions() |
com.google.common.collect.ImmutableList<ActionName> |
StateAction.getActions() |
static com.google.common.collect.ImmutableList<com.google.common.base.Optional<ActionName>> |
ActionName.tryFind(List<String> ids)
Tries to find a list with action name instances which are given by the id's.
|
static com.google.common.base.Optional<ActionName> |
ActionName.tryFind(String id)
Tries to find a new action name instance by the given id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ActionPermissionManager.isActionAllowed(ActionName action,
ContextAction context,
com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObjectId> workObjectId)
Checks if the action is allowed in the given context and for the given work object.
|
static Action |
ActionUtils.transformActionNameToAction(ActionName actionName)
Transforms a
ActionName to an immutable Action . |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<ActionName> |
ActionPermissionFilter.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.
|
static com.google.common.collect.ImmutableList<Action> |
ActionUtils.transformActionNamesToActions(Collection<ActionName> actionNames)
Transforms a
ActionName collection to an immutable Action collection. |
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.