public interface ExportGrid<G extends ExportGrid<G>> extends ActionGrid<G>
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"))
ActionGrid.ActionKeys, ActionGrid.ActionPlacements
Grid.Attributes, Grid.Keys
Modifier and Type | Method and Description |
---|---|
default G |
addExportGridAction(ExportGridAction<?> action)
Adds the grid-level export action to export the entities from this grid.
|
default G |
exportGridAction(String scope,
UnaryOperator<ExportGridAction<?>> fn)
Adds the grid-level export action to export the entities from this grid.
|
default G |
removeExportGridAction()
Removes the grid-level export action.
|
addGridAction, addGridAction, addRowAction, addRowAction, findGridAction, findRowAction, getGridAction, getRowAction, gridAction, removeGridAction, removeRowAction, rowAction
addColumn, addColumn, addColumn, addColumns, findColumn, getColumn, idKey, removeColumn
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
compareTo
default G exportGridAction(String scope, UnaryOperator<ExportGridAction<?>> fn)
scope
- the OAuth2 scopefn
- the added action for further customizationdefault G addExportGridAction(ExportGridAction<?> action)
action
- the ImportGridAction
actiondefault G removeExportGridAction()
Copyright © 2021. All rights reserved.