public interface CustomFieldDao
CustomField| Modifier and Type | Method and Description |
|---|---|
List<AllowedEnumValue> |
readAllowedValuesForCustomField(CustomField customField)
Returns the allowedEnumValues for the given custom field
|
Boolean |
readIsMultiValueByPropertyName(String propertyName,
String targetEntityName)
Returns whether the associated CustomField is marked as allowMultiValueSelect
|
List<CustomField> |
retrieveAll()
Returns all known
CustomFields |
List<CustomField> |
retrieveByFriendlyName(String friendlyName,
String targetEntityName)
Get a list of custom fields for the given friendly name and target entity
|
CustomField |
retrieveById(Long id)
Get the custom field via its primary key value
|
List<CustomField> |
retrieveByName(String attributeName,
String friendlyName,
String targetEntityName)
Get a list of custom fields via the attribute name.
|
List<CustomField> |
retrieveByPropertyName(String propertyName,
String targetEntityName)
Get a list of custom fields for the given property name and target entity
|
List<CustomField> |
retrieveByTargetEntityName(String targetEntityName)
Get a list of custom fields via the target entity name.
|
CustomField |
save(CustomField customField)
Persists the given customField and returns the persisted version
|
CustomField retrieveById(Long id)
id - the primary key valueList<CustomField> retrieveByTargetEntityName(String targetEntityName)
targetEntityName - the entity type that contains the attribute map for the custom fields.List<CustomField> retrieveByName(String attributeName, String friendlyName, String targetEntityName)
attributeName - the attribute name for a custom fieldfriendlyName - the user visible name for the fieldtargetEntityName - the entity type that contains the attribute map for the custom fields.List<CustomField> retrieveByFriendlyName(String friendlyName, String targetEntityName)
friendlyName - the friendly name of the custom field to retrievetargetEntityName - the target entity for the custom field to retrieveList<CustomField> retrieveByPropertyName(String propertyName, String targetEntityName)
propertyName - the property name of the custom field to retreivetargetEntityName - the target entity for the custom field to retrieveList<CustomField> retrieveAll()
CustomFieldsCustomFieldsCustomField save(CustomField customField)
customField - List<AllowedEnumValue> readAllowedValuesForCustomField(CustomField customField)
customField - Copyright © 2020. All rights reserved.