|
||||||||||
| 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 ArchiveStatus |
archiveStatus
|
protected List<Catalog> |
catalogs
|
protected Boolean |
deactivated
|
protected Long |
id
|
protected String |
name
|
protected SandBox |
productionSandbox
|
protected String |
siteIdentifierType
|
protected String |
siteIdentifierValue
|
| Constructor Summary | |
|---|---|
SiteImpl()
|
|
| Method Summary | |
|---|---|
void |
checkCloneable(Site site)
|
Site |
clone()
Retrieve an deep copy of this site. |
Character |
getArchived()
|
List<Catalog> |
getCatalogs()
Retrieve a list of product, category and offer groupings that this site has access to |
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. |
boolean |
isActive()
|
boolean |
isDeactivated()
|
void |
setArchived(Character archived)
|
void |
setCatalogs(List<Catalog> catalogs)
Set the list of product, category and offer groupings that this site has access to |
void |
setDeactivated(boolean deactivated)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
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
protected List<Catalog> catalogs
protected Boolean deactivated
protected ArchiveStatus archiveStatus
| 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()
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()
Site
getProductionSandbox in interface Sitepublic void setProductionSandbox(SandBox productionSandbox)
Site
setProductionSandbox in interface SiteSite.getProductionSandbox();public SiteResolutionType getSiteResolutionType()
Site
getSiteResolutionType in interface Sitepublic void setSiteResolutionType(SiteResolutionType siteResolutionType)
Site
setSiteResolutionType in interface SiteSite.getSiteResolutionType()public List<Catalog> getCatalogs()
Site
getCatalogs in interface Sitepublic void setCatalogs(List<Catalog> catalogs)
Site
setCatalogs in interface Sitecatalogs - a list of catalog groupingspublic Character getArchived()
getArchived in interface Statuspublic void setArchived(Character archived)
setArchived in interface Statuspublic boolean isActive()
isActive in interface Statuspublic boolean isDeactivated()
isDeactivated in interface Sitepublic void setDeactivated(boolean deactivated)
setDeactivated in interface Site
public void checkCloneable(Site site)
throws CloneNotSupportedException,
SecurityException,
NoSuchMethodException
CloneNotSupportedException
SecurityException
NoSuchMethodExceptionpublic Site clone()
Site
clone in interface Siteclone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||