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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
TheJpaTenantCatalog
to 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 contextIdint
hashCode()
void
setChildCatalog
(JpaTenantCatalog childCatalog) TheJpaTenantCatalog
to which this parent is associatedvoid
setContextId
(String contextId) setExclusionFilters
(Map<String, String> filters) setInclusionFilters
(Map<String, String> filters) void
Non-persistent field used to track levels temporarily during tree structure calculation.void
setMutabilityType
(String mutabilityType) The editing capabilities for the records inherited from the parent.void
void
setParentCatalogId
(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
TheJpaTenantCatalog
to which this parent is associated -
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
-
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
TheJpaTenantCatalog
to which this parent is associated -
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
-
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()
-