Class ApplicationCatalogRef
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.tenant.domain.ApplicationCatalogRef
-
- All Implemented Interfaces:
Serializable
public class ApplicationCatalogRef extends Object implements Serializable
Reference structure for aApplication
to its individually assignedCatalog
instances. This includes information related to the mutability and mode of propagation of the records inherited from the catalog.- Author:
- Jeff Fischer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationCatalogRef()
ApplicationCatalogRef(String catalogId, String implicit, String mutabilityType)
Convenience constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCatalogStatus()
String
getId()
The context id of theCatalog
instance.String
getImplicit()
String
getMutabilityType()
The modifiability of the entities inherited from the catalog.int
hashCode()
boolean
isExcludeFromAdd()
Determines whether the admin users of the relatedApplication
can select the catalog as a destination for entity add operations.boolean
isVisibleAsAssigned()
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
setId(String id)
The context id of theCatalog
instance.void
setImplicit(String implicit)
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.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
The context id of theCatalog
instance.- Returns:
- The context id of the
Catalog
instance
-
getImplicit
public String 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
public String getMutabilityType()
The modifiability of the entities inherited from the catalog.- 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
public String getCatalogStatus()
-
setId
public void setId(String id)
The context id of theCatalog
instance.- Parameters:
id
- The context id of theCatalog
instance
-
setImplicit
public 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
.- Parameters:
implicit
- The contextId of the owned catalog for the standalone catalog reference
-
setMutabilityType
public void setMutabilityType(String mutabilityType)
The modifiability of the entities inherited from the catalog.- 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
public void setCatalogStatus(String catalogStatus)
-
canEqual
protected boolean canEqual(Object other)
-
-