@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()
Intended to be used along with the #getSiteIdentifierValue()
by the SiteResolver to determine if this is the current site.
|
String |
getSiteIdentifierValue()
Used along with #getSiteIdentiferType() to determine the current
Site for a given request.
|
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)
Sets the site identifier type.
|
void |
setSiteIdentifierValue(String siteIdentifierValue) |
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()
SitegetSiteIdentifierType in interface Sitepublic void setSiteIdentifierType(String siteIdentifierType)
SitesetSiteIdentifierType in interface SiteSite.getSiteIdentifierType()public String getSiteIdentifierValue()
SitegetSiteIdentifierValue 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();Copyright © 2013. All rights reserved.