Interface SelectTargetEntityGridView<V extends SelectTargetEntityGridView<V>>
- All Superinterfaces:
Comparable<V>,Component<V>,Copyable<V>,CustomCssComponent<V>,FetchGrid<V>,Filterable<V>,FilterableGrid<V>,Grid<V>,Selectable<V>,Serializable,SortableGrid<V>,Trackable<V>,View<V>
- All Known Implementing Classes:
DefaultSelectTargetEntityGridView
public interface SelectTargetEntityGridView<V extends SelectTargetEntityGridView<V>>
extends FetchGrid<V>, FilterableGrid<V>, SortableGrid<V>, Selectable<V>, View<V>, Trackable<V>
This grid is used to fetch and display the entities to export.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classstatic final classNested 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 VDeprecated.default VfilterTargetEntitiesField(UnaryOperator<QueryBuilderField<?>> fn, boolean passFilterStringAsParam) Adds the filter field to have an ability to filter the entities in the grid.Additional information that can be displayed from a clickable popup from a (?) or (!) icon displaying next to the componentgetHint()Displays as text next to the field with information about how a user should fill it out.default VhelpText(ExplanatoryMessage helpText) default Vdefault VhelpText(String helpText, ExplanatoryMessage.Type type) default Vhint(InternationalizedMessage hint) default Vdefault VpassFilterStringAsParam(boolean passFilterStringAsParam) Whether the filter string to be used in a request will be passed as a parameter or as part of the request body.default VAdds the endpoint to read the entities.default VselectCatalogFieldLabel(String label) Sets the label for the catalog selector field.default VselectCatalogFieldPlaceholder(String placeholder) Sets the placeholder for the catalog selector field.default VselectSandboxFieldLabel(String label) Sets the label for the sandbox selector field.default VselectSandboxFieldPlaceholder(String placeholder) Sets the placeholder for the sandbox selector field.voidsetHelpText(ExplanatoryMessage helpText) voidMethods inherited from interface java.lang.Comparable
compareToMethods 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, 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.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.Selectable
multiPageSelectable, multiPageSelectableWithExclusions, multipleSelectable, notSelectable, selectable, selectable, selectable, selectableType, 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.Trackable
applicationTrackable, applicationTrackable, auditable, auditable, catalogTrackable, notAuditable, notCatalogTrackable, notProfileTrackable, notSandboxTrackable, notSearchGroupTrackable, profileTrackable, sandboxTrackable, searchGroupTrackable
-
Method Details
-
getHelpText
ExplanatoryMessage getHelpText()Additional information that can be displayed from a clickable popup from a (?) or (!) icon displaying next to the component
This value is translatable and can be a key that maps into a message bundle
- Returns:
- the help text
-
getHint
InternationalizedMessage getHint()Displays as text next to the field with information about how a user should fill it out. This is always visible when rendering the field
This value is translatable and can be a key that maps into a message bundle
- Returns:
- the hint
-
setHelpText
-
setHint
-
helpText
-
helpText
-
helpText
-
hint
-
hint
-
readTargetEntitiesEndpoint
Adds the endpoint to read the entities.- Parameters:
fn- the function to customize the endpoint- Returns:
- this grid for further customization
-
filterTargetEntities
@Deprecated(since="2.0.3") default V filterTargetEntities(UnaryOperator<QueryBuilderFilterAction<?>> fn) Deprecated.since 2.0.3, in favor offilterTargetEntitiesField(UnaryOperator, boolean).Adds the filter action to have an ability to filter the entities in the grid.- Parameters:
fn- the function to customize the action- Returns:
- this grid for further customization
-
filterTargetEntitiesField
default V filterTargetEntitiesField(UnaryOperator<QueryBuilderField<?>> fn, boolean passFilterStringAsParam) Adds the filter field to have an ability to filter the entities in the grid.- Parameters:
fn- the function to customize the fieldpassFilterStringAsParam- the boolean to determine whether the filter string from the query builder should be passed as part of a request's parameters or in the request body- Returns:
- this grid for further customization
-
selectCatalogFieldLabel
Sets the label for the catalog selector field.- Parameters:
label- the message key for the catalog selector field label- Returns:
- this grid for further customization
-
selectCatalogFieldPlaceholder
Sets the placeholder for the catalog selector field.- Parameters:
placeholder- the message key for the catalog selector field placeholder- Returns:
- this grid for further customization
-
selectSandboxFieldLabel
Sets the label for the sandbox selector field.- Parameters:
label- the message key for the sandbox selector field label- Returns:
- this grid for further customization
-
selectSandboxFieldPlaceholder
Sets the placeholder for the sandbox selector field.- Parameters:
placeholder- the message key for the sandbox selector field placeholder- Returns:
- this grid for further customization
-
passFilterStringAsParam
Whether the filter string to be used in a request will be passed as a parameter or as part of the request body.- Parameters:
passFilterStringAsParam- whether to pass the filter as a parameter or in the request body- Returns:
- this grid for further customization
-
filterTargetEntitiesField(UnaryOperator, boolean).