Package lumis.portal.website
Class WebsiteManager.UnmodifiableWebsite
- java.lang.Object
-
- lumis.portal.website.WebsiteManager.UnmodifiableWebsite
-
- All Implemented Interfaces:
IWebsite
,IWebsitesSPI
- Enclosing class:
- WebsiteManager
public static final class WebsiteManager.UnmodifiableWebsite extends Object implements IWebsitesSPI
UnmodifiableWebsite
implementation.Throws
UnsupportedOperationException
in methods that changes the wrapped website in any manner.- Since:
- 6.2.0
- Version:
- $Revision: 23785 $ $Date: 2020-05-06 18:46:13 -0300 (Wed, 06 May 2020) $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 modifiableWebsite
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()
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:IWebsite
Returns the identifier of this website.
-
getName
public String getName()
Description copied from interface:IWebsite
Returns the name of this website. This name is used only for display, and has no functional impact.
-
getWebRootBaseFolder
public IWebRootPortalBaseFolder getWebRootBaseFolder()
Description copied from interface:IWebsite
Returns the base folder that corresponds to the web root folder of this website.The base folder corresponds to the folder referenced by the evaluation of the configuration in this website's
web root path
.- Specified by:
getWebRootBaseFolder
in interfaceIWebsite
- Returns:
- the web root base folder.
- See Also:
IPortalBaseFolder
-
getRootChannelId
public String getRootChannelId()
Description copied from interface:IWebsite
Returns the identifier of the root channel of this web site.- Specified by:
getRootChannelId
in interfaceIWebsite
- Returns:
- the identifier of the root channel, of
null
if there is no root channel defined for this website.
-
isDefaultWebsite
public boolean isDefaultWebsite()
Description copied from interface:IWebsite
Returns whether this website is the default website.The default website is used to respond to requests that did not match the base URLs of any website.
- Specified by:
isDefaultWebsite
in interfaceIWebsite
- Returns:
true
if this website is the default website,false
otherwise.
-
isForceMainURLsNavigation
public boolean isForceMainURLsNavigation()
Description copied from interface:IWebsite
Returns whether this website forces the navigation to occur on its main base URLs, instead of on its additional base URLs.When this property is enabled, this website redirects requests targeting the additional base URLs to the main base URLs.
- Specified by:
isForceMainURLsNavigation
in interfaceIWebsite
- Returns:
true
if this website forces the navigation to occurs on its main base URLs,false
otherwise.
-
getMainNonSecureBaseURL
public IWebsiteMainBaseURL getMainNonSecureBaseURL()
Description copied from interface:IWebsite
Returns the main non-secure base URL of this website.This base URL is used to generate absolute non-secure (HTTP) URLs to this website.
- Specified by:
getMainNonSecureBaseURL
in interfaceIWebsite
- Returns:
- the main non-secure base URL of this website.
-
getMainSecureBaseURL
public IWebsiteMainBaseURL getMainSecureBaseURL()
Description copied from interface:IWebsite
Returns the main secure base URL of this website.This base URL is used to generate absolute secure (HTTPS) URLs to this website.
- Specified by:
getMainSecureBaseURL
in interfaceIWebsite
- Returns:
- the main secure base URL of this website.
-
getAdditionalBaseURLs
public Collection<IWebsiteBaseURL> getAdditionalBaseURLs()
Description copied from interface:IWebsite
Returns the additional base URLs of this web site.The main base URLs are not included in the returned collection.
- Specified by:
getAdditionalBaseURLs
in interfaceIWebsite
- Returns:
- a unmodifiable collection containing the persistent additional base URLs of this website. It may not reflect changes done in the additional base URLs present in this website after it is obtained. If this website has no additional base URL, an empty collection is returned.
-
getModifiableClone
public Website getModifiableClone()
Clones this website returning a modifiableWebsite
instance.- Returns:
- the modifiable website instance.
- Since:
- 8.1.0
-
getGoogleAnalyticsAPIKey
public String getGoogleAnalyticsAPIKey()
Description copied from interface:IWebsitesSPI
Returns the Google Analytics API access key.- Specified by:
getGoogleAnalyticsAPIKey
in interfaceIWebsitesSPI
- Returns:
- the Google Analytics API access key.
-
getGoogleMapsAPIKey
public String getGoogleMapsAPIKey()
Description copied from interface:IWebsitesSPI
Returns the Google Maps API access key.- Specified by:
getGoogleMapsAPIKey
in interfaceIWebsitesSPI
- Returns:
- the Google Maps API access key.
-
-