Class ApplicationCatalogRef
java.lang.Object
com.broadleafcommerce.data.tracking.core.tenant.domain.ApplicationCatalogRef
- All Implemented Interfaces:
Serializable
Reference structure for a
Application
to its individually assigned Catalog
instances. This includes information related to the mutability and mode of propagation of the
records inherited from the catalog.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
ConstructorDescriptionApplicationCatalogRef
(String catalogId, String implicit, String mutabilityType) Convenience constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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 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) 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 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
Convenience constructor- Parameters:
catalogId
-implicit
-mutabilityType
-
-
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
-
getMutabilityType
The modifiability of the entities inherited from the catalog.- Returns:
- The modifiability of the entities inherited from the catalog.
- See Also:
-
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
-
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
-
setMutabilityType
The modifiability of the entities inherited from the catalog.- Parameters:
mutabilityType
- The modifiability of the entities inherited from the catalog.- See Also:
-
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-