Class CategorySearchFacetImpl
java.lang.Object
org.broadleafcommerce.core.search.domain.CategorySearchFacetImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<CategorySearchFacet>,CategorySearchFacet
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Categoryprotected Longprotected SearchFacetprotected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends CategorySearchFacet>
CreateResponse<G>booleanGets the associated categorygetId()Gets the internal idGets the associated search facetGets the priority of this search facet in relationship to other search facets in this categoryinthashCode()voidsetCategory(Category category) Sets the associated categoryvoidSets the internal idvoidsetSearchFacet(SearchFacet searchFacet) Sets the associated search facetvoidsetSequence(BigDecimal sequence) Sets the sequence of this search facet
-
Field Details
-
id
-
category
-
searchFacet
-
sequence
-
-
Constructor Details
-
CategorySearchFacetImpl
public CategorySearchFacetImpl()
-
-
Method Details
-
getId
Description copied from interface:CategorySearchFacetGets the internal id- Specified by:
getIdin interfaceCategorySearchFacet- Returns:
- the internal id
-
setId
Description copied from interface:CategorySearchFacetSets the internal id- Specified by:
setIdin interfaceCategorySearchFacet
-
getCategory
Description copied from interface:CategorySearchFacetGets the associated category- Specified by:
getCategoryin interfaceCategorySearchFacet- Returns:
- the associated category
-
setCategory
Description copied from interface:CategorySearchFacetSets the associated category- Specified by:
setCategoryin interfaceCategorySearchFacet
-
getSearchFacet
Description copied from interface:CategorySearchFacetGets the associated search facet- Specified by:
getSearchFacetin interfaceCategorySearchFacet- Returns:
- the associated search facet
-
setSearchFacet
Description copied from interface:CategorySearchFacetSets the associated search facet- Specified by:
setSearchFacetin interfaceCategorySearchFacet
-
getSequence
Description copied from interface:CategorySearchFacetGets the priority of this search facet in relationship to other search facets in this category- Specified by:
getSequencein interfaceCategorySearchFacet- Returns:
- the sequence of this search facet
-
setSequence
Description copied from interface:CategorySearchFacetSets the sequence of this search facet- Specified by:
setSequencein interfaceCategorySearchFacet- See Also:
-
#getPosition()
-
equals
-
hashCode
public int hashCode() -
createOrRetrieveCopyInstance
public <G extends CategorySearchFacet> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<CategorySearchFacet>- Throws:
CloneNotSupportedException
-