Uses of Class
org.opencms.site.CmsSite
Packages that use 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
Methods in org.opencms.jsp.util that return CmsSite -
Uses of CmsSite in org.opencms.site
Methods in org.opencms.site that return CmsSiteModifier 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.Methods in org.opencms.site that return types with arguments of type CmsSiteModifier 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.Methods in org.opencms.site with parameters of type CmsSiteModifier 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
Methods in org.opencms.staticexport that return CmsSiteMethods in org.opencms.staticexport with parameters of type CmsSiteModifier 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.Constructors in org.opencms.staticexport with parameters of type CmsSiteModifierConstructorDescriptionCmsExportname
(String exportname, CmsSite site) Constructor with parameters. -
Uses of CmsSite in org.opencms.ui.apps.sitemanager
Fields in org.opencms.ui.apps.sitemanager with type parameters of type CmsSiteMethods in org.opencms.ui.apps.sitemanager that return CmsSiteMethods in org.opencms.ui.apps.sitemanager that return types with arguments of type CmsSiteModifier and TypeMethodDescriptionCmsSiteManager.getAllElements()
CmsSiteManager.getCorruptedSites()
Get corrupted sites.Methods in org.opencms.ui.apps.sitemanager with parameters of type CmsSiteModifier 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) Constructors in org.opencms.ui.apps.sitemanager with parameters of type CmsSiteModifierConstructorDescriptionprotected
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.Constructor parameters in org.opencms.ui.apps.sitemanager with type arguments of type CmsSiteModifierConstructorDescriptionprotected
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
Methods in org.opencms.ui.components with parameters of type CmsSiteModifier 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.