Interface Action<A extends Action<A>>
- All Superinterfaces:
Comparable<A>
,Copyable<A>
,Serializable
- All Known Subinterfaces:
CloneModalFormAction<A>
,CreateModalFormAction<A>
,ExportGridAction<A>
,FilterAction<A>
,FormAction<A>
,GenerateTemplateAction<A>
,GridRowConditionalAction<A>
,ImportGridAction<A>
,LinkAction<A>
,LookupFilterAction<A>
,ModalFormAction<A>
,OrderableModalFormAction<A>
,QueryBuilderFilterAction<A>
,ResidentMapCreateAction<A>
,RowModalFormAction<A>
,TriggerAction<A>
- All Known Implementing Classes:
AbstractAction
,DefaultAction
,DefaultCloneModalFormAction
,DefaultCreateModalFormAction
,DefaultExportGridAction
,DefaultFilterAction
,DefaultFormAction
,DefaultGenerateTemplateAction
,DefaultGridRowConditionalAction
,DefaultImportGridAction
,DefaultLinkAction
,DefaultLookupFilterAction
,DefaultModalFormAction
,DefaultOrderableModalFormAction
,DefaultQueryBuilderFilterAction
,DefaultResidentMapCreateAction
,DefaultRowModalFormAction
,DefaultTriggerAction
Represents the metadata for an action.
- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptiondefault A
addComponent
(String key, Component<?> component) default A
addComponents
(Map<String, ? extends Component<?>> components) default A
addEndpoint
(Endpoint<?> endpoint) default A
addEndpoint
(String type, Endpoint<?> endpoint) default A
Executes the provided function with this action as an argument.default A
default A
findAttribute
(String key) findComponent
(String key) findComponent
(Predicate<Component<?>> predicate) default Collection<Component<?>>
findComponents
(Predicate<Component<?>> predicate) findEndpoint
(String type) findEndpoint
(Predicate<Endpoint<?>> predicate) default Collection<Endpoint<?>>
findEndpoints
(Predicate<Endpoint<?>> predicate) default Component<?>
default <T extends Component<T>>
Tdefault Object
getAttribute
(String key) default <T> T
getAttribute
(String key, Class<T> clazz) default Component<?>
getComponent
(String key) default <T extends Component<T>>
TgetComponent
(String key, Class<T> clazz) default Collection<Component<?>>
default Endpoint<?>
getEndpoint
(String type) default <E extends Endpoint<E>>
EgetEndpoint
(String type, Class<E> clazz) default Collection<Endpoint<?>>
getId()
getLabel()
getOrder()
getScope()
getType()
default boolean
hasAttribute
(String key) default boolean
hasComponent
(String key) default boolean
hasEndpoint
(String type) default A
default A
label
(InternationalizedMessage label) default A
default A
operationType
(OperationType operationType) default A
default A
default A
removeAttribute
(String key) default A
removeComponent
(String key) default A
removeEndpoint
(String type) default A
default A
self()
void
setAttributes
(Map<String, Object> attributes) void
setComponents
(Map<String, Component<?>> components) void
setEndpoints
(Map<String, Endpoint<?>> endpoints) void
void
setLabel
(InternationalizedMessage label) void
setOperationType
(OperationType operationType) void
void
setPlacement
(String placement) void
void
default A
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
-
getPlacement
-
getType
-
getOperationType
-
getScope
-
getLabel
-
getOrder
-
getAttributes
-
getComponents
-
getEndpoints
-
setId
-
setPlacement
-
setType
-
setOperationType
-
setScope
-
setLabel
-
setOrder
-
setAttributes
-
setComponents
-
setEndpoints
-
getComponentsList
-
getEndpointsList
-
self
-
apply
Executes the provided function with this action as an argument.- Parameters:
fn
- the function- Returns:
- this
-
id
-
placement
-
type
-
operationType
-
scope
-
label
-
label
-
order
-
attribute
-
removeAttribute
-
hasAttribute
-
getAttribute
-
getAttribute
-
findAttribute
-
addComponent
-
addComponents
-
removeComponent
-
hasComponent
-
getComponent
-
getComponent
-
get
-
get
-
findComponents
-
findComponent
-
findComponent
-
hasEndpoint
-
getEndpoint
-
getEndpoint
-
findEndpoints
-
findEndpoint
-
findEndpoint
-
addEndpoint
-
addEndpoint
-
removeEndpoint
-
clearEndpoints
-