Uses of Class
org.opencms.site.CmsSite
-
Packages that use CmsSite Package Description org.opencms.jsp.util Utility classes to be used for JSP pages.org.opencms.site Provides access to the multi-site configuration of OpenCms.org.opencms.staticexport Contains the functionality for the static HTML page export.org.opencms.ui.apps.sitemanager Contains classes of the site manager app.org.opencms.ui.components 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 Modifier and Type Method Description CmsSite
CmsJspStandardContextBean. getSite()
Returns the current site. -
Uses of CmsSite in org.opencms.site
Methods in org.opencms.site that return CmsSite Modifier and Type Method Description CmsSite
CmsSite. clone()
Returns a clone of this Objects instance.CmsSite
CmsSite. createAlternativeSiteRootSite()
Creates a generated site for the extension folder configured on this site, or null if no extension folder is set.CmsSite
CmsSiteManagerImpl. getCurrentSite(CmsObject cms)
Returns the current site for the provided OpenCms user context object.CmsSite
CmsSiteManagerImpl. getDefaultSite()
Returns the default site.CmsSite
CmsSiteManagerImpl. getSite(java.lang.String rootPath, java.lang.String fallbackSiteRoot)
Returns the site for the given resource path, using the fall back site root in case the resource path is no root path.CmsSite
CmsSiteManagerImpl. getSiteForRootPath(java.lang.String rootPath)
Returns the site for the given resources root path, ornull
if the resources root path does not match any site.CmsSite
CmsSiteManagerImpl. getSiteForSiteRoot(java.lang.String siteRoot)
Returns the site with has the provided site root, ornull
if no configured site has that site root.CmsSite
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.CmsSite
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 CmsSite Modifier and Type Method Description java.util.List<CmsSite>
CmsSiteManagerImpl. getAvailableCorruptedSites(CmsObject cms, boolean workplaceMode)
Returns all wrong configured sites.java.util.List<CmsSite>
CmsSiteManagerImpl. getAvailableSites(CmsObject cms, boolean workplaceMode)
Returns a list of all sites available (visible) for the current user.java.util.List<CmsSite>
CmsSiteManagerImpl. getAvailableSites(CmsObject cms, boolean workplaceMode, boolean showShared, java.lang.String ouFqn)
Returns a list of allCmsSite
instances that are compatible to the given organizational unit.java.util.List<CmsSite>
CmsSiteManagerImpl. getAvailableSites(CmsObject cms, boolean workplaceMode, boolean showShared, java.lang.String ouFqn, CmsSSLMode filterMode)
Returns a list of allCmsSite
instances that are compatible to the given organizational unit.java.util.List<CmsSite>
CmsSiteManagerImpl. getAvailableSites(CmsObject cms, boolean workplaceMode, java.lang.String ouFqn)
Returns a list of allCmsSite
instances that are compatible to the given organizational unit.java.util.List<CmsSite>
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.java.util.Map<CmsSiteMatcher,CmsSite>
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 CmsSite Modifier and Type Method Description void
CmsSiteManagerImpl. addSite(CmsObject cms, CmsSite site)
Adds a site.int
CmsSite. compareTo(CmsSite that)
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 CmsSite Modifier and Type Method Description CmsSite
CmsExportname. getSite()
Returns the site.Methods in org.opencms.staticexport with parameters of type CmsSite Modifier and Type Method Description protected CmsPair<java.lang.String,java.lang.String>
CmsDefaultLinkSubstitutionHandler. addVfsPrefix(CmsObject cms, java.lang.String vfsName, CmsSite targetSite, java.lang.String parameters)
Adds the VFS prefix to the VFS name and potentially adjusts request parametersprotected CmsPair<java.lang.String,java.lang.String>
CmsLocalePrefixLinkSubstitutionHandler. addVfsPrefix(CmsObject cms, java.lang.String vfsName, CmsSite targetSite, java.lang.String parameters)
protected boolean
CmsDefaultLinkSubstitutionHandler. isDetailPageLinkSecure(CmsObject cms, java.lang.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, java.lang.String vfsName, CmsSite targetSite, boolean secureRequest)
Checks if the link target is a secure link.void
CmsExportname. setSite(CmsSite site)
Sets the site.Constructors in org.opencms.staticexport with parameters of type CmsSite Constructor Description CmsExportname(java.lang.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 CmsSite Modifier and Type Field Description protected java.util.List<CmsSite>
CmsDeleteSiteDialog. m_sitesToDelete
sites to delete.Methods in org.opencms.ui.apps.sitemanager that return CmsSite Modifier and Type Method Description CmsSite
CmsSiteManager. getElement(java.lang.String elementId)
Methods in org.opencms.ui.apps.sitemanager that return types with arguments of type CmsSite Modifier and Type Method Description java.util.List<CmsSite>
CmsSiteManager. getAllElements()
java.util.List<CmsSite>
CmsSiteManager. getCorruptedSites()
Get corrupted sites.Methods in org.opencms.ui.apps.sitemanager with parameters of type CmsSite Modifier and Type Method Description void
CmsSiteManager. createElement(CmsSite element)
protected java.lang.String
CmsSitesTable. getSSLStatus(CmsSite site)
Get the ssl status label.static java.lang.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 CmsSite Constructor Description CmsCreateSiteThread(CmsObject cms, I_CmsCRUDApp<CmsSite> manager, CmsSite site, CmsSite oldSite, java.lang.String source, java.lang.String template, boolean createOU, java.lang.String parentOU, java.lang.String selectedOU, java.io.ByteArrayOutputStream os, java.util.Map<java.lang.String,java.lang.String> bundle, java.lang.Runnable finished)
Constructor for Class.Constructor parameters in org.opencms.ui.apps.sitemanager with type arguments of type CmsSite Constructor Description CmsCreateSiteThread(CmsObject cms, I_CmsCRUDApp<CmsSite> manager, CmsSite site, CmsSite oldSite, java.lang.String source, java.lang.String template, boolean createOU, java.lang.String parentOU, java.lang.String selectedOU, java.io.ByteArrayOutputStream os, java.util.Map<java.lang.String,java.lang.String> bundle, java.lang.Runnable finished)
Constructor for Class.CmsWorkplaceServerWidget(java.util.List<CmsSite> sites, java.lang.String server)
Public constructor. -
Uses of CmsSite in org.opencms.ui.components
Methods in org.opencms.ui.components with parameters of type CmsSite Modifier and Type Method Description static CmsResourceInfo
CmsResourceInfo. createSitemapResourceInfo(CmsResource resource, CmsSite baseSite)
Creates a resource info widget for a resource that looks like the sitemap entry for that resource.
-