Annotation Interface AdminPresentationMergeEntry
Represents a override value for a specific admin presentation property.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe type for this property override. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean[]
Convenience property for specifying a boolean array value override.boolean
Convenience property for specifying a boolean value override.double[]
Convenience property for specifying a double array value override.double
Convenience property for specifying a double value override.float[]
Convenience property for specifying a float array value override.float
Convenience property for specifying a float value override.int[]
Convenience property for specifying a int array value override.int
Convenience property for specifying a int value override.Property for overriding the map key configuration for a field annotated with theAdminPresentationMap
annotation.long[]
Convenience property for specifying a long array value override.long
Convenience property for specifying a long value override.Property for overriding the operationTypes for an advanced collection.Property for overriding the filter configuration for a field annotated with theAdminPresentationDataDrivenEnumeration
annotation.The string representation of the override value.Property for overriding the showIfFieldEquals annotation for a given field.String[]
Convenience property for specifying a string array value override.Property for overriding the validation configuration for a field annotated with theAdminPresentation
annotation.
-
Element Details
-
propertyType
String propertyTypeThe type for this property override. The types available are specific to the properties available in the various admin presentation annotations. SeePropertyType
for a comprehensive list of available values organized by admin presentation annotation type.- Returns:
- the property override type
- See Also:
-
-
-
overrideValue
String overrideValueThe string representation of the override value. Any primitive property can be specified as a string (int, boolean, enum). The backend override system will be responsible for converting the string representation back to the appropriate type for use by the admin. The type specific override value properties are provided for convenience (e.g. doubleOverrideValue()).- Returns:
- The string representation of the property value
- Default:
- ""
-
doubleOverrideValue
double doubleOverrideValueConvenience property for specifying a double value override. The target property must be of this type. This type can also be specified using overrideValue() and the backend will convert.- Returns:
- the property override value in the form of a double
- Default:
- 4.9E-324
-
floatOverrideValue
float floatOverrideValueConvenience property for specifying a float value override. The target property must be of this type. This type can also be specified using overrideValue() and the backend will convert.- Returns:
- the property override value in the form of a float
- Default:
- 1.4E-45f
-
booleanOverrideValue
boolean booleanOverrideValueConvenience property for specifying a boolean value override. The target property must be of this type. This type can also be specified using overrideValue() and the backend will convert.- Returns:
- the property override value in the form of a boolean
- Default:
- false
-
intOverrideValue
int intOverrideValueConvenience property for specifying a int value override. The target property must be of this type. This type can also be specified using overrideValue() and the backend will convert.- Returns:
- the property override value in the form of a int
- Default:
- -2147483648
-
longOverrideValue
long longOverrideValueConvenience property for specifying a long value override. The target property must be of this type. This type can also be specified using overrideValue() and the backend will convert.- Returns:
- the property override value in the form of a long
- Default:
- -9223372036854775808L
-
stringArrayOverrideValue
String[] stringArrayOverrideValueConvenience property for specifying a string array value override. The target property must be of this type.- Returns:
- the property override value in the form of a string array
- Default:
- {}
-
doubleArrayOverrideValue
double[] doubleArrayOverrideValueConvenience property for specifying a double array value override. The target property must be of this type.- Returns:
- the property override value in the form of a double array
- Default:
- {}
-
floatArrayOverrideValue
float[] floatArrayOverrideValueConvenience property for specifying a float array value override. The target property must be of this type.- Returns:
- the property override value in the form of a float array
- Default:
- {}
-
booleanArrayOverrideValue
boolean[] booleanArrayOverrideValueConvenience property for specifying a boolean array value override. The target property must be of this type.- Returns:
- the property override value in the form of a boolean array
- Default:
- {}
-
intArrayOverrideValue
int[] intArrayOverrideValueConvenience property for specifying a int array value override. The target property must be of this type.- Returns:
- the property override value in the form of a int array
- Default:
- {}
-
longArrayOverrideValue
long[] longArrayOverrideValueConvenience property for specifying a long array value override. The target property must be of this type.- Returns:
- the property override value in the form of a long array
- Default:
- {}
-
validationConfigurations
ValidationConfiguration[] validationConfigurationsProperty for overriding the validation configuration for a field annotated with theAdminPresentation
annotation.- Returns:
- the validation config override
- Default:
- {}
-
operationTypes
AdminPresentationOperationTypes operationTypesProperty for overriding the operationTypes for an advanced collection. SeeAdminPresentationCollection
,AdminPresentationAdornedTargetCollection
andAdminPresentationMap
for default values for each type.- Returns:
- the operationType override
- Default:
- @org.broadleafcommerce.common.presentation.AdminPresentationOperationTypes(addType=BASIC, fetchType=BASIC, inspectType=BASIC, removeType=BASIC, updateType=BASIC)
-
optionFilterParams
OptionFilterParam[] optionFilterParamsProperty for overriding the filter configuration for a field annotated with theAdminPresentationDataDrivenEnumeration
annotation.- Returns:
- the option filter configuration
- Default:
- {}
-
keys
AdminPresentationMapKey[] keysProperty for overriding the map key configuration for a field annotated with theAdminPresentationMap
annotation.- Returns:
- the map key configuration
- Default:
- {}
-
showIfFieldEquals
FieldValueConfiguration[] showIfFieldEqualsProperty for overriding the showIfFieldEquals annotation for a given field.FieldValueConfiguration
- Returns:
- the field value configurations
- Default:
- {}
-