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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Thestatus
of thecatalog's
visibility for this assignment.getId()
The context id of theCatalog
instance.The context id of the hiddenCatalog
that 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.int
hashCode()
boolean
Determines whether the admin users of the relatedApplication
can select the catalog as a destination for entity add operations.boolean
Determines whether the catalog is visible to the admin users of the relatedApplication
as being assigned.void
setCatalogStatus
(String catalogStatus) Thestatus
of thecatalog's
visibility for this assignment.void
setExcludeFromAdd
(boolean excludeFromAdd) Determines whether the admin users of the relatedApplication
can select the catalog as a destination for entity add operations.void
The context id of theCatalog
instance.void
setImplicit
(String implicit) The context id of the hiddenCatalog
that is owned by this application and receives any catalog overrides enacted on behalf of this application for the catalog referenced byid
.void
setMutabilityType
(String mutabilityType) The modifiability of the entities inherited from the catalogs.void
void
setParents
(List<CatalogRef> parents) The parent nodes for this catalog, including additional mutability information.void
The type of the related catalog.void
setVisibleAsAssigned
(boolean visibleAsAssigned) Determines whether the catalog is visible to the admin users of the relatedApplication
as being assigned.toString()
-
Constructor Details
-
ApplicationCatalogRef
public ApplicationCatalogRef()
-
-
Method Details
-
getId
The context id of theCatalog
instance.- Returns:
- The context id of the
Catalog
instance
-
getImplicit
The context id of the hiddenCatalog
that 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 relatedApplication
as being assigned.- Returns:
- whether the catalog is visible to the admin users of the related
Application
as being assigned.
-
isExcludeFromAdd
public boolean isExcludeFromAdd()Determines whether the admin users of the relatedApplication
can select the catalog as a destination for entity add operations.- Returns:
- Whether or not the admin users of the related
Application
can select the catalog as a destination for entity add operations
-
getCatalogStatus
Thestatus
of thecatalog's
visibility for this assignment.- Returns:
- The
status
of thecatalog's
visibility 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 theCatalog
instance.- Parameters:
id
- The context id of theCatalog
instance
-
setImplicit
The context id of the hiddenCatalog
that 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 relatedApplication
as being assigned.- Parameters:
visibleAsAssigned
- whether the catalog is visible to the admin users of the relatedApplication
as being assigned.
-
setExcludeFromAdd
public void setExcludeFromAdd(boolean excludeFromAdd) Determines whether the admin users of the relatedApplication
can select the catalog as a destination for entity add operations.- Parameters:
excludeFromAdd
- Whether or not the admin users of the relatedApplication
can select the catalog as a destination for entity add operations
-
setCatalogStatus
Thestatus
of thecatalog's
visibility for this assignment.- Parameters:
catalogStatus
- Thestatus
of thecatalog's
visibility 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
-