Class JpaCatalogRef
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.jpa.tenant.domain.catalog.JpaCatalogRef
-
@Entity public class JpaCatalogRef extends Object
Reference structure for aJpaCatalog
to one or more parent catalogs.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description JpaCatalogRef()
JpaCatalogRef(JpaCatalog childCatalog, String parentCatalogId, String mutabilityType, Map<String,String> inclusionFilters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
JpaCatalog
getChildCatalog()
TheJpaCatalog
to which this parent is associatedString
getContextId()
Map<String,String>
getExclusionFilters()
Filters written in RSQL that further refine what items are excluded from inheritance from this referenced parent catalogMap<String,String>
getInclusionFilters()
Filters written in RSQL that further refine what items are included in inheritance from this referenced parent catalogString
getMutabilityType()
The editing capabilities for the records inherited from the parent.String
getParentCatalogId()
The soft reference to the parent catalog contextIdint
hashCode()
void
setChildCatalog(JpaCatalog childCatalog)
TheJpaCatalog
to which this parent is associatedvoid
setContextId(String contextId)
JpaCatalogRef
setExclusionFilters(Map<String,String> filters)
JpaCatalogRef
setInclusionFilters(Map<String,String> filters)
void
setMutabilityType(String mutabilityType)
The editing capabilities for the records inherited from the parent.void
setParentCatalogId(String parentCatalogId)
The soft reference to the parent catalog contextIdString
toString()
-
-
-
Method Detail
-
getInclusionFilters
public Map<String,String> 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
public JpaCatalogRef setInclusionFilters(Map<String,String> filters)
-
getExclusionFilters
public Map<String,String> 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
public JpaCatalogRef setExclusionFilters(Map<String,String> filters)
-
getContextId
public String getContextId()
-
getParentCatalogId
public String getParentCatalogId()
The soft reference to the parent catalog contextId
-
getChildCatalog
public JpaCatalog getChildCatalog()
TheJpaCatalog
to which this parent is associated
-
getMutabilityType
public String 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
-
setContextId
public void setContextId(String contextId)
-
setParentCatalogId
public void setParentCatalogId(String parentCatalogId)
The soft reference to the parent catalog contextId
-
setChildCatalog
public void setChildCatalog(JpaCatalog childCatalog)
TheJpaCatalog
to which this parent is associated
-
setMutabilityType
public void setMutabilityType(String mutabilityType)
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
-
canEqual
protected boolean canEqual(Object other)
-
-