|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.common.site.domain.SiteImpl
@Entity public class SiteImpl
Created by bpolster.
| Field Summary | |
|---|---|
protected Long |
id
|
protected String |
name
|
protected SandBox |
productionSandbox
|
protected String |
siteIdentifierType
|
protected String |
siteIdentifierValue
|
| Constructor Summary | |
|---|---|
SiteImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected String name
protected String siteIdentifierType
protected String siteIdentifierValue
protected SandBox productionSandbox
| Constructor Detail |
|---|
public SiteImpl()
| Method Detail |
|---|
public Long getId()
Site
getId in interface Sitepublic void setId(Long id)
Site
setId in interface Sitepublic String getName()
Site
getName in interface Sitepublic void setName(String name)
Site
setName in interface Sitepublic String getSiteIdentifierType()
Site
getSiteIdentifierType in interface Sitepublic void setSiteIdentifierType(String siteIdentifierType)
Site
setSiteIdentifierType in interface SiteSite.getSiteIdentifierType()public String getSiteIdentifierValue()
Site
getSiteIdentifierValue in interface Sitepublic void setSiteIdentifierValue(String siteIdentifierValue)
setSiteIdentifierValue in interface Sitepublic SandBox getProductionSandbox()
Site
getProductionSandbox in interface Sitepublic void setProductionSandbox(SandBox productionSandbox)
Site
setProductionSandbox in interface SiteSite.getProductionSandbox();
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||