Interface EntityBrowseView<V extends EntityBrowseView<V>>
- All Superinterfaces:
Comparable<V>
,Component<V>
,Copyable<V>
,Serializable
,View<V>
- All Known Implementing Classes:
DefaultEntityBrowseView
- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptiondefault V
addDefaultGrid
(EntityGridView<?> grid) default V
addFormView
(String id, EntityFormView<?> form) default V
addGrid
(String id, EntityGridView<?> grid) default V
defaultGrid
(UnaryOperator<EntityGridView<?>> fn) default V
Adds the export history grid.default Optional<ExportHistoryEntityGridView<?>>
Search the export history grid view.default Optional<EntityFormView<?>>
findFormView
(String id) default Optional<EntityGridView<?>>
default V
form
(String id, UnaryOperator<EntityFormView<?>> fn) default EntityGridView<?>
default ExportHistoryEntityGridView<?>
Returns theExportHistoryEntityGridView
if it exists.default EntityFormView<?>
getFormView
(String id) default EntityGridView<?>
default V
grid
(String id, UnaryOperator<EntityGridView<?>> fn) default V
Removes the export history grid.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, findAttribute, findComponent, findComponent, findComponents, findEndpoint, 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
-
Method Details
-
addGrid
-
addDefaultGrid
-
grid
-
defaultGrid
-
exportHistoryGrid
Adds the export history grid.- Parameters:
fn
- the addedExportHistoryEntityGridView
for further customization- Returns:
- this view for further customization
-
removeExportHistoryGrid
Removes the export history grid.- Returns:
- this view for further customization
-
findExportHistoryGrid
Search the export history grid view.- Returns:
- the found
ExportHistoryEntityGridView
-
getExportHistoryGrid
Returns theExportHistoryEntityGridView
if it exists.- Returns:
- the found
ExportHistoryEntityGridView
- Throws:
IllegalArgumentException
- if there is no grid for export history
-
getGrid
-
getDefaultGrid
-
findGrid
-
addFormView
-
form
-
getFormView
-
findFormView
-