public interface Site
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
Site |
clone()
Retrieve an deep copy of this site.
|
java.util.List<Catalog> |
getCatalogs()
Retrieve a list of product, category and offer groupings that
this site has access to
|
java.lang.Long |
getId()
Unique/internal id for a site.
|
java.lang.String |
getName()
The display name for a site.
|
SandBox |
getProductionSandbox()
If null, then this is a single-site installation.
|
java.lang.String |
getSiteIdentifierType()
Deprecated.
use
getSiteResolutionType()
Intended to be used along with the #getSiteIdentifierValue()
by the SiteResolver to determine if this is the current site. |
java.lang.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(java.util.List<Catalog> catalogs)
Set the list of product, category and offer groupings that
this site has access to
|
void |
setDeactivated(boolean deactivated) |
void |
setId(java.lang.Long id)
Sets the internal id for a site.
|
void |
setName(java.lang.String name)
Sets the displayName for a site.
|
void |
setProductionSandbox(SandBox sandbox)
Sets the production sandbox.
|
void |
setSiteIdentifierType(java.lang.String siteIdentifierType)
Deprecated.
Use
setSiteResolutionType(SiteResolutionType)
Sets the site identifier type. |
void |
setSiteIdentifierValue(java.lang.String siteIdentifierValue) |
void |
setSiteResolutionType(SiteResolutionType siteResolutionType)
Sets the site resolution type.
|
java.lang.Long getId()
void setId(java.lang.Long id)
id - java.lang.String getName()
void setName(java.lang.String name)
name - java.lang.String getSiteIdentifierType()
getSiteResolutionType()
Intended to be used along with the #getSiteIdentifierValue()
by the SiteResolver to determine if this is the current site.void setSiteIdentifierType(java.lang.String siteIdentifierType)
setSiteResolutionType(SiteResolutionType)
Sets the site identifier type.siteIdentifierType - getSiteIdentifierType()java.lang.String getSiteIdentifierValue()
getSiteResolutionType() to determine the current
Site for a given request.void setSiteIdentifierValue(java.lang.String siteIdentifierValue)
siteIdentifierValue - SandBox getProductionSandbox()
void setProductionSandbox(SandBox sandbox)
sandbox - getProductionSandbox();SiteResolutionType getSiteResolutionType()
void setSiteResolutionType(SiteResolutionType siteResolutionType)
siteResolutionType - getSiteResolutionType()java.util.List<Catalog> getCatalogs()
void setCatalogs(java.util.List<Catalog> catalogs)
catalogs - a list of catalog groupingsSite clone()
boolean isDeactivated()
void setDeactivated(boolean deactivated)
Copyright © 2018. All Rights Reserved.