Interface EntityView<V extends EntityView<V>>
-
- All Superinterfaces:
ActionView<V>
,AugmentableView<V>
,Comparable<V>
,Component<V>
,Copyable<V>
,Serializable
,Trackable<V>
,View<V>
- All Known Subinterfaces:
CreateEntityView<V>
,UpdateEntityView<V>
- All Known Implementing Classes:
DefaultCreateEntityLongFormView
,DefaultCreateEntityView
,DefaultUpdateEntityLongFormView
,DefaultUpdateEntityView
public interface EntityView<V extends EntityView<V>> extends ActionView<V>, Trackable<V>, View<V>, AugmentableView<V>
- Author:
- Nick Crum (ncrum)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EntityView.Attributes
-
Nested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.ActionView
ActionView.ActionKeys, ActionView.ActionPlacements
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default V
addForm(String id, EntityFormView<?> form)
default V
addGeneralForm(EntityFormView<?> form)
default V
backLink(Link link)
default V
backLinkById(String componentId)
default V
backLinkByPath(String path)
default Optional<EntityFormView<?>>
findForm(String id)
default V
form(String id, UnaryOperator<EntityFormView<?>> fn)
default V
generalForm(UnaryOperator<EntityFormView<?>> fn)
default EntityFormView<?>
getForm(String id)
default EntityFormView<?>
getGeneralForm()
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.ActionView
addPrimaryAction, addPrimaryAction, addSecondaryAction, addSecondaryAction, findPrimaryAction, findSecondaryAction, getPrimaryAction, getSecondaryAction, primaryAction, primaryAction, secondaryAction, secondaryAction
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.AugmentableView
complexAttributes, complexAttributes, notComplexAttributes
-
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
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Trackable
catalogTrackable, notCatalogTrackable, notProfileTrackable, notSandboxTrackable, profileTrackable, sandboxTrackable
-
-
-
-
Method Detail
-
addForm
default V addForm(String id, EntityFormView<?> form)
-
generalForm
default V generalForm(UnaryOperator<EntityFormView<?>> fn)
-
form
default V form(String id, UnaryOperator<EntityFormView<?>> fn)
-
addGeneralForm
default V addGeneralForm(EntityFormView<?> form)
-
getGeneralForm
default EntityFormView<?> getGeneralForm()
-
getForm
default EntityFormView<?> getForm(String id)
-
findForm
default Optional<EntityFormView<?>> findForm(String id)
-
-