Class CmsSiteBean
java.lang.Object
org.opencms.workplace.tools.sites.CmsSiteBean
- All Implemented Interfaces:
Serializable
Dialog object for a single site.
- Since:
- 9.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor.CmsSiteBean
(org.opencms.site.CmsSite site) Public constructor with a CmsSite as parameter. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the aliases.org.opencms.site.CmsAlternativeSiteRootMapping
Gets the alternative site root mapping.Returns the errorPage.Returns the favicon.org.opencms.site.CmsSite
Returns the originalSite.Gets the parameters.int
getPort()
Returns the port.float
Returns the position.Returns the list of aliases that are configured to redirect to the site's main URL.Returns the secureUrl.Returns the server.Returns the serverName.Returns the serverProtocol.Returns the siteRoot.Gets the SSL mode.long
Returns the timeOffset.getTitle()
Returns the title.int
hashCode()
boolean
Returns the secureServer.boolean
Returns the exclusiveError.boolean
Returns the exclusiveUrl.boolean
Returns the secureServer.boolean
Returns the web server.void
setAlternativeSiteRootMapping
(org.opencms.site.CmsAlternativeSiteRootMapping alternativeSiteRootMapping) Sets the alternative site root mapping.void
setErrorPage
(String errorPage) Sets the errorPage.void
setExclusiveError
(boolean exclusiveError) Sets the exclusiveError.void
setExclusiveUrl
(boolean exclusiveUrl) Sets the exclusiveUrl.void
setFavicon
(String favicon) Sets the favicon.void
setParameters
(SortedMap<String, String> params) Sets the parameters.void
setPort
(int port) Sets the port.void
setPosition
(float position) Sets the position.void
setSecureServer
(boolean secureServer) Sets the secureServer.void
setSecureUrl
(String secureUrl) Sets the secureUrl.void
Sets the server.void
setServerName
(String serverName) Sets the serverName.void
setServerProtocol
(String serverProtocol) Sets the serverProtocol.void
setSiteRoot
(String siteRoot) Sets the siteRoot.void
setSslMode
(String mode) Sets the SSL mode.void
setTimeOffset
(long timeOffset) Sets the timeOffset.void
Sets the title.void
setWebserver
(boolean webserver) Sets the web server.org.opencms.site.CmsSite
Creates a new site object based on the members.org.opencms.site.CmsSite
toCmsSite
(org.opencms.site.CmsSiteManagerImpl siteManager) Creates a new site object based on the members.toString()
-
Constructor Details
-
CmsSiteBean
public CmsSiteBean()Default constructor. -
CmsSiteBean
Public constructor with a CmsSite as parameter.- Parameters:
site
- the site
-
-
Method Details
-
equals
-
getAliases
Returns the aliases.- Returns:
- the aliases
-
getAlternativeSiteRootMapping
Gets the alternative site root mapping.- Returns:
- the alternative site root mapping
-
getErrorPage
Returns the errorPage.- Returns:
- the errorPage
-
getFavicon
Returns the favicon.- Returns:
- the favicon
-
getOriginalSite
Returns the originalSite.- Returns:
- the originalSite
-
getParameters
Gets the parameters.- Returns:
- the site parameters
-
getPort
Returns the port.- Returns:
- the port
-
getPosition
Returns the position.- Returns:
- the position
-
getRedirectAliases
Returns the list of aliases that are configured to redirect to the site's main URL.- Returns:
- the redirect aliases
-
getSecureUrl
Returns the secureUrl.- Returns:
- the secureUrl
-
getServer
Returns the server.- Returns:
- the server
-
getServerName
Returns the serverName.- Returns:
- the serverName
-
getServerProtocol
Returns the serverProtocol.- Returns:
- the serverProtocol
-
getSiteRoot
Returns the siteRoot.- Returns:
- the siteRoot
-
getSslMode
Gets the SSL mode.- Returns:
- the SSL mode
-
getTimeOffset
Returns the timeOffset.- Returns:
- the timeOffset
-
getTitle
Returns the title.- Returns:
- the title
-
hashCode
-
hasSecureServer
Returns the secureServer.- Returns:
- the secureServer
-
isExclusiveError
Returns the exclusiveError.- Returns:
- the exclusiveError
-
isExclusiveUrl
Returns the exclusiveUrl.- Returns:
- the exclusiveUrl
-
isSecureServer
Returns the secureServer.- Returns:
- the secureServer
-
isWebserver
Returns the web server.- Returns:
- the web server
-
setAlternativeSiteRootMapping
public void setAlternativeSiteRootMapping(org.opencms.site.CmsAlternativeSiteRootMapping alternativeSiteRootMapping) Sets the alternative site root mapping.- Parameters:
alternativeSiteRootMapping
- the site root mapping
-
setErrorPage
Sets the errorPage.- Parameters:
errorPage
- the errorPage to set
-
setExclusiveError
Sets the exclusiveError.- Parameters:
exclusiveError
- the exclusiveError to set
-
setExclusiveUrl
Sets the exclusiveUrl.- Parameters:
exclusiveUrl
- the exclusiveUrl to set
-
setFavicon
Sets the favicon.- Parameters:
favicon
- the favicon to set
-
setParameters
Sets the parameters.- Parameters:
params
- the parameters
-
setPort
Sets the port.- Parameters:
port
- the port to set
-
setPosition
Sets the position.- Parameters:
position
- the position to set
-
setSecureServer
Sets the secureServer.- Parameters:
secureServer
- the secureServer to set
-
setSecureUrl
Sets the secureUrl.- Parameters:
secureUrl
- the secureUrl to set
-
setServer
Sets the server.- Parameters:
server
- the server to set
-
setServerName
Sets the serverName.- Parameters:
serverName
- the serverName to set
-
setServerProtocol
Sets the serverProtocol.- Parameters:
serverProtocol
- the serverProtocol to set
-
setSiteRoot
Sets the siteRoot.- Parameters:
siteRoot
- the siteRoot to set
-
setSslMode
Sets the SSL mode.- Parameters:
mode
- the SSL mode
-
setTimeOffset
Sets the timeOffset.- Parameters:
timeOffset
- the timeOffset to set
-
setTitle
Sets the title.- Parameters:
title
- the title to set
-
setWebserver
Sets the web server.- Parameters:
webserver
- the web server to set
-
toCmsSite
Creates a new site object based on the members.- Returns:
- a new site object based on the members
-
toCmsSite
Creates a new site object based on the members.This method with the siteManager parameter is mostly useful for testing, since usually only the global site manager instance is used.
- Parameters:
siteManager
- the site manager to use- Returns:
- a new site object based on the members
-
toString
-