Interface ActionView<V extends ActionView<V>>
-
- All Superinterfaces:
Comparable<V>
,Component<V>
,Copyable<V>
,Serializable
,View<V>
- All Known Subinterfaces:
CreateEntityView<V>
,EntityGridView<V>
,EntityView<V>
,ExportHistoryEntityGridView<V>
,UpdateEntityView<V>
- All Known Implementing Classes:
DefaultCreateEntityLongFormView
,DefaultCreateEntityView
,DefaultEntityGridView
,DefaultExportHistoryEntityGridView
,DefaultUpdateEntityLongFormView
,DefaultUpdateEntityView
public interface ActionView<V extends ActionView<V>> extends View<V>
An interface for a view that managesActionView.ActionPlacements.PRIMARY
andActionView.ActionPlacements.SECONDARY
placementAction
.- Author:
- Nick Crum (ncrum)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ActionView.ActionKeys
static class
ActionView.ActionPlacements
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default V
addPrimaryAction(Action<?> action)
default V
addPrimaryAction(String type, Action<?> action)
default V
addSecondaryAction(Action<?> action)
default V
addSecondaryAction(String type, Action<?> action)
default Optional<Action<?>>
findPrimaryAction(String type)
default Optional<Action<?>>
findSecondaryAction(String type)
default Action<?>
getPrimaryAction(String type)
default Action<?>
getSecondaryAction(String type)
default V
primaryAction(Action<?> action)
default V
primaryAction(String type, Action<?> action)
default V
secondaryAction(Action<?> action)
default V
secondaryAction(String type, Action<?> action)
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.Component
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
-
-