public interface Site extends Serializable, Status
Modifier and Type | Method and Description |
---|---|
Site |
clone()
Retrieve an deep copy of this site.
|
ArchiveStatus |
getArchiveStatus() |
List<Catalog> |
getCatalogs()
Deprecated.
Not used by Broadleaf - scheduled to remove on or after 3.3
|
Locale |
getDefaultLocale()
used for default locale
|
Long |
getId()
Unique/internal id for a site.
|
String |
getName()
The display name for a site.
|
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() |
boolean |
isTemplateSite()
Deprecated.
Not used by Broadleaf - scheduled to remove on or after 3.3
|
void |
setCatalogs(List<Catalog> catalogs)
Deprecated.
Not used by Broadleaf - scheduled to remove on or after 3.3
|
void |
setDeactivated(boolean deactivated) |
void |
setDefaultLocale(Locale defaultLocale)
Sets the site default locale.
|
void |
setId(Long id)
Sets the internal id for a site.
|
void |
setName(String name)
Sets the displayName for a site.
|
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.
|
getArchived, isActive, setArchived
Long getId()
void setId(Long id)
id
- String getName()
void setName(String name)
name
- @Deprecated String getSiteIdentifierType()
getSiteResolutionType()
Intended to be used along with the #getSiteIdentifierValue()
by the SiteResolver to determine if this is the current site.@Deprecated 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
- SiteResolutionType getSiteResolutionType()
void setSiteResolutionType(SiteResolutionType siteResolutionType)
siteResolutionType
- getSiteResolutionType()
@Deprecated List<Catalog> getCatalogs()
@Deprecated void setCatalogs(List<Catalog> catalogs)
catalogs
- a list of catalog groupingsLocale getDefaultLocale()
void setDefaultLocale(Locale defaultLocale)
defaultLocale
- Site clone()
ArchiveStatus getArchiveStatus()
boolean isDeactivated()
void setDeactivated(boolean deactivated)
@Deprecated boolean isTemplateSite()
Copyright © 2022. All rights reserved.