@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)
Site
public String getName()
Site
public void setName(String name)
Site
public String getSiteIdentifierType()
Site
getSiteIdentifierType
in interface Site
public void setSiteIdentifierType(String siteIdentifierType)
Site
setSiteIdentifierType
in interface Site
Site.getSiteIdentifierType()
public String getSiteIdentifierValue()
Site
getSiteIdentifierValue
in interface Site
public void setSiteIdentifierValue(String siteIdentifierValue)
setSiteIdentifierValue
in interface Site
public SandBox getProductionSandbox()
Site
getProductionSandbox
in interface Site
public void setProductionSandbox(SandBox productionSandbox)
Site
setProductionSandbox
in interface Site
Site.getProductionSandbox();
Copyright © 2013. All rights reserved.