Class InheritanceMember
java.lang.Object
com.broadleafcommerce.data.tracking.core.tenant.domain.InheritanceMember
A catalog node in the hierarchy
- Author:
- Jeff Fischer
-
Constructor Summary
ConstructorsConstructorDescriptionInheritanceMember(String catalogId, String mutabilityType, int level) InheritanceMember(String catalogId, String mutabilityType, int level, Map<String, String> inclusionFilters, Map<String, String> exclusionFilters) InheritanceMember(String catalogId, String mutabilityType, int level, Map<String, String> inclusionFilters, Map<String, String> exclusionFilters, boolean archived) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe contextId for theCataloginstanceintgetLevel()The overall sorting level of the catalog in the hierarchy in this contextThe mutability of the catalog in this contextinthashCode()booleanIndicates this catalog is archived.voidsetArchived(boolean archived) Indicates this catalog is archived.voidsetExclusionFilters(Map<String, String> exclusionFilters) voidsetInclusionFilters(Map<String, String> inclusionFilters) toString()
-
Constructor Details
-
InheritanceMember
-
InheritanceMember
-
InheritanceMember
-
-
Method Details
-
getCatalogId
The contextId for theCataloginstance- Returns:
- The contextId for the
Cataloginstance
-
getMutabilityType
The mutability of the catalog in this context- Returns:
- The mutability of the catalog in this context
-
getLevel
public int getLevel()The overall sorting level of the catalog in the hierarchy in this context- Returns:
- The overall sorting level of the catalog in the hierarchy in this context
-
getInclusionFilters
-
getExclusionFilters
-
isArchived
public boolean isArchived()Indicates this catalog is archived. Not typically useful, but if catalog hierarchies are in a bad state (e.g. a parent was deleted while still having children), this can be used to filter out entities from archived catalogs. -
setInclusionFilters
-
setExclusionFilters
-
setArchived
public void setArchived(boolean archived) Indicates this catalog is archived. Not typically useful, but if catalog hierarchies are in a bad state (e.g. a parent was deleted while still having children), this can be used to filter out entities from archived catalogs. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-