|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.platform.actions.ejb.ActionManagerBean
public class ActionManagerBean
Constructor Summary | |
---|---|
ActionManagerBean()
|
Method Summary | |
---|---|
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)
|
void |
initialize()
|
boolean |
isEnabled(String actionId,
ActionContext context)
|
boolean |
isRegistered(String actionId)
|
void |
readState()
|
void |
remove()
Cleanup method. |
void |
saveState()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionManagerBean()
Method Detail |
---|
@PostConstruct public void initialize()
public List<Action> getActions(String category, ActionContext context)
ActionManager
Only actions available in the give context are returned
getActions
in interface ActionManager
public List<Action> getActions(String category, ActionContext context, boolean hideUnavailableActions)
ActionManager
If hideUnavailableActions, all actions of the category are returned but actions are flagged with a enable flag depending on filters evaluation.
getActions
in interface ActionManager
public boolean isEnabled(String actionId, ActionContext context)
isEnabled
in interface ActionManager
public boolean isRegistered(String actionId)
isRegistered
in interface ActionManager
public Action getAction(String actionId)
getAction
in interface ActionManager
public ActionFilter[] getFilters(String actionId)
getFilters
in interface ActionManager
public void remove()
ActionManager
remove
in interface ActionManager
public void readState()
public void saveState()
public List<Action> getAllActions(String category)
ActionManager
getAllActions
in interface ActionManager
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |