Class ActionModelImpl
java.lang.Object
ch.tocco.nice2.model.base.api.actions.ActionModelImpl
- All Implemented Interfaces:
ActionModel
I need the class in the API because the FormFacade must be able to create one.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetGroup()getLabel()getName()@Nullable IntegergetOrder()@Nullable PatternbooleanmatchesComponent(String componentType) Tells if the model matches the expected component Type.booleanmatchesPattern(String formName) Tells if the given formName matches the required pattern.booleanmatchesScope(String scope) Tells if the given scope matches the scopes for which this action is.
-
Field Details
-
name
-
action
-
pattern
-
scopes
-
component
-
group
-
order
-
label
-
-
Constructor Details
-
ActionModelImpl
-
-
Method Details
-
matchesPattern
Description copied from interface:ActionModelTells if the given formName matches the required pattern. If there is no pattern in use then everything matches.- Specified by:
matchesPatternin interfaceActionModel
-
matchesScope
Description copied from interface:ActionModelTells if the given scope matches the scopes for which this action is. If no scopes were configured then all match.- Specified by:
matchesScopein interfaceActionModel
-
matchesComponent
Tells if the model matches the expected component Type.- Specified by:
matchesComponentin interfaceActionModel- Parameters:
componentType- For example "form" or "template".
-
getName
- Specified by:
getNamein interfaceActionModel
-
getAction
- Specified by:
getActionin interfaceActionModel
-
getPattern
- Specified by:
getPatternin interfaceActionModel
-
getScopes
- Specified by:
getScopesin interfaceActionModel
-
getGroup
- Specified by:
getGroupin interfaceActionModel
-
getOrder
- Specified by:
getOrderin interfaceActionModel
-
getLabel
- Specified by:
getLabelin interfaceActionModel
-