Interface BuilderFieldSource<D extends BuilderFieldSource<D>>
- All Superinterfaces:
Comparable<D>
,Component<D>
,Copyable<D>
,Serializable
- All Known Subinterfaces:
QueryBuilderField<F>
,RuleBuilderField<F>
- All Known Implementing Classes:
DefaultQueryBuilderField
,DefaultRuleBuilderField
An interface implemented by components that intend to support the inclusion of augmented custom
fields.
- Author:
- Jon Fleschler (jfleschler)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault D
addAugmentationFieldSource
(String entityContainerKey) The container key used to retrieve augmentations.default D
addAugmentationFieldSource
(String entityContainerKey, boolean stripAttributes) The container key used to retrieve augmentations.default D
addAugmentationFieldSource
(String entityContainerKey, String fieldNameWrapper) The container key used to retrieve augmentations.default D
addAugmentationFieldSource
(String entityContainerKey, String fieldNameWrapper, boolean stripAttributes) The container key used to retrieve augmentations.default D
Set to allow the builder field to be augmented with custom fields.default D
allowCustomFields
(boolean allow) Set whether to allow the builder field to be augmented with custom fields.default String
default boolean
Whether builder field is allowed to be augmented with custom fields.default boolean
default D
Set to not allow the builder field to be augmented with custom fields.default String
processFieldName
(String fieldName) 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
-
Field Details
-
FIELD_NAME_REGEX
- See Also:
-
FIELD_NAME_PATTERN
-
-
Method Details
-
addAugmentationFieldSource
The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.- Parameters:
entityContainerKey
- the augmentation key property- Returns:
- this
-
addAugmentationFieldSource
The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.- Parameters:
entityContainerKey
- the augmentation key property- Returns:
- this
-
addAugmentationFieldSource
The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.- Parameters:
entityContainerKey
- the augmentation key propertyfieldNameWrapper
- the string format to wrap the field name- Returns:
- this
-
addAugmentationFieldSource
default D addAugmentationFieldSource(String entityContainerKey, String fieldNameWrapper, boolean stripAttributes) The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.- Parameters:
entityContainerKey
- the augmentation key propertyfieldNameWrapper
- the string format to wrap the field name- Returns:
- this
-
getContainerKey
-
processFieldName
-
isStripAttributes
default boolean isStripAttributes() -
allowCustomFields
Set to allow the builder field to be augmented with custom fields.- Returns:
this
.- Since:
- Metadata 2.0.6
-
allowCustomFields
Set whether to allow the builder field to be augmented with custom fields.- Parameters:
allow
- The value to set.- Returns:
this
.- Since:
- Metadata 2.0.6
-
notAllowCustomFields
Set to not allow the builder field to be augmented with custom fields.- Returns:
this
.- Since:
- Metadata 2.0.6
-
isAllowCustomFields
default boolean isAllowCustomFields()Whether builder field is allowed to be augmented with custom fields.- Returns:
this
.- Since:
- Metadata 2.0.6
-