Package org.bgerp.action.base
Class Actions
java.lang.Object
org.bgerp.action.base.Actions
Action's registry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAction, a class with methods, called by HTTP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Actions.Action> actions()All the actionsstatic Actions.ActiongetByClass(Class<? extends BaseAction> clazz) Gets an action by its classstatic Actions.ActionGets an action by its IDstatic void
-
Constructor Details
-
Actions
public Actions()
-
-
Method Details
-
init
-
getById
Gets an action by its ID- Parameters:
id- the ID- Returns:
- the action or
null
-
getByClass
Gets an action by its class- Parameters:
clazz- the class- Returns:
- the action or
null
-
actions
All the actions- Returns:
- collection with all registered actions
-