Modifier and Type | Field and Description |
---|---|
static String |
UNKNOWN_ACTION_I18N_KEY |
Modifier and Type | Method and Description |
---|---|
static com.edorasware.commons.core.entity.Property |
createActionsProperty(TypeAction typeAction)
Creates an actions
Property of the specified TypeAction . |
static Action |
getUnknownAction(String actionId)
Returns a unknown action with the given id.
|
static com.google.common.collect.ImmutableList<Action> |
transformActionNamesToActions(Collection<ActionName> actionNames)
Transforms a
ActionName collection to an immutable Action collection. |
static Action |
transformActionNameToAction(ActionName actionName)
Transforms a
ActionName to an immutable Action . |
public static String UNKNOWN_ACTION_I18N_KEY
public static Action transformActionNameToAction(ActionName actionName)
ActionName
to an immutable Action
.actionName
- the action name to transformIllegalArgumentException
- if the action names parameter is nullpublic static com.google.common.collect.ImmutableList<Action> transformActionNamesToActions(Collection<ActionName> actionNames)
ActionName
collection to an immutable Action
collection.actionNames
- the action names to transformIllegalArgumentException
- if the action names parameter is nullpublic static com.edorasware.commons.core.entity.Property createActionsProperty(TypeAction typeAction)
Property
of the specified TypeAction
.typeAction
- the type action from which to get the actionsIllegalArgumentException
- if the type action parameter is nullCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.