| Modifier and Type | Optional Element and Description | 
|---|---|
| String | addFriendlyNameOptional - field name will be used if not specified | 
| String | currencyCodeFieldOptional - If you have FieldType set to SupportedFieldType.MONEY,      *
 then you can specify a money currency property field. | 
| String[] | customCriteriaOptional - only required if you need to specially handle crud operations for this
 specific collection on the server | 
| boolean | deleteEntityUponRemoveOptional - only required if the value class is a
 JPA managed type and the persisted entity should
 be deleted upon removal from this map | 
| boolean | excludedOptional - fields are not excluded by default | 
| boolean | forceFreeFormKeysOptional - only required when you want to allow the user to create his/her own
 key value, rather than select from a pre-defined list. | 
| String | friendlyNameOptional - field name will be used if not specified | 
| String | groupUsed to map the collection to a group defined in AdminPresentationClass using AdminGroupPresentation. | 
| UnspecifiedBooleanType | isSimpleValueOptional - only required if the value type cannot be derived from the map
 declaration in the JPA managed entity and the value type is complex (JPA managed entity) | 
| Class<?> | keyClassOptional - only required if the type for the key of this map
 is other than java.lang.String, or if the map is not a generic
 type from which the key type can be derived | 
| String | keyPropertyFriendlyNameOptional - only required if the key field title for this
 map should be translated to another lang, or should be
 something other than the constant "Key" | 
| AdminPresentationMapKey[] | keysOptional - only required when the user should select from a list of pre-defined
 keys when adding/editing this map. | 
| boolean | lazyFetchOptional - fields are eagerly fetched by default | 
| boolean | manualFetchOptional - fields are eagerly fetched by default | 
| String | manyToFieldOptional - only required with a complex value class that has a bi-directional
 association back to the parent class containing the map. | 
| Class<?> | mapKeyOptionEntityClassOptional - only required when the user should select from a list of database
 persisted values for keys when adding/editing this map. | 
| String | mapKeyOptionEntityDisplayFieldOptional - only required when the user should select from a list of database
 persisted values for keys when adding/editing this map. | 
| String | mapKeyOptionEntityValueFieldOptional - only required when the user should select from a list of database
 persisted values for keys when adding/editing this map. | 
| String | mapKeyValuePropertyOptional - only required if you wish to specify a key different from the one on the
  MapKeyannotation for the same field. | 
| String | mediaFieldOptional - only required if the value type for the map is complex (JPA managed) and one of the fields
 of the complex value provides a URL value that points to a resolvable image url. | 
| AdminPresentationOperationTypes | operationTypesOptional - only required if a special operation type is required for a CRUD operation. | 
| int | orderOptional - only required if you want to specify ordering for this field | 
| boolean | readOnlyOptional - only required if you want to make the field immutable
 Explicityly specify whether or not this field is mutable. | 
| String | securityLevelOptional - only required if you wish to apply security to this field | 
| FieldValueConfiguration[] | showIfFieldEqualsOptional - only required if you want hide the field based on the supplied field's value | 
| String | showIfPropertyOptional - propertyName , only required if you want hide the field based on this property's value | 
| String | tabDeprecated.  | 
| int | tabOrderDeprecated.  | 
| String | toOneParentPropertyOptional - if the intended map value is actually buried inside of a modelled join entity, specify the
 the path to that parent here. | 
| String | toOneTargetPropertyOptional - if the intended map value is actually buried inside of a modelled join entity, specify the
 the path to that value here. | 
| boolean | useServerSideInspectionCacheOptional - only required if you want to make the field ignore caching | 
| Class<?> | valueClassOptional - only required if the type for the value of this map
 is other than java.lang.String, or if the map is not a generic
 type from which the value type can be derived, or if there is
 not a @ManyToMany annotation used from which a targetEntity
 can be inferred. | 
| String | valuePropertyFriendlyNameOptional - only required if the value property for this map
 is simple (Not JPA managed - e.g. | 
public abstract String friendlyName
Optional - field name will be used if not specified
The friendly name to present to a user for this field in a GUI. If supporting i18N, the friendly name may be a key to retrieve a localized friendly name using the GWT support for i18N.
public abstract String addFriendlyName
Optional - field name will be used if not specified
The add friendly name to present to a user for this field in the add GUI. If supporting i18N, the friendly name may be a key to retrieve a localized friendly name using the GWT support for i18N.
public abstract String securityLevel
Optional - only required if you wish to apply security to this field
If a security level is specified, it is registered with the SecurityManager. The SecurityManager checks the permission of the current user to determine if this field should be disabled based on the specified level.
public abstract boolean excluded
Optional - fields are not excluded by default
Specify if this field should be excluded from inclusion in the admin presentation layer
public abstract boolean readOnly
public abstract boolean useServerSideInspectionCache
Optional - only required if you want to make the field ignore caching
Explicitly specify whether or not this field will use server-side caching during inspection
public abstract int order
Optional - only required if you want to specify ordering for this field
The order in which this field will appear in a GUI relative to other collections from the same class
@Deprecated public abstract String tab
@Deprecated public abstract int tabOrder
public abstract Class<?> keyClass
Optional - only required if the type for the key of this map is other than java.lang.String, or if the map is not a generic type from which the key type can be derived
The type for the key of this map
public abstract String mapKeyValueProperty
Optional - only required if you wish to specify a key different from the one on the
 MapKey annotation for the same field.
public abstract String keyPropertyFriendlyName
Optional - only required if the key field title for this map should be translated to another lang, or should be something other than the constant "Key"
The friendly name to present to a user for this key field title in a GUI. If supporting i18N, the friendly name may be a key to retrieve a localized friendly name using the GWT support for i18N.
public abstract Class<?> valueClass
Optional - only required if the type for the value of this map is other than java.lang.String, or if the map is not a generic type from which the value type can be derived, or if there is not a @ManyToMany annotation used from which a targetEntity can be inferred.
The type for the value of this map
public abstract boolean deleteEntityUponRemove
Optional - only required if the value class is a JPA managed type and the persisted entity should be deleted upon removal from this map
Whether or not a complex (JPA managed) value should be deleted upon removal from this map
public abstract String valuePropertyFriendlyName
Optional - only required if the value property for this map is simple (Not JPA managed - e.g. java.lang.String) and if the value field title for this map should be translated to another lang, or should be something other than the constant "Value"
The friendly name to present to a user for this value field title in a GUI. If supporting i18N, the friendly name may be a key to retrieve a localized friendly name using the GWT support for i18N.
public abstract UnspecifiedBooleanType isSimpleValue
Optional - only required if the value type cannot be derived from the map declaration in the JPA managed entity and the value type is complex (JPA managed entity)
Whether or not the value type for the map is complex (JPA managed entity), rather than an simple type (e.g. java.lang.String). This can usually be inferred from the parameterized type of the map (if available), or from the targetEntity property of a @ManyToMany annotation for the map (if available).
public abstract String toOneTargetProperty
Optional - if the intended map value is actually buried inside of a modelled join entity, specify the the path to that value here. For example, SkuImpl.skuMedia uses SkuMediaXrefImpl, but the intended value is Media, so the toOneTargetProperty annotation param is "media"
public abstract String toOneParentProperty
Optional - if the intended map value is actually buried inside of a modelled join entity, specify the the path to that parent here. For example, SkuImpl.skuMedia uses SkuMediaXrefImpl, and the parent reference inside SkuMediaXrefImpl is to Sku, so the toOneParentProperty annotation param is "sku"
public abstract String mediaField
Optional - only required if the value type for the map is complex (JPA managed) and one of the fields of the complex value provides a URL value that points to a resolvable image url.
The field name of complex value that provides an image url
public abstract AdminPresentationMapKey[] keys
Optional - only required when the user should select from a list of pre-defined keys when adding/editing this map. Either this value, or the mapKeyOptionEntityClass should be user - not both.
Specify the keys available for the user to select from
public abstract boolean forceFreeFormKeys
Optional - only required when you want to allow the user to create his/her own key value, rather than select from a pre-defined list. The default is to force selection from a pre-defined list.
public abstract String manyToField
Optional - only required with a complex value class that has a bi-directional association back to the parent class containing the map. This can generally be inferred by the system from a "mappedBy" attribute for maps of a OneToMany type. For map configurations without a mappedBy value, or if you wish to explicitly set a bi-directional association field on the complex value, use this property.
public abstract Class<?> mapKeyOptionEntityClass
Optional - only required when the user should select from a list of database persisted values for keys when adding/editing this map. Either this value, or the keys parameter should be user - not both
Specify the entity class that represents the table in the database that contains the key values for this map
public abstract String mapKeyOptionEntityDisplayField
Optional - only required when the user should select from a list of database persisted values for keys when adding/editing this map.
Specify the field in the option entity class that contains the value that will be shown to the user. This can be the same field as the value field. This option does not support i18n out-of-the-box.
public abstract String mapKeyOptionEntityValueField
Optional - only required when the user should select from a list of database persisted values for keys when adding/editing this map.
Specify the field in the option entity class that contains the value that will actually be saved for the selected key. This can be the same field as the display field.
public abstract String[] customCriteria
Optional - only required if you need to specially handle crud operations for this specific collection on the server
Custom string values that will be passed to the server during CRUD operations on this collection. These criteria values can be detected in a custom persistence handler (@CustomPersistenceHandler) in order to engage special handling through custom server side code for this collection.
public abstract AdminPresentationOperationTypes operationTypes
Optional - only required if a special operation type is required for a CRUD operation. This setting is not normally changed and is an advanced setting
The operation type for a CRUD operation
public abstract String showIfProperty
Optional - propertyName , only required if you want hide the field based on this property's value
If the property is defined and found to be set to false, in the AppConfiguraionService, then this field will be excluded in the admin presentation layer
public abstract FieldValueConfiguration[] showIfFieldEquals
Optional - only required if you want hide the field based on the supplied field's value
If the property is defined and found to be equal to one of the values provided then this field will be excluded in the admin presentation layer
public abstract String currencyCodeField
public abstract boolean lazyFetch
Optional - fields are eagerly fetched by default
Specify true if this field should be lazily fetched
public abstract boolean manualFetch
Optional - fields are eagerly fetched by default
Specify true if this field should be fetched after specific input from the user
public abstract String group
Copyright © 2020. All rights reserved.