|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Site
Created by bpolster.
| Method Summary | |
|---|---|
Site |
clone()
Retrieve an deep copy of this site. |
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()
Deprecated. use getSiteResolutionType()
Intended to be used along with the #getSiteIdentifierValue()
by the SiteResolver to determine if this is the current site. |
String |
getSiteIdentifierValue()
Used along with 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 |
isDeactivated()
|
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 sandbox)
Sets the production sandbox. |
void |
setSiteIdentifierType(String siteIdentifierType)
Deprecated. Use setSiteResolutionType(SiteResolutionType)
Sets the site identifier type. |
void |
setSiteIdentifierValue(String siteIdentifierValue)
|
void |
setSiteResolutionType(SiteResolutionType siteResolutionType)
Sets the site resolution type. |
| Method Detail |
|---|
Long getId()
void setId(Long id)
id - String getName()
void setName(String name)
name - String getSiteIdentifierType()
getSiteResolutionType()
Intended to be used along with the #getSiteIdentifierValue()
by the SiteResolver to determine if this is the current site.
void setSiteIdentifierType(String siteIdentifierType)
setSiteResolutionType(SiteResolutionType)
Sets the site identifier type.
siteIdentifierType - getSiteIdentifierType()String getSiteIdentifierValue()
getSiteResolutionType() to determine the current
Site for a given request.
void setSiteIdentifierValue(String siteIdentifierValue)
siteIdentifierValue - SandBox getProductionSandbox()
void setProductionSandbox(SandBox sandbox)
sandbox - getProductionSandbox();SiteResolutionType getSiteResolutionType()
void setSiteResolutionType(SiteResolutionType siteResolutionType)
siteResolutionType - getSiteResolutionType()List<Catalog> getCatalogs()
void setCatalogs(List<Catalog> catalogs)
catalogs - a list of catalog groupingsSite clone()
boolean isDeactivated()
void setDeactivated(boolean deactivated)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||