Class IndexFieldImpl
java.lang.Object
org.broadleafcommerce.core.search.domain.IndexFieldImpl
- All Implemented Interfaces:
Serializable,AdminMainEntity,MultiTenantCloneable<IndexField>,IndexField,IndexFieldAdminPresentation
@Entity
public class IndexFieldImpl
extends Object
implements IndexField, Serializable, IndexFieldAdminPresentation, AdminMainEntity
- Author:
- Chad Harchar (charchar)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.broadleafcommerce.core.search.domain.IndexFieldAdminPresentation
IndexFieldAdminPresentation.FieldOrder, IndexFieldAdminPresentation.GroupName, IndexFieldAdminPresentation.GroupOrder, IndexFieldAdminPresentation.TabName, IndexFieldAdminPresentation.TabOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Fieldprotected List<IndexFieldType>protected Longprotected BooleanFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends IndexField>
CreateResponse<G>booleangetField()Gets the field for this search fieldGets the searchable field types for this search fieldgetId()Gets the id for this search fieldWhether or not the user should see results for this field when typing in search terms in the omnibox, or if this is just a field stored in the index (like margin or sorts)inthashCode()voidSets the field for this search fieldvoidsetFieldTypes(List<IndexFieldType> fieldTypes) Sets the searchable field types for this search fieldvoidSets the id for this search fieldvoidsetSearchable(Boolean searchable)
-
Field Details
-
id
-
searchable
-
field
-
fieldTypes
-
-
Constructor Details
-
IndexFieldImpl
public IndexFieldImpl()
-
-
Method Details
-
getId
Description copied from interface:IndexFieldGets the id for this search field- Specified by:
getIdin interfaceIndexField- Returns:
-
setId
Description copied from interface:IndexFieldSets the id for this search field- Specified by:
setIdin interfaceIndexField
-
getSearchable
Description copied from interface:IndexFieldWhether or not the user should see results for this field when typing in search terms in the omnibox, or if this is just a field stored in the index (like margin or sorts)- Specified by:
getSearchablein interfaceIndexField
-
setSearchable
- Specified by:
setSearchablein interfaceIndexField
-
getField
Description copied from interface:IndexFieldGets the field for this search field- Specified by:
getFieldin interfaceIndexField- Returns:
-
setField
Description copied from interface:IndexFieldSets the field for this search field- Specified by:
setFieldin interfaceIndexField
-
getFieldTypes
Description copied from interface:IndexFieldGets the searchable field types for this search field- Specified by:
getFieldTypesin interfaceIndexField- Returns:
-
setFieldTypes
Description copied from interface:IndexFieldSets the searchable field types for this search field- Specified by:
setFieldTypesin interfaceIndexField
-
createOrRetrieveCopyInstance
public <G extends IndexField> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<IndexField>- Throws:
CloneNotSupportedException
-
equals
-
hashCode
public int hashCode() -
getMainEntityName
- Specified by:
getMainEntityNamein interfaceAdminMainEntity
-