@Entity public class SiteImpl extends Object implements Site
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected String |
name |
protected SandBox |
productionSandbox |
protected String |
siteIdentifierType |
protected String |
siteIdentifierValue |
| Constructor and Description |
|---|
SiteImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Unique/internal id for a site.
|
String |
getName()
The display name for a site.
|
SandBox |
getProductionSandbox()
If null, then this is a single-site installation.
|
String |
getSiteIdentifierType() |
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.
|
void |
setId(Long id)
Sets the internal id for a site.
|
void |
setName(String name)
Sets the displayName for a site.
|
void |
setProductionSandbox(SandBox productionSandbox)
Sets the production sandbox.
|
void |
setSiteIdentifierType(String siteIdentifierType) |
void |
setSiteIdentifierValue(String siteIdentifierValue) |
void |
setSiteResolutionType(SiteResolutionType siteResolutionType)
Sets the site resolution type.
|
protected Long id
protected String name
protected String siteIdentifierType
protected String siteIdentifierValue
protected SandBox productionSandbox
public void setId(Long id)
Sitepublic String getName()
Sitepublic void setName(String name)
Sitepublic String getSiteIdentifierType()
getSiteIdentifierType in interface Sitepublic void setSiteIdentifierType(String siteIdentifierType)
setSiteIdentifierType in interface SiteSite.getSiteIdentifierType()public String getSiteIdentifierValue()
SiteSite.getSiteResolutionType() to determine the current
Site for a given request.getSiteIdentifierValue in interface Sitepublic void setSiteIdentifierValue(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()Copyright © 2013. All rights reserved.