@Entity public class CustomFieldImpl extends org.broadleafcommerce.core.search.domain.FieldImpl implements CustomField, CustomFieldAdminPresentation
CustomFieldAdminPresentation.FieldOrder, CustomFieldAdminPresentation.GroupName, CustomFieldAdminPresentation.GroupOrder, CustomFieldAdminPresentation.TabName, CustomFieldAdminPresentation.TabOrderorg.broadleafcommerce.core.search.domain.FieldAdminPresentation.FieldOrder, org.broadleafcommerce.core.search.domain.FieldAdminPresentation.GroupName, org.broadleafcommerce.core.search.domain.FieldAdminPresentation.GroupOrder, org.broadleafcommerce.core.search.domain.FieldAdminPresentation.TabName, org.broadleafcommerce.core.search.domain.FieldAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected List<AllowedEnumValue> |
allowedEnumValues |
protected Boolean |
allowMultiValueSelect |
protected String |
attributeName
Deprecated.
use
FieldImpl.propertyName instead |
protected Boolean |
createNewGroup |
protected String |
customFieldTarget
Deprecated.
use
FieldImpl#entitytype instead |
protected String |
customFieldType |
protected Integer |
fieldOrder |
protected String |
groupName |
protected Boolean |
showFieldInRuleBuilder |
protected Boolean |
showFieldOnForm |
protected String |
tabName |
| Constructor and Description |
|---|
CustomFieldImpl() |
| 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.
|
Boolean |
getCreateNewGroup()
Whether or not a new FieldGroup should be created for the target EntityForm.
|
String |
getCustomFieldTarget()
Deprecated.
|
CustomFieldType |
getCustomFieldType()
The type for this field (e.g.
|
org.broadleafcommerce.core.search.domain.FieldEntity |
getEntityType() |
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 |
getPropertyName() |
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.
|
void |
setCreateNewGroup(Boolean createNewGroup)
Whether or not a new FieldGroup should be created for the target EntityForm.
|
void |
setCustomFieldTarget(String customFieldTarget)
Deprecated.
|
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 groupOrder)
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
|
createOrRetrieveCopyInstance, equals, getAbbreviation, getFriendlyName, getId, getMainEntityName, getOverrideGeneratedPropertyName, getQualifiedFieldName, getSearchConfigs, getTranslatable, setAbbreviation, setEntityType, setFriendlyName, setId, setOverrideGeneratedPropertyName, setPropertyName, setSearchConfigs, setTranslatableclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAbbreviation, getFriendlyName, getId, getOverrideGeneratedPropertyName, getQualifiedFieldName, getSearchConfigs, getTranslatable, setAbbreviation, setEntityType, setFriendlyName, setId, setOverrideGeneratedPropertyName, setPropertyName, setSearchConfigs, setTranslatable@Deprecated protected String customFieldTarget
FieldImpl#entitytype instead@Deprecated protected String attributeName
FieldImpl.propertyName insteadprotected String customFieldType
protected Boolean showFieldOnForm
protected Boolean showFieldInRuleBuilder
protected Boolean createNewGroup
protected String groupName
protected String tabName
protected Integer fieldOrder
protected List<AllowedEnumValue> allowedEnumValues
protected Boolean allowMultiValueSelect
@Deprecated public String getCustomFieldTarget()
CustomFieldgetCustomFieldTarget in interface CustomField@Deprecated public void setCustomFieldTarget(String customFieldTarget)
CustomFieldsetCustomFieldTarget in interface CustomFieldcustomFieldTarget - the fully qualified class name of the entitypublic void setEntityType(CustomFieldTargetType customFieldTargetType)
CustomFieldsetEntityType in interface CustomFieldpublic org.broadleafcommerce.core.search.domain.FieldEntity getEntityType()
getEntityType in interface org.broadleafcommerce.core.search.domain.FieldgetEntityType in class org.broadleafcommerce.core.search.domain.FieldImplpublic String getRawEntityType()
CustomFieldgetRawEntityType in interface CustomFieldpublic CustomFieldType getCustomFieldType()
CustomFieldgetCustomFieldType in interface CustomFieldpublic void setCustomFieldType(CustomFieldType customFieldType)
CustomFieldsetCustomFieldType in interface CustomFieldcustomFieldType - The type for this fieldpublic Integer getFieldOrder()
CustomFieldgetFieldOrder in interface CustomFieldpublic void setFieldOrder(Integer groupOrder)
CustomFieldsetFieldOrder in interface CustomFieldgroupOrder - the order of the field in the formpublic String getGroupName()
CustomFieldgetGroupName in interface CustomFieldpublic void setGroupName(String groupName)
CustomFieldsetGroupName in interface CustomFieldgroupName - The group in the target entity in which this field will reside.public String getTabName()
CustomFieldgetTabName in interface CustomFieldpublic void setTabName(String tabName)
CustomFieldsetTabName in interface CustomField@Deprecated public String getAttributeName()
CustomFieldgetAttributeName in interface CustomField@Deprecated public void setAttributeName(String attributeName)
CustomFieldsetAttributeName in interface CustomFieldattributeName - the attributeName for this fieldpublic String getPropertyName()
getPropertyName in interface org.broadleafcommerce.core.search.domain.FieldgetPropertyName in class org.broadleafcommerce.core.search.domain.FieldImplpublic Boolean getShowFieldInRuleBuilder()
CustomFieldgetShowFieldInRuleBuilder in interface CustomFieldpublic void setShowFieldInRuleBuilder(Boolean showFieldInRuleBuilder)
CustomFieldsetShowFieldInRuleBuilder in interface CustomFieldshowFieldInRuleBuilder - whether or not this field appears in the rule builderpublic Boolean getShowFieldOnForm()
CustomFieldgetShowFieldOnForm in interface CustomFieldpublic void setShowFieldOnForm(Boolean showFieldOnForm)
CustomFieldsetShowFieldOnForm in interface CustomFieldshowFieldOnForm - whether or not this field appears on the target entity formpublic Boolean getCreateNewGroup()
CustomFieldgetCreateNewGroup in interface CustomFieldpublic void setCreateNewGroup(Boolean createNewGroup)
CustomFieldsetCreateNewGroup in interface CustomFieldpublic List<AllowedEnumValue> getAllowedEnumValues()
CustomFieldgetAllowedEnumValues in interface CustomFieldpublic void setAllowedEnumValues(List<AllowedEnumValue> allowedEnumValues)
CustomFieldsetAllowedEnumValues in interface CustomFieldpublic Boolean getAllowMultiValueSelect()
CustomFieldgetAllowMultiValueSelect in interface CustomFieldpublic void setAllowMultiValueSelect(Boolean allowMultiValueSelect)
CustomFieldsetAllowMultiValueSelect in interface CustomFieldCopyright © 2020. All rights reserved.