public interface ActionManager extends Serializable
Modifier and Type | Method and Description |
---|---|
Action |
getAction(String actionId) |
List<Action> |
getActions(String category,
ActionContext context)
Gets actions for a category (filters are evaluated).
|
List<Action> |
getActions(String category,
ActionContext context,
boolean hideUnavailableActions)
Gets actions for a category (filters are evaluated).
|
List<Action> |
getAllActions(String category)
Gets all actions in a category (filters are NOT evaluated).
|
ActionFilter[] |
getFilters(String actionId) |
boolean |
isEnabled(String actionId,
ActionContext context) |
boolean |
isRegistered(String actionId) |
void |
remove()
Cleanup method.
|
boolean isEnabled(String actionId, ActionContext context)
boolean isRegistered(String actionId)
List<Action> getActions(String category, ActionContext context)
Only actions available in the give context are returned
List<Action> getActions(String category, ActionContext context, boolean hideUnavailableActions)
If hideUnavailableActions, all actions of the category are returned but actions are flagged with a enable flag depending on filters evaluation.
ActionFilter[] getFilters(String actionId)
List<Action> getAllActions(String category)
void remove()
Copyright © 2011 Nuxeo SA. All Rights Reserved.