Package org.bgerp.action.base
Class Actions
java.lang.Object
org.bgerp.action.base.Actions
Action's registry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Action, a class with methods, called by HTTP -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
<Actions.Action> actions()
All the actionsstatic Actions.Action
getByClass
(Class<? extends BaseAction> clazz) Gets an action by its classstatic Actions.Action
Gets 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
-