@Entity public class CatalogDerivedCatalogXrefImpl extends Object implements CatalogDerivedCatalogXref
Catalog and other Catalogs from
which it is derived| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.common.site.domain.Catalog |
catalog |
protected String |
deploymentStatus |
protected org.broadleafcommerce.common.site.domain.Catalog |
derivedFromCatalog |
protected Long |
id
Use a separate primary key (rather than a composite key with @Embeddedid) to prevent
ConcurrentModificationException from cache
|
protected Long |
inheritedFromCatalog |
protected String |
mutabilityType |
protected Character |
visible |
| Constructor and Description |
|---|
CatalogDerivedCatalogXrefImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.site.domain.Catalog |
getCatalog()
Represents the current catalog which may be derived from one or more other catalogs.
|
DeploymentStatus |
getDeploymentStatus()
Gets the current
DeploymentStatus for the given derived catalog. |
org.broadleafcommerce.common.site.domain.Catalog |
getDerivedFromCatalog()
Returns one of the catalogs which the catalog is derived from.
|
Long |
getId()
Primary key of this xref.
|
Long |
getInheritedFromCatalog()
If this item was automatically set by the system, note the catalog that drove it.
|
DerivedFromType |
getMutabilityType()
Dictates whether the derived items can be edited or not within the
catalog.
|
Boolean |
getVisible()
Whether or not this record is visible in the derived catalog UI.
|
void |
setCatalog(org.broadleafcommerce.common.site.domain.Catalog catalog)
Sets the catalog which may be derived from one or more other catalogs.
|
void |
setDeloymentStatus(DeploymentStatus deploymentStatus)
Sets the
DeploymentStatus |
void |
setDerivedFromCatalog(org.broadleafcommerce.common.site.domain.Catalog derivedFromCatalog)
Sets one of the catalogs from which this catalog is derived.
|
void |
setId(Long id)
Sets the primary key for this xref.
|
void |
setInheritedFromCatalog(Long inheritedFromCatalog) |
void |
setMutabilityType(DerivedFromType mutabilityType)
Sets whether the derived items can be edited or not within the
catalog.
|
void |
setVisible(Character visible) |
protected Long id
protected org.broadleafcommerce.common.site.domain.Catalog catalog
protected org.broadleafcommerce.common.site.domain.Catalog derivedFromCatalog
protected String mutabilityType
protected String deploymentStatus
protected Character visible
protected Long inheritedFromCatalog
public Long getId()
CatalogDerivedCatalogXrefgetId in interface CatalogDerivedCatalogXrefpublic void setId(Long id)
CatalogDerivedCatalogXrefsetId in interface CatalogDerivedCatalogXrefpublic org.broadleafcommerce.common.site.domain.Catalog getCatalog()
CatalogDerivedCatalogXrefgetCatalog in interface CatalogDerivedCatalogXrefpublic void setCatalog(org.broadleafcommerce.common.site.domain.Catalog catalog)
CatalogDerivedCatalogXrefsetCatalog in interface CatalogDerivedCatalogXrefpublic org.broadleafcommerce.common.site.domain.Catalog getDerivedFromCatalog()
CatalogDerivedCatalogXrefgetDerivedFromCatalog in interface CatalogDerivedCatalogXrefpublic void setDerivedFromCatalog(org.broadleafcommerce.common.site.domain.Catalog derivedFromCatalog)
CatalogDerivedCatalogXrefsetDerivedFromCatalog in interface CatalogDerivedCatalogXrefpublic DerivedFromType getMutabilityType()
CatalogDerivedCatalogXrefgetMutabilityType in interface CatalogDerivedCatalogXrefpublic void setMutabilityType(DerivedFromType mutabilityType)
CatalogDerivedCatalogXrefsetMutabilityType in interface CatalogDerivedCatalogXrefmutabilityType - the mutability of the catalogpublic DeploymentStatus getDeploymentStatus()
CatalogDerivedCatalogXrefDeploymentStatus for the given derived catalog. Note that this status
is only relevant for catalogs that require propagation.getDeploymentStatus in interface CatalogDerivedCatalogXrefDeploymentStatus, if anypublic void setDeloymentStatus(DeploymentStatus deploymentStatus)
CatalogDerivedCatalogXrefDeploymentStatussetDeloymentStatus in interface CatalogDerivedCatalogXrefpublic Boolean getVisible()
CatalogDerivedCatalogXrefgetVisible in interface CatalogDerivedCatalogXrefpublic void setVisible(Character visible)
setVisible in interface CatalogDerivedCatalogXrefpublic Long getInheritedFromCatalog()
CatalogDerivedCatalogXrefgetInheritedFromCatalog in interface CatalogDerivedCatalogXrefpublic void setInheritedFromCatalog(Long inheritedFromCatalog)
setInheritedFromCatalog in interface CatalogDerivedCatalogXrefCopyright © 2020. All rights reserved.