Class CatalogRef
java.lang.Object
com.broadleafcommerce.tenant.domain.CatalogRef
Reference structure for a
Catalog to one or more parent catalogs.- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFilters that filter out any items coming from the parent catalog, keyed by the entity that it should apply to (e.g.getId()The contextId for the parent catalog.Filters that should always be applied to including the items from the parent catalog, keyed by the entity type the should apply to (e.g.The editing capabilities for the records inherited from the parent.getName()inthashCode()voidsetExclusionFilters(Map<String, String> exclusionFilters) Filters that filter out any items coming from the parent catalog, keyed by the entity that it should apply to (e.g.voidThe contextId for the parent catalog.voidsetInclusionFilters(Map<String, String> inclusionFilters) Filters that should always be applied to including the items from the parent catalog, keyed by the entity type the should apply to (e.g.voidsetMutabilityType(String mutabilityType) The editing capabilities for the records inherited from the parent.voidtoString()
-
Constructor Details
-
CatalogRef
public CatalogRef()
-
-
Method Details
-
getId
The contextId for the parent catalog.- Returns:
- The contextId for the parent catalog
-
getName
- See Also:
-
Catalog.name
-
getMutabilityType
The editing capabilities for the records inherited from the parent. SeeMutabilityTypefor more information.- Returns:
- The editing capabilities for the records inherited from the parent
-
getInclusionFilters
Filters that should always be applied to including the items from the parent catalog, keyed by the entity type the should apply to (e.g. "PRODUCT" or "CATEGORY"). The rule value for each entry should be a valid RSQL string. CreateCatalogFilterRulesMappingsto map the persistent entity to the key in the appropriate service. -
getExclusionFilters
Filters that filter out any items coming from the parent catalog, keyed by the entity that it should apply to (e.g."PRODUCT"or"CATEGORY"). The rule value for each entry should be a valid RSQL string. CreateCatalogFilterRulesMappingsto map the persistent entity to the key in the appropriate service. -
setId
The contextId for the parent catalog.- Parameters:
id- The contextId for the parent catalog
-
setName
- See Also:
-
Catalog.name
-
setMutabilityType
The editing capabilities for the records inherited from the parent. SeeMutabilityTypefor more information.- Parameters:
mutabilityType- The editing capabilities for the records inherited from the parent
-
setInclusionFilters
Filters that should always be applied to including the items from the parent catalog, keyed by the entity type the should apply to (e.g. "PRODUCT" or "CATEGORY"). The rule value for each entry should be a valid RSQL string. CreateCatalogFilterRulesMappingsto map the persistent entity to the key in the appropriate service. -
setExclusionFilters
Filters that filter out any items coming from the parent catalog, keyed by the entity that it should apply to (e.g."PRODUCT"or"CATEGORY"). The rule value for each entry should be a valid RSQL string. CreateCatalogFilterRulesMappingsto map the persistent entity to the key in the appropriate service. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-