@Entity public class SiteImpl extends java.lang.Object implements Site, Status
| Modifier and Type | Field and Description |
|---|---|
protected ArchiveStatus |
archiveStatus |
protected java.util.List<Catalog> |
catalogs |
protected java.lang.Boolean |
deactivated |
protected java.lang.Long |
id |
protected java.lang.String |
name |
protected SandBox |
productionSandbox |
protected java.lang.String |
siteIdentifierType |
protected java.lang.String |
siteIdentifierValue |
| Constructor and Description |
|---|
SiteImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCloneable(Site site) |
Site |
clone()
Retrieve an deep copy of this site.
|
java.lang.Character |
getArchived() |
java.util.List<Catalog> |
getCatalogs()
Retrieve a list of product, category and offer groupings that
this site has access to
|
java.lang.Long |
getId()
Unique/internal id for a site.
|
java.lang.String |
getName()
The display name for a site.
|
SandBox |
getProductionSandbox()
If null, then this is a single-site installation.
|
java.lang.String |
getSiteIdentifierType() |
java.lang.String |
getSiteIdentifierValue()
Used along with
Site.getSiteResolutionType() to determine the current
Site for a given request. |
SiteResolutionType |
getSiteResolutionType()
Intended to be used along with the #getSiteIdentifierValue()
by an implementation of SiteResolver to determine
if this is the current site.
|
boolean |
isActive() |
boolean |
isDeactivated() |
void |
setArchived(java.lang.Character archived) |
void |
setCatalogs(java.util.List<Catalog> catalogs)
Set the list of product, category and offer groupings that
this site has access to
|
void |
setDeactivated(boolean deactivated) |
void |
setId(java.lang.Long id)
Sets the internal id for a site.
|
void |
setName(java.lang.String name)
Sets the displayName for a site.
|
void |
setProductionSandbox(SandBox productionSandbox)
Sets the production sandbox.
|
void |
setSiteIdentifierType(java.lang.String siteIdentifierType) |
void |
setSiteIdentifierValue(java.lang.String siteIdentifierValue) |
void |
setSiteResolutionType(SiteResolutionType siteResolutionType)
Sets the site resolution type.
|
protected java.lang.Long id
protected java.lang.String name
protected java.lang.String siteIdentifierType
protected java.lang.String siteIdentifierValue
protected SandBox productionSandbox
protected java.util.List<Catalog> catalogs
protected java.lang.Boolean deactivated
protected ArchiveStatus archiveStatus
public java.lang.Long getId()
Sitepublic void setId(java.lang.Long id)
Sitepublic java.lang.String getName()
Sitepublic void setName(java.lang.String name)
Sitepublic java.lang.String getSiteIdentifierType()
getSiteIdentifierType in interface Sitepublic void setSiteIdentifierType(java.lang.String siteIdentifierType)
setSiteIdentifierType in interface SiteSite.getSiteIdentifierType()public java.lang.String getSiteIdentifierValue()
SiteSite.getSiteResolutionType() to determine the current
Site for a given request.getSiteIdentifierValue in interface Sitepublic void setSiteIdentifierValue(java.lang.String siteIdentifierValue)
setSiteIdentifierValue in interface Sitepublic SandBox getProductionSandbox()
SitegetProductionSandbox in interface Sitepublic void setProductionSandbox(SandBox productionSandbox)
SitesetProductionSandbox in interface SiteSite.getProductionSandbox();public SiteResolutionType getSiteResolutionType()
SitegetSiteResolutionType in interface Sitepublic void setSiteResolutionType(SiteResolutionType siteResolutionType)
SitesetSiteResolutionType in interface SiteSite.getSiteResolutionType()public java.util.List<Catalog> getCatalogs()
SitegetCatalogs in interface Sitepublic void setCatalogs(java.util.List<Catalog> catalogs)
SitesetCatalogs in interface Sitecatalogs - a list of catalog groupingspublic java.lang.Character getArchived()
getArchived in interface Statuspublic void setArchived(java.lang.Character archived)
setArchived in interface Statuspublic boolean isDeactivated()
isDeactivated in interface Sitepublic void setDeactivated(boolean deactivated)
setDeactivated in interface Sitepublic void checkCloneable(Site site) throws java.lang.CloneNotSupportedException, java.lang.SecurityException, java.lang.NoSuchMethodException
java.lang.CloneNotSupportedExceptionjava.lang.SecurityExceptionjava.lang.NoSuchMethodExceptionCopyright © 2018. All Rights Reserved.