public static final class WebsiteManager.UnmodifiableWebsite extends Object implements IWebsitesSPI
Website
implementation.
Throws UnsupportedOperationException
in methods that changes the wrapped website in any manner.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<IWebsiteBaseURL> |
getAdditionalBaseURLs()
Returns the additional base URLs of this web site.
|
String |
getGoogleAnalyticsAPIKey()
Returns the Google Analytics API access key.
|
String |
getGoogleMapsAPIKey()
Returns the Google Maps API access key.
|
String |
getId()
Returns the identifier of this website.
|
IWebsiteMainBaseURL |
getMainNonSecureBaseURL()
Returns the main non-secure base URL of this website.
|
IWebsiteMainBaseURL |
getMainSecureBaseURL()
Returns the main secure base URL of this website.
|
Website |
getModifiableClone()
Clones this website returning a modifiable
Website instance. |
String |
getName()
Returns the name of this website.
|
String |
getRootChannelId()
Returns the identifier of the root channel of this web site.
|
IWebRootPortalBaseFolder |
getWebRootBaseFolder()
Returns the base folder that corresponds to the web root folder of this
website.
|
int |
hashCode() |
boolean |
isDefaultWebsite()
Returns whether this website is the default website.
|
boolean |
isForceMainURLsNavigation()
Returns whether this website forces the navigation to occur on its
main base URLs, instead of on its additional base URLs.
|
String |
toString() |
public String getId()
IWebsite
public String getName()
IWebsite
public IWebRootPortalBaseFolder getWebRootBaseFolder()
IWebsite
The base folder corresponds to the folder referenced by the evaluation
of the configuration in this website's
web root path
.
getWebRootBaseFolder
in interface IWebsite
IPortalBaseFolder
public String getRootChannelId()
IWebsite
getRootChannelId
in interface IWebsite
null
if there is
no root channel defined for this website.public boolean isDefaultWebsite()
IWebsite
The default website is used to respond to requests that did not match the base URLs of any website.
isDefaultWebsite
in interface IWebsite
true
if this website is the default website,
false
otherwise.public boolean isForceMainURLsNavigation()
IWebsite
When this property is enabled, this website redirects requests targeting the additional base URLs to the main base URLs.
isForceMainURLsNavigation
in interface IWebsite
true
if this website forces the navigation to occurs on its
main base URLs, false
otherwise.public IWebsiteMainBaseURL getMainNonSecureBaseURL()
IWebsite
This base URL is used to generate absolute non-secure (HTTP) URLs to this website.
getMainNonSecureBaseURL
in interface IWebsite
public IWebsiteMainBaseURL getMainSecureBaseURL()
IWebsite
This base URL is used to generate absolute secure (HTTPS) URLs to this website.
getMainSecureBaseURL
in interface IWebsite
public Collection<IWebsiteBaseURL> getAdditionalBaseURLs()
IWebsite
The main base URLs are not included in the returned collection.
getAdditionalBaseURLs
in interface IWebsite
public Website getModifiableClone()
Website
instance.public String getGoogleAnalyticsAPIKey()
IWebsitesSPI
getGoogleAnalyticsAPIKey
in interface IWebsitesSPI
public String getGoogleMapsAPIKey()
IWebsitesSPI
getGoogleMapsAPIKey
in interface IWebsitesSPI
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.