Class ApplicationCatalogRef
java.lang.Object
com.broadleafcommerce.tenant.domain.ApplicationCatalogRef
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApplicationCatalog
Reference structure for a
Application to its individually assigned Catalog
instances. This includes information related to the mutability and mode of propagation of the
entities inherited from the catalog.- Author:
- Jeff Fischer
- See Also:
-
ApplicationCatalogRef- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThestatusof thecatalog'svisibility for this assignment.getId()The context id of theCataloginstance.The context id of the hiddenCatalogthat is owned by this application and receives any catalog overrides enacted on behalf of this application for the catalog referenced byid.The modifiability of the entities inherited from the catalogs.getName()The parent nodes for this catalog, including additional mutability information.getType()The type of the related catalog.inthashCode()booleanDetermines whether the admin users of the relatedApplicationcan select the catalog as a destination for entity add operations.booleanDetermines whether the catalog is visible to the admin users of the relatedApplicationas being assigned.voidsetCatalogStatus(String catalogStatus) Thestatusof thecatalog'svisibility for this assignment.voidsetExcludeFromAdd(boolean excludeFromAdd) Determines whether the admin users of the relatedApplicationcan select the catalog as a destination for entity add operations.voidThe context id of theCataloginstance.voidsetImplicit(String implicit) The context id of the hiddenCatalogthat is owned by this application and receives any catalog overrides enacted on behalf of this application for the catalog referenced byid.voidsetMutabilityType(String mutabilityType) The modifiability of the entities inherited from the catalogs.voidvoidsetParents(List<CatalogRef> parents) The parent nodes for this catalog, including additional mutability information.voidThe type of the related catalog.voidsetVisibleAsAssigned(boolean visibleAsAssigned) Determines whether the catalog is visible to the admin users of the relatedApplicationas being assigned.toString()
-
Constructor Details
-
ApplicationCatalogRef
public ApplicationCatalogRef()
-
-
Method Details
-
getId
The context id of theCataloginstance.- Returns:
- The context id of the
Cataloginstance
-
getImplicit
The context id of the hiddenCatalogthat is owned by this application and receives any catalog overrides enacted on behalf of this application for the catalog referenced byid.- Returns:
- The contextId of the owned catalog for the standalone catalog reference
-
getName
- See Also:
-
getMutabilityType
The modifiability of the entities inherited from the catalogs.For catalogs created by this application itself, the value should always be
MutabilityType.CUSTOMIZABLE.- Returns:
- The modifiability of the entities inherited from the catalog.
- See Also:
-
MutabilityType
-
isVisibleAsAssigned
public boolean isVisibleAsAssigned()Determines whether the catalog is visible to the admin users of the relatedApplicationas being assigned.- Returns:
- whether the catalog is visible to the admin users of the related
Applicationas being assigned.
-
isExcludeFromAdd
public boolean isExcludeFromAdd()Determines whether the admin users of the relatedApplicationcan select the catalog as a destination for entity add operations.- Returns:
- Whether or not the admin users of the related
Applicationcan select the catalog as a destination for entity add operations
-
getCatalogStatus
Thestatusof thecatalog'svisibility for this assignment.- Returns:
- The
statusof thecatalog'svisibility for this assignment.
-
getType
The type of the related catalog.- Returns:
- The type of the related catalog.
- See Also:
-
getParents
The parent nodes for this catalog, including additional mutability information.- Returns:
- The parent nodes for this catalog
-
setId
The context id of theCataloginstance.- Parameters:
id- The context id of theCataloginstance
-
setImplicit
The context id of the hiddenCatalogthat is owned by this application and receives any catalog overrides enacted on behalf of this application for the catalog referenced byid.- Parameters:
implicit- The contextId of the owned catalog for the standalone catalog reference
-
setName
- See Also:
-
setMutabilityType
The modifiability of the entities inherited from the catalogs.For catalogs created by this application itself, the value should always be
MutabilityType.CUSTOMIZABLE.- Parameters:
mutabilityType- The modifiability of the entities inherited from the catalog.- See Also:
-
MutabilityType
-
setVisibleAsAssigned
public void setVisibleAsAssigned(boolean visibleAsAssigned) Determines whether the catalog is visible to the admin users of the relatedApplicationas being assigned.- Parameters:
visibleAsAssigned- whether the catalog is visible to the admin users of the relatedApplicationas being assigned.
-
setExcludeFromAdd
public void setExcludeFromAdd(boolean excludeFromAdd) Determines whether the admin users of the relatedApplicationcan select the catalog as a destination for entity add operations.- Parameters:
excludeFromAdd- Whether or not the admin users of the relatedApplicationcan select the catalog as a destination for entity add operations
-
setCatalogStatus
Thestatusof thecatalog'svisibility for this assignment.- Parameters:
catalogStatus- Thestatusof thecatalog'svisibility for this assignment.
-
setType
The type of the related catalog.- Parameters:
type- The type of the related catalog.- See Also:
-
setParents
The parent nodes for this catalog, including additional mutability information.- Parameters:
parents- The parent nodes for this catalog
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-