Class FieldAugmentationPayload
java.lang.Object
com.broadleafcommerce.metadata.core.payload.ComponentAugmentationPayload
com.broadleafcommerce.metadata.core.payload.FieldAugmentationPayload
Contains the base information about the augmentation for the fields.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()This is only used for fields that use SpEL expressions since they are evaluated in memory against attribute maps.voidsetDefaultValue(Object defaultValue) voidvoidvoidsetReadOnly(Boolean readOnly) voidsetRequired(Boolean required) voidsetShowInQueryBuilder(Boolean showInQueryBuilder) This is only used for fields that use SpEL expressions since they are evaluated in memory against attribute maps.voidsetValidationSchema(ValidationSchemaAugmentationPayload validationSchema) Methods inherited from class com.broadleafcommerce.metadata.core.payload.ComponentAugmentationPayload
getAttributes, getAugmentationKey, getClassifier, getId, getLabel, getOrder, getTranslatable, getType, setAttributes, setAugmentationKey, setClassifier, setId, setLabel, setOrder, setTranslatable, setType
-
Constructor Details
-
FieldAugmentationPayload
public FieldAugmentationPayload()
-
-
Method Details
-
getName
-
getDefaultValue
-
getHidden
-
getRequired
-
getReadOnly
-
getShowInQueryBuilder
This is only used for fields that use SpEL expressions since they are evaluated in memory against attribute maps. This will not work for Query Builders that build RSQL criteria since it must be evaluated in the database. -
getValidationSchema
-
setName
-
setDefaultValue
-
setHidden
-
setRequired
-
setReadOnly
-
setShowInQueryBuilder
This is only used for fields that use SpEL expressions since they are evaluated in memory against attribute maps. This will not work for Query Builders that build RSQL criteria since it must be evaluated in the database. -
setValidationSchema
-