Interface ExportGrid<G extends ExportGrid<G>>
- All Superinterfaces:
- ActionGrid<G>,- Comparable<G>,- Component<G>,- Copyable<G>,- CustomCssComponent<G>,- Grid<G>,- Serializable
- All Known Subinterfaces:
- EntityGridView<V>,- ExportHistoryEntityGridView<V>,- ExportHistoryGridExternal<E>,- GridExternal<E>
- All Known Implementing Classes:
- DefaultEntityGridView,- DefaultExportHistoryEntityGridView,- DefaultExportHistoryGridExternal,- DefaultGridExternal
An extension of 
ActionGrid to represent a grid with a grid-level export action.
 The example of usages:
 grid.exportGridAction("SCOPE", action -> action
         .startExportEndpoint(endpoint -> endpoint.uri("/start-export-uri"))
         .readExportEndpoint(endpoint -> endpoint.uri("/read-export-by-id-uri/${exportId}"))
         .downloadExportUri("/api/export/${exportId}/download")
         .nameField("EXPORT_TYPE"))
 - Author:
- Dima Myroniuk (dmyroniuk)
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.ActionGridActionGrid.ActionKeys, ActionGrid.ActionPlacements, ActionGrid.ActionTypesNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.GridGrid.Attributes, Grid.Keys
- 
Field SummaryFields inherited from interface com.broadleafcommerce.metadata.dsl.core.CustomCssComponentCSS_ATTRIBUTE
- 
Method SummaryModifier and TypeMethodDescriptiondefault GaddExportGridAction(ExportGridAction<?> action) Adds the grid-level export action to export the entities from this grid.default GexportGridAction(String scope, UnaryOperator<ExportGridAction<?>> fn) Adds the grid-level export action to export the entities from this grid.default GRemoves the grid-level export action.Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.ActionGridaddGridAction, addGridAction, addGridActionGroup, addRowAction, addRowAction, findGridAction, findRowAction, getGridAction, getRowAction, gridAction, removeGridAction, removeRowAction, rowActionMethods inherited from interface java.lang.ComparablecompareToMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.ComponentaddAction, 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, typeMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.CustomCssComponentaddCssClass, addCssClass, addCssClass, clearCssClasses, getCssClasses, removeCssClass, removeCssClass, removeCssClassMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.GridaddColumn, addColumn, addColumn, addColumns, addRowMessage, addRowMessage, findColumn, findRowMessage, getColumn, getRowMessage, idKey, removeColumn, removeRowMessage, rowMessage
- 
Method Details- 
exportGridActionAdds the grid-level export action to export the entities from this grid.By default, sets ExportGridAction.passFilterStringAsParam(boolean)asfalseso the new export flow is used, where the export filter string is passed as part of the request body instead of as a parameter.- Parameters:
- scope- the OAuth2 scope
- fn- the added action for further customization
- Returns:
- this grid for further customization
 
- 
addExportGridActionAdds the grid-level export action to export the entities from this grid.- Parameters:
- action- the- ImportGridActionaction
- Returns:
- this grid for further customization
 
- 
removeExportGridActionRemoves the grid-level export action.- Returns:
- this grid for further customization
 
 
-