Uses of Class
org.opencms.site.CmsSite
Package
Description
Utility classes to be used for JSP pages.
Provides access to the multi-site configuration of OpenCms.
Contains the functionality for the static HTML page export.
Contains classes of the site manager app.
Contains some reusable GUI components for Vaadin UI.
-
Uses of CmsSite in org.opencms.jsp.util
-
Uses of CmsSite in org.opencms.site
Modifier and TypeMethodDescriptionCmsSite.clone()
Returns a clone of this Objects instance.CmsSite.createAlternativeSiteRootSite()
Creates a generated site for the extension folder configured on this site, or null if no extension folder is set.CmsSiteManagerImpl.getCurrentSite
(CmsObject cms) Returns the current site for the provided OpenCms user context object.CmsSiteManagerImpl.getDefaultSite()
Returns the default site.Returns the site for the given resource path, using the fall back site root in case the resource path is no root path.CmsSiteManagerImpl.getSiteForRootPath
(String rootPath) Returns the site for the given resources root path, ornull
if the resources root path does not match any site.CmsSiteManagerImpl.getSiteForSiteRoot
(String siteRoot) Returns the site with has the provided site root, ornull
if no configured site has that site root.CmsSiteManagerImpl.matchRequest
(javax.servlet.http.HttpServletRequest req) Matches the given request against all configures sites and returns the matching site, or the default site if no sites matches.CmsSiteManagerImpl.matchSite
(CmsSiteMatcher matcher) Return the configured site that matches the given site matcher, or the default site if no sites matches.Modifier and TypeMethodDescriptionCmsSiteManagerImpl.getAvailableCorruptedSites
(CmsObject cms, boolean workplaceMode) Returns all wrong configured sites.CmsSiteManagerImpl.getAvailableSites
(CmsObject cms, boolean workplaceMode) Returns a list of all sites available (visible) for the current user.CmsSiteManagerImpl.getAvailableSites
(CmsObject cms, boolean workplaceMode, boolean showShared, String ouFqn) Returns a list of allCmsSite
instances that are compatible to the given organizational unit.CmsSiteManagerImpl.getAvailableSites
(CmsObject cms, boolean workplaceMode, boolean showShared, String ouFqn, CmsSSLMode filterMode) Returns a list of allCmsSite
instances that are compatible to the given organizational unit.CmsSiteManagerImpl.getAvailableSites
(CmsObject cms, boolean workplaceMode, String ouFqn) Returns a list of allCmsSite
instances that are compatible to the given organizational unit.CmsSiteManagerImpl.getAvailableSites
(CmsObject cms, boolean workplaceMode, CmsSSLMode filterMode) Returns a list of all sites available (visible) for the current user.com.google.common.base.Optional<CmsSite>
CmsSiteManagerImpl.getSiteForDefaultUri()
Gets the site which is mapped to the default uri, or the 'absent' value of no such site exists.CmsSiteManagerImpl.getSites()
Returns the map of configured sites, usingCmsSiteMatcher
objects as keys andCmsSite
objects as values.Modifier and TypeMethodDescriptionvoid
Adds a site.int
boolean
CmsSiteManagerImpl.isOnlyOfflineSite
(CmsSite site) Indicates if given site is only available for offline repository.boolean
CmsSiteManagerImpl.isSiteUnderSite
(CmsSite site) Checks if a given site is under another site.void
CmsSiteManagerImpl.removeSite
(CmsObject cms, CmsSite site) Removes a site from the list of configured sites.void
CmsSiteManagerImpl.updateSite
(CmsObject cms, CmsSite oldSite, CmsSite newSite) Updates or creates a site. -
Uses of CmsSite in org.opencms.staticexport
Modifier and TypeMethodDescriptionCmsDefaultLinkSubstitutionHandler.addVfsPrefix
(CmsObject cms, String vfsName, CmsSite targetSite, String parameters) Adds the VFS prefix to the VFS name and potentially adjusts request parametersCmsLocalePrefixLinkSubstitutionHandler.addVfsPrefix
(CmsObject cms, String vfsName, CmsSite targetSite, String parameters) protected boolean
CmsDefaultLinkSubstitutionHandler.isDetailPageLinkSecure
(CmsObject cms, String detailPage, CmsResource detailContent, CmsSite targetSite, boolean secureRequest) Checks whether a link to a detail page should be secure.protected boolean
CmsDefaultLinkSubstitutionHandler.isSecureLink
(CmsObject cms, String vfsName, CmsSite targetSite, boolean secureRequest) Checks if the link target is a secure link.<pvoid
Sets the site.ModifierConstructorDescriptionCmsExportname
(String exportname, CmsSite site) Constructor with parameters. -
Uses of CmsSite in org.opencms.ui.apps.sitemanager
Modifier and TypeMethodDescriptionCmsSiteManager.getAllElements()
CmsSiteManager.getCorruptedSites()
Get corrupted sites.Modifier and TypeMethodDescriptionvoid
CmsSiteManager.createElement
(CmsSite element) protected String
CmsSitesTable.getSSLStatus
(CmsSite site) Get the ssl status label.static String
CmsSitesTable.getSSLStyle
(CmsSite site) Gets the style for ssl badget.void
CmsSiteManager.writeElement
(CmsSite element) ModifierConstructorDescriptionprotected
CmsCreateSiteThread
(CmsObject cms, I_CmsCRUDApp<CmsSite> manager, CmsSite site, CmsSite oldSite, String source, String template, boolean createOU, String parentOU, String selectedOU, ByteArrayOutputStream os, Map<String, String> bundle, Runnable finished) Constructor for Class.ModifierConstructorDescriptionprotected
CmsCreateSiteThread
(CmsObject cms, I_CmsCRUDApp<CmsSite> manager, CmsSite site, CmsSite oldSite, String source, String template, boolean createOU, String parentOU, String selectedOU, ByteArrayOutputStream os, Map<String, String> bundle, Runnable finished) Constructor for Class.CmsWorkplaceServerWidget
(List<CmsSite> sites, String server) Public constructor. -
Uses of CmsSite in org.opencms.ui.components
Modifier and TypeMethodDescriptionstatic CmsResourceInfo
CmsResourceInfo.createSitemapResourceInfo
(CmsResource resource, CmsSite baseSite) Creates a resource info widget for a resource that looks like the sitemap entry for that resource.