|
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)
ActionManagerOnly actions available in the give context are returned
getActions in interface ActionManager
public List<Action> getActions(String category,
ActionContext context,
boolean hideUnavailableActions)
ActionManagerIf 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 ActionManagerpublic boolean isRegistered(String actionId)
isRegistered in interface ActionManagerpublic Action getAction(String actionId)
getAction in interface ActionManagerpublic ActionFilter[] getFilters(String actionId)
getFilters in interface ActionManagerpublic void remove()
ActionManager
remove in interface ActionManagerpublic 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 | |||||||||