Class JpaTenantCatalogRef
java.lang.Object
com.broadleafcommerce.tenant.provider.jpa.domain.JpaTenantCatalogRef
- All Implemented Interfaces:
Serializable
Reference structure for a
JpaTenantCatalog to one or more parent catalogs.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTheJpaTenantCatalogto which this parent is associatedFilters written in RSQL that further refine what items are excluded from inheritance from this referenced parent catalogFilters written in RSQL that further refine what items are included in inheritance from this referenced parent cataloggetLevel()Non-persistent field used to track levels temporarily during tree structure calculation.The editing capabilities for the records inherited from the parent.getName()The soft reference to the parent catalog contextIdinthashCode()voidsetChildCatalog(JpaTenantCatalog childCatalog) TheJpaTenantCatalogto which this parent is associatedvoidsetContextId(String contextId) setExclusionFilters(Map<String, String> filters) setInclusionFilters(Map<String, String> filters) voidNon-persistent field used to track levels temporarily during tree structure calculation.voidsetMutabilityType(String mutabilityType) The editing capabilities for the records inherited from the parent.voidvoidsetParentCatalogId(String parentCatalogId) The soft reference to the parent catalog contextIdtoString()
-
Constructor Details
-
JpaTenantCatalogRef
public JpaTenantCatalogRef()
-
-
Method Details
-
getInclusionFilters
Filters written in RSQL that further refine what items are included in inheritance from this referenced parent catalog- Returns:
- filters defining inherited item inclusion
-
setInclusionFilters
-
getExclusionFilters
Filters written in RSQL that further refine what items are excluded from inheritance from this referenced parent catalog- Returns:
- filters defining inherited item exclusion
-
setExclusionFilters
-
getContextId
-
getName
-
getParentCatalogId
The soft reference to the parent catalog contextId -
getChildCatalog
TheJpaTenantCatalogto which this parent is associated -
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
-
getLevel
Non-persistent field used to track levels temporarily during tree structure calculation.- Returns:
- Non-persistent field used to track levels temporarily during tree structure calculation
-
setContextId
-
setName
-
setParentCatalogId
The soft reference to the parent catalog contextId -
setChildCatalog
TheJpaTenantCatalogto which this parent is associated -
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
-
setLevel
Non-persistent field used to track levels temporarily during tree structure calculation.- Parameters:
level- Non-persistent field used to track levels temporarily during tree structure calculation
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-