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 AaddComponent(String key, Component<?> component) default AaddComponents(Map<String, ? extends Component<?>> components) default AaddEndpoint(Endpoint<?> endpoint) default AaddEndpoint(String type, Endpoint<?> endpoint) default AExecutes the provided function with this action as an argument.default Adefault AfindAttribute(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 ObjectgetAttribute(String key) default <T> TgetAttribute(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 booleanhasAttribute(String key) default booleanhasComponent(String key) default booleanhasEndpoint(String type) default Adefault Alabel(InternationalizedMessage label) default Adefault AoperationType(OperationType operationType) default Adefault Adefault AremoveAttribute(String key) default AremoveComponent(String key) default AremoveEndpoint(String type) default Adefault Aself()voidsetAttributes(Map<String, Object> attributes) voidsetComponents(Map<String, Component<?>> components) voidsetEndpoints(Map<String, Endpoint<?>> endpoints) voidvoidsetLabel(InternationalizedMessage label) voidsetOperationType(OperationType operationType) voidvoidsetPlacement(String placement) voidvoiddefault AMethods 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
-