Interface UpdateEntityView<V extends UpdateEntityView<V>>
-
- All Superinterfaces:
ActionView<V>
,AugmentableView<V>
,Comparable<V>
,Component<V>
,Copyable<V>
,EntityView<V>
,FetchEntity<V>
,PreviewableView<V>
,Serializable
,Trackable<V>
,View<V>
- All Known Implementing Classes:
DefaultUpdateEntityLongFormView
,DefaultUpdateEntityView
public interface UpdateEntityView<V extends UpdateEntityView<V>> extends EntityView<V>, FetchEntity<V>, PreviewableView<V>
- Author:
- Nick Crum (ncrum)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
UpdateEntityView.ActionTypes
static class
UpdateEntityView.Attributes
static class
UpdateEntityView.EndpointTypes
-
Nested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.ActionView
ActionView.ActionKeys, ActionView.ActionPlacements
-
-
Method Summary
-
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.views.details.EntityView
addForm, addGeneralForm, backLink, backLinkById, backLinkByPath, findForm, form, generalForm, getForm, getGeneralForm
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.FetchEntity
addReadEndpoint, findReadEndpoint, getReadEndpoint, readEndpoint, readScope, readUrl, readUrl
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.PreviewableView
previewPath, removePreviewPath
-
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Trackable
catalogTrackable, notCatalogTrackable, notProfileTrackable, notSandboxTrackable, profileTrackable, sandboxTrackable
-
-
-
-
Method Detail
-
submitAction
default V submitAction(UnaryOperator<Action<?>> fn)
-
getSubmitAction
default Action<?> getSubmitAction()
-
submitLabel
default V submitLabel(InternationalizedMessage label)
-
submitEndpoint
default V submitEndpoint(UnaryOperator<Endpoint<?>> fn)
-
getSubmitEndpoint
default Endpoint<?> getSubmitEndpoint()
-
deleteAction
default V deleteAction(UnaryOperator<Action<?>> fn)
-
getDeleteAction
default Action<?> getDeleteAction()
-
deleteLabel
default V deleteLabel(InternationalizedMessage label)
-
deleteEndpoint
default V deleteEndpoint(UnaryOperator<Endpoint<?>> fn)
-
getDeleteEndpoint
default Endpoint<?> getDeleteEndpoint()
-
addCloneAction
default V addCloneAction(CloneModalFormAction<?> action)
-
cloneAction
default V cloneAction(UnaryOperator<CloneModalFormAction<?>> fn)
-
getCloneAction
default CloneModalFormAction<?> getCloneAction()
-
findCloneAction
default Optional<CloneModalFormAction<?>> findCloneAction()
-
submitTranslationsEndpoint
default V submitTranslationsEndpoint(UnaryOperator<Endpoint<?>> fn)
-
getUpdateTranslationsEndpoint
default Endpoint<?> getUpdateTranslationsEndpoint()
-
exportHistoryGrid
default V exportHistoryGrid(UnaryOperator<ExportHistoryGridExternal<?>> fn)
Adds the export history grid.- Parameters:
fn
- the addedExportHistoryGrid
for further customization- Returns:
- this view for further customization
-
removeExportHistoryGrid
default V removeExportHistoryGrid()
Removes the export history grid.- Returns:
- this view for further customization
-
findExportHistoryGrid
default Optional<ExportHistoryGridExternal<?>> findExportHistoryGrid()
Search the export history grid view.- Returns:
- the found
ExportHistoryGridExternal
-
getExportHistoryGrid
default ExportHistoryGridExternal<?> getExportHistoryGrid()
Returns theExportHistoryGridExternal
if it exists.- Returns:
- the found
ExportHistoryGridExternal
- Throws:
IllegalArgumentException
- if there is no grid for export history
-
-