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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Filters 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()
int
hashCode()
void
setExclusionFilters
(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.void
The contextId for the parent catalog.void
setInclusionFilters
(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.void
setMutabilityType
(String mutabilityType) The editing capabilities for the records inherited from the parent.void
toString()
-
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. SeeMutabilityType
for 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. CreateCatalogFilterRulesMappings
to 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. CreateCatalogFilterRulesMappings
to 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. SeeMutabilityType
for 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. CreateCatalogFilterRulesMappings
to 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. CreateCatalogFilterRulesMappings
to map the persistent entity to the key in the appropriate service. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-