| Public Methods |
|
static
void
|
addCustomFieldToList(Map<String, CustomFieldRef> customFields, CustomizationFieldType rec, String internalId, String label, String scriptId)
|
|
static
boolean
|
appliesToEntity(RecordType type, ItemCustomField field)
|
|
static
boolean
|
appliesToEntity(RecordType type, TransactionBodyCustomField field)
|
|
static
boolean
|
appliesToEntity(RecordType type, EntityCustomField field)
|
|
static
boolean
|
appliesToEntity(RecordType type, CrmCustomField field)
|
|
static
boolean
|
appliesToEntity(RecordType type, ItemOptionCustomField field)
|
|
static
boolean
|
appliesToEntity(RecordType type, TransactionColumnCustomField field)
|
|
static
void
|
formatCustomFieldMap(String separator, CustomFieldList list, Map<String, Object> pojo)
|
|
static
CustomFieldList
|
fromMap(Map<String, Object> customFields, String separator)
In order to show meta-data correctly, the customFieldList is being
displayed as a MAP of string Object, there the values are instances of
the custom fields type.
|
|
static
CustomizationRef
|
getCustomizationRef(String metaDataKey, String separator)
|
|
static
DataType
|
getDataType(CustomFieldRef ref)
|
|
static
Class<?>
|
getFromCustomizationFieldClass(CustomizationFieldType type)
|
|
static
String
|
getMetadataFieldKey(String label, CustomFieldRef ref, String separator)
|
|
static
CustomFieldRef
|
getMetadataFieldRef(String key, String separator, Object value)
|
|
static
String
|
getMetadataKey(CustomizationRef customField, String separator)
Generate a custom key that identifies the custom records.
|
|
static
CustomRecord
|
getRecordRef(String metaDataKey, String separator)
|
|
static
boolean
|
needsToConvertCustomFieldListField(Map<String, Object> attributes)
Check that the map has a field named customFieldList and that it is a Map
that has a CustomFieldRef object or a Map
|
|
static
void
|
updateCustomFieldMapToList(Map<String, Object> attributes, String separator)
This method checks if there is a custom field Map used to represent the
custom field List and updates the content of the map by creating a custom
field list object and overriding the object
|