public interface CustomField extends org.broadleafcommerce.core.search.domain.Field, Serializable
| Modifier and Type | Method and Description |
|---|---|
List<AllowedEnumValue> |
getAllowedEnumValues()
Returns the list of allowed values for this custom field if it is an ENUMERATION type.
|
Boolean |
getAllowMultiValueSelect()
Get whether multiple values are allowed to be selected for this enum CustomField
|
String |
getAttributeName()
Deprecated.
use getPropertyName()
|
Boolean |
getCreateNewGroup()
Whether or not a new FieldGroup should be created for the target EntityForm.
|
String |
getCustomFieldTarget()
Deprecated.
use getEntityType()
|
CustomFieldType |
getCustomFieldType()
The type for this field (e.g.
|
Integer |
getFieldOrder()
Optional - The order for this field in the form
|
String |
getGroupName()
Optional - The group in the target entity in which this field will reside.
|
String |
getRawEntityType()
Retrieve the raw, fully-qualified classname for the entity type targeted in this custom field
|
Boolean |
getShowFieldInRuleBuilder()
Whether or not this field is available to rule builders based on the target entity.
|
Boolean |
getShowFieldOnForm()
Whether or not this field is visible on the target entity form.
|
String |
getTabName()
Optional - The tab in the target entity in which this field will reside
|
void |
setAllowedEnumValues(List<AllowedEnumValue> allowedEnumValues)
Sets the list of allowed values for this custom field if it is an ENUMERATION type.
|
void |
setAllowMultiValueSelect(Boolean allowMultiValueSelect)
Set whether multiple values are allowed to be selected for this enum CustomField
|
void |
setAttributeName(String attributeName)
Deprecated.
use setPropertyName()
|
void |
setCreateNewGroup(Boolean createNewGroup)
Whether or not a new FieldGroup should be created for the target EntityForm.
|
void |
setCustomFieldTarget(String customFieldTarget)
Deprecated.
use setEntityType()
|
void |
setCustomFieldType(CustomFieldType customFieldType)
The type for this field (e.g.
|
void |
setEntityType(CustomFieldTargetType customFieldTargetType)
Set the value that gets saved to BLC_FIELD.ENTITY_TYPE.
|
void |
setFieldOrder(Integer fieldOrder)
Optional - the order for this field in the form
|
void |
setGroupName(String groupName)
Optional - The group in the target entity in which this field will reside.
|
void |
setShowFieldInRuleBuilder(Boolean showFieldInRuleBuilder)
Whether or not this field is available to rule builders based on the target entity.
|
void |
setShowFieldOnForm(Boolean showFieldOnForm)
Whether or not this field is visible on the target entity form.
|
void |
setTabName(String tabName)
Optional - The tab in the target entity in which this field will reside
|
getAbbreviation, getEntityType, getFriendlyName, getId, getOverrideGeneratedPropertyName, getPropertyName, getQualifiedFieldName, getSearchConfigs, getTranslatable, setAbbreviation, setEntityType, setFriendlyName, setId, setOverrideGeneratedPropertyName, setPropertyName, setSearchConfigs, setTranslatable@Deprecated String getCustomFieldTarget()
@Deprecated void setCustomFieldTarget(String customFieldTarget)
customFieldTarget - the fully qualified class name of the entityCustomFieldType getCustomFieldType()
void setCustomFieldType(CustomFieldType customFieldType)
customFieldType - The type for this fieldInteger getFieldOrder()
void setFieldOrder(Integer fieldOrder)
fieldOrder - the order of the field in the formString getGroupName()
void setGroupName(String groupName)
groupName - The group in the target entity in which this field will reside.String getTabName()
void setTabName(String tabName)
tabName - @Deprecated String getAttributeName()
@Deprecated void setAttributeName(String attributeName)
attributeName - the attributeName for this fieldBoolean getShowFieldInRuleBuilder()
void setShowFieldInRuleBuilder(Boolean showFieldInRuleBuilder)
showFieldInRuleBuilder - whether or not this field appears in the rule builderBoolean getShowFieldOnForm()
void setShowFieldOnForm(Boolean showFieldOnForm)
showFieldOnForm - whether or not this field appears on the target entity formBoolean getCreateNewGroup()
void setCreateNewGroup(Boolean createNewGroup)
createNewGroup - List<AllowedEnumValue> getAllowedEnumValues()
void setAllowedEnumValues(List<AllowedEnumValue> allowedEnumValues)
allowedEnumValues - void setEntityType(CustomFieldTargetType customFieldTargetType)
customFieldTargetType - Boolean getAllowMultiValueSelect()
void setAllowMultiValueSelect(Boolean allowMultiValueSelect)
allowMultiValueSelect - String getRawEntityType()
Copyright © 2020. All rights reserved.