Interface EntityGridView<V extends EntityGridView<V>>
- All Superinterfaces:
ActionGrid<V>,ActionView<V>,Comparable<V>,Component<V>,Copyable<V>,CustomCssComponent<V>,ExportGrid<V>,FetchGrid<V>,Filterable<V>,FilterableGrid<V>,Grid<V>,GridView<V>,ImportGrid<V>,Pollable<V>,Selectable<V>,Serializable,SortableGrid<V>,TileGrid<V>,Trackable<V>,View<V>
- All Known Subinterfaces:
ExportHistoryEntityGridView<V>
- All Known Implementing Classes:
DefaultEntityGridView,DefaultExportHistoryEntityGridView
public interface EntityGridView<V extends EntityGridView<V>>
extends ActionView<V>, GridView<V>, Trackable<V>, ImportGrid<V>, ExportGrid<V>, TileGrid<V>
- Author:
- Nick Crum (ncrum)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.ActionGrid
ActionGrid.ActionKeys, ActionGrid.ActionPlacementsNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.ActionView
ActionView.ActionKeys, ActionView.ActionPlacementsNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.FetchGrid
FetchGrid.EndpointTypesNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.FilterableGrid
FilterableGrid.ActionKeys, FilterableGrid.EndpointTypes, FilterableGrid.FilterKeys, FilterableGrid.FilterParams, FilterableGrid.FilterPlacements, FilterableGrid.FilterTypesNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Grid
Grid.KeysNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Selectable
Selectable.ConfigureSelectable, Selectable.SelectableTypesNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.SortableGrid
SortableGrid.Sort -
Field Summary
Fields inherited from interface com.broadleafcommerce.metadata.dsl.core.CustomCssComponent
CSS_ATTRIBUTE -
Method Summary
Modifier and TypeMethodDescriptiondefault VaddCloneAction(CloneModalFormAction<?> action) Configures this grid with a row-level action that provides the ability to "clone" the entity.default VaddCreateAction(LinkAction<?> action) default VIndicates that this grid should only be rendered in application contexts, not tenants.default VapplicationOnly(boolean applicationOnly) Indicates that this grid should only be rendered in application contexts, not tenants.default VClears the restricted applications attribute, indicating that this grid can be rendered in all application contexts.default VConfigures this grid with a row-level action that provides the ability to "clone" the entity.default VcreateAction(UnaryOperator<LinkAction<?>> fn) default Vdefault VcreateLabel(String label) default VcreateLink(Link createLink) default VcreateLinkById(String componentId) default VcreateScope(String scope) default Optional<CloneModalFormAction<?>>Finds the clone action on this grid.default Optional<LinkAction<?>>default CloneModalFormAction<?>Returns the clone action on this grid.default LinkAction<?>default VClears the application-only attribute, indicating that this grid can be rendered in both tenant and application contexts.default VClears the tenant-only attribute, indicating that this grid can be rendered in both tenant and application contexts.default VrestrictedApplications(Iterable<String> applicationIds) Indicates that this grid should only be displayed when in specific application contexts.default VrestrictedApplications(String... applicationIds) Indicates that this grid should only be displayed when in specific application contexts.default VIndicates that this grid should only be rendered in tenant contexts, not applications.default VtenantOnly(boolean tenantOnly) Indicates that this grid should only be rendered in tenant contexts, not applications.Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.ActionGrid
addGridAction, addGridAction, addGridActionGroup, addRowAction, addRowAction, findGridAction, findRowAction, getGridAction, getRowAction, gridAction, removeGridAction, removeRowAction, rowActionMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.views.ActionView
addPrimaryAction, addPrimaryAction, addSecondaryAction, addSecondaryAction, findPrimaryAction, findSecondaryAction, getPrimaryAction, getSecondaryAction, primaryAction, primaryAction, secondaryAction, secondaryActionMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.Component
addAction, addAction, addComponent, addEndpoint, addEndpoint, addSimpleComponent, apply, attribute, augmentable, 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, getAugmentableFlag, 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, setAugmentable, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, typeMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.CustomCssComponent
addCssClass, addCssClass, addCssClass, clearCssClasses, getCssClasses, removeCssClass, removeCssClass, removeCssClassMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.ExportGrid
addExportGridAction, exportGridAction, removeExportGridActionMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.FetchGrid
displayRefresh, findReadEndpoint, getReadEndpoint, getReadEndpointType, narrowedPaging, narrowedPaging, numberedPaging, numberedPaging, readEndpoint, readEndpoint, readScope, readUrl, readUrl, unpagedMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Filterable
implicitFilter, implicitFilters, implicitFiltersMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.FilterableGrid
addAdvancedFilter, addInlineFilter, addInlineFilter, addQueryFilter, collapseFiltersByDefault, facetedSearch, fallbackEndpoint, fallbackEndpoint, fallbackScope, fallbackUrl, fallbackUrl, filterByLookup, filterByLookup, filterByQueryBuilder, filterByQueryBuilder, filterByQueryBuilder, filterByQueryBuilder, filterByQueryBuilder, filterByTextQuery, filterByTextQuery, filterByTextQuery, filterByTextQuery, filterByTextQuery, findAdvancedFilter, findFacetFilterAction, findFallbackEndpoint, findFilterByLookupFilterAction, findFilterByQueryBuilderAction, findFilterByTextQueryAction, findInlineFilter, findQueryFilter, getAdvancedFilter, getEndpointByType, getFallbackEndpoint, getFallbackEndpointType, getFilterByLookupFilterAction, getFilterByQueryBuilderAction, getFilterByTextQueryAction, getInlineFilter, getQueryFilter, isFacetedSearchEnabled, isUsingFacetedSearch, notFacetedSearch, notFilterByQueryBuilder, notFilterByQueryBuilder, notFilterByTextQuery, notFilterByTextQuery, notUseFacetedSearch, removeAdvancedFilter, removeInlineFilter, removeQueryFilter, useFacetedSearch, useFacetedSearch, usingFacetedSearchMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Grid
addColumn, addColumn, addColumn, addColumns, addRowMessage, addRowMessage, findColumn, findRowMessage, getColumn, getRowMessage, idKey, removeColumn, removeRowMessage, rowMessageMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.ImportGrid
addImportGridAction, importGridAction, importGridAction, removeImportGridActionMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Pollable
notPollable, pollable, pollable, pollable, pollableCollectionCondition, pollableCollectionConditions, pollableItemCondition, pollableItemConditions, pollableOptions, pollableOptionsMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Selectable
multiPageSelectable, multiPageSelectableWithExclusions, multipleSelectable, notSelectable, notSelectableWhenMutableOnly, selectable, selectable, selectable, selectableType, selectableWhenMutableOnly, selectableWhenMutableOnly, singleSelectableMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.SortableGrid
notSortable, notSortable, sortable, sortable, sortableWithDefault, sortableWithDefaultMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.TileGrid
addTileComponent, addTileComponent, configureTileComponents, defaultTiled, notDefaultTiled, notTiled, tileComponents, tiled, tiledMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.extension.Trackable
applicationTrackable, applicationTrackable, auditable, auditable, catalogTrackable, customerContextTrackable, notAuditable, notCatalogTrackable, notCustomerContextTrackable, notProfileTrackable, notSandboxTrackable, notSearchGroupTrackable, profileTrackable, sandboxTrackable, searchGroupTrackable
-
Method Details
-
addCreateAction
-
createAction
-
createLink
-
createLinkById
-
createLabel
-
createLabel
-
createScope
-
getCreateAction
-
findCreateAction
-
addCloneAction
Configures this grid with a row-level action that provides the ability to "clone" the entity. The use of this action will result in a modal form being provided with any fields configured on the action. This form is typically used so that a user has the opportunity to change up a limited set of properties on the cloned entity.- Parameters:
action- the clone action- Returns:
- this
-
cloneAction
Configures this grid with a row-level action that provides the ability to "clone" the entity. The use of this action will result in a modal form being provided with any fields configured on the action. This form is typically used so that a user has the opportunity to change up a limited set of properties on the cloned entity.- Parameters:
fn- a function that configures the action- Returns:
- this
-
getCloneAction
Returns the clone action on this grid.- Returns:
- the clone action, if it exists
-
findCloneAction
Finds the clone action on this grid.- Returns:
- an optional with the clone action, if it exists, or empty
-
tenantOnly
Indicates that this grid should only be rendered in tenant contexts, not applications.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
notTenantOnly
Clears the tenant-only attribute, indicating that this grid can be rendered in both tenant and application contexts.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
tenantOnly
Indicates that this grid should only be rendered in tenant contexts, not applications.- Parameters:
tenantOnly- iftrue, the grid will only be rendered in tenant contexts and not in application contexts.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
applicationOnly
Indicates that this grid should only be rendered in application contexts, not tenants.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
notApplicationOnly
Clears the application-only attribute, indicating that this grid can be rendered in both tenant and application contexts.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
applicationOnly
Indicates that this grid should only be rendered in application contexts, not tenants.- Parameters:
applicationOnly- iftrue, the grid will only be rendered in application contexts and not in tenant contexts.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
restrictedApplications
Indicates that this grid should only be displayed when in specific application contexts.- Parameters:
applicationIds- the application IDs that this grid should be restricted to.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
restrictedApplications
Indicates that this grid should only be displayed when in specific application contexts.- Parameters:
applicationIds- the application IDs that this grid should be restricted to.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-
clearRestrictedApplications
Clears the restricted applications attribute, indicating that this grid can be rendered in all application contexts.- Returns:
this- Since:
- Metadata 2.0.7, Release Train 2.1.5
-