Class JpaTenantCatalogRef

java.lang.Object
com.broadleafcommerce.tenant.provider.jpa.domain.JpaTenantCatalogRef
All Implemented Interfaces:
Serializable

@Entity public class JpaTenantCatalogRef extends Object implements Serializable
Reference structure for a JpaTenantCatalog to one or more parent catalogs.
Author:
Jeff Fischer
See Also:
  • Constructor Details

    • JpaTenantCatalogRef

      public JpaTenantCatalogRef()
  • Method Details

    • 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 JpaTenantCatalogRef 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 JpaTenantCatalogRef setExclusionFilters(Map<String,String> filters)
    • getContextId

      public String getContextId()
    • getName

      public String getName()
    • getParentCatalogId

      public String getParentCatalogId()
      The soft reference to the parent catalog contextId
    • getChildCatalog

      public JpaTenantCatalog getChildCatalog()
      The JpaTenantCatalog to which this parent is associated
    • getMutabilityType

      public String getMutabilityType()
      The editing capabilities for the records inherited from the parent. See MutabilityType for more information.
      Returns:
      The editing capabilities for the records inherited from the parent
    • getLevel

      public Long 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

      public void setContextId(String contextId)
    • setName

      public void setName(String name)
    • setParentCatalogId

      public void setParentCatalogId(String parentCatalogId)
      The soft reference to the parent catalog contextId
    • setChildCatalog

      public void setChildCatalog(JpaTenantCatalog childCatalog)
      The JpaTenantCatalog to which this parent is associated
    • setMutabilityType

      public void setMutabilityType(String mutabilityType)
      The editing capabilities for the records inherited from the parent. See MutabilityType for more information.
      Parameters:
      mutabilityType - The editing capabilities for the records inherited from the parent
    • setLevel

      public void setLevel(Long level)
      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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object