Package org.nuxeo.ecm.platform.actions
Class ActionRegistry
- java.lang.Object
-
- org.nuxeo.ecm.platform.actions.ActionRegistry
-
- All Implemented Interfaces:
Serializable
public class ActionRegistry extends Object implements Serializable
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAction(Action action)protected booleanapplyCompatibility(String category, Action finalAction)protected voidapplyCompatibility(Action finalAction)protected booleanapplyCustomCompatibility(String compatType, Action action)Displays specific help messages for migration of actions.ActiongetAction(String id)Collection<Action>getActions()List<Action>getActions(String category)protected ActiongetClonedAction(Action action)List<TypeCompatibility>getTypeCategoryRelations()ActionremoveAction(String id)voidsetTypeCategoryRelations(List<TypeCompatibility> typeCategoryRelations)protected static List<Action>sortActions(Collection<Action> actions)
-
-
-
Constructor Detail
-
ActionRegistry
public ActionRegistry()
-
-
Method Detail
-
removeAction
public Action removeAction(String id)
-
getActions
public Collection<Action> getActions()
-
getActions
public List<Action> getActions(String category)
-
applyCompatibility
protected void applyCompatibility(Action finalAction)
-
applyCompatibility
protected boolean applyCompatibility(String category, Action finalAction)
-
applyCustomCompatibility
protected boolean applyCustomCompatibility(String compatType, Action action)
Displays specific help messages for migration of actions.- Since:
- 6.0
-
getClonedAction
protected Action getClonedAction(Action action)
-
sortActions
protected static List<Action> sortActions(Collection<Action> actions)
-
getTypeCategoryRelations
public List<TypeCompatibility> getTypeCategoryRelations()
-
setTypeCategoryRelations
public void setTypeCategoryRelations(List<TypeCompatibility> typeCategoryRelations)
-
-