Package | Description |
---|---|
com.edorasware.one.permission.action |
Modifier and Type | Method and Description |
---|---|
static Action |
Action.create(String id,
com.edorasware.commons.core.util.string.I18NString name,
String form,
String endpoint,
com.edorasware.commons.core.util.string.I18NString buttonLabel,
String icon,
boolean enabled)
Creates a new action instance by
ActionName and specified view properties. |
Action |
ActionPermissionManager.getActionById(String actionId,
com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObjectId> workObjectId)
Returns the
Action instance for the given action id. |
static Action |
ActionUtils.getUnknownAction(String actionId)
Returns a unknown action with the given id.
|
Action |
Action.localize(org.springframework.context.MessageSource messageSource,
Locale locale) |
Action |
Action.resolvePlaceholders(Map<String,String> placeholderAndKeysMap) |
static Action |
ActionUtils.transformActionNameToAction(ActionName actionName)
Transforms a
ActionName to an immutable Action . |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<Action> |
ActionPermissionManager.getAllowedActions(ContextAction context,
com.google.common.base.Optional<? extends com.edorasware.commons.core.entity.WorkObjectId> workObjectId)
Returns the allowed
Action s for the specified ContextAction and the work object id. |
com.google.common.collect.ImmutableCollection<Action> |
ActionPermissionManager.getAllowedActionsForType(TypeAction typeAction)
Returns the allowed
Action s for the specified TypeAction . |
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.