| 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
|
| Modifier and Type | Method and Description |
|---|---|
CmsSite |
CmsJspStandardContextBean.getSite()
Returns the current site.
|
| Modifier and Type | Method and Description |
|---|---|
CmsSite |
CmsSite.clone()
Returns a clone of this Objects instance.
|
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,
or
null 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,
or
null 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.
|
| Modifier and Type | Method and 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 all
CmsSite 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 all
CmsSite 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.
|
java.util.List<CmsSite> |
CmsSiteManagerImpl.getAvailableSites(CmsObject cms,
boolean workplaceMode,
java.lang.String ouFqn)
Returns a list of all
CmsSite instances that are compatible to the given organizational unit. |
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, using
CmsSiteMatcher objects as keys and CmsSite objects as values. |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
CmsSite |
CmsExportname.getSite()
Returns the site.
|
| Modifier and Type | Method and Description |
|---|---|
protected CmsPair<java.lang.String,java.lang.String> |
CmsLocalePrefixLinkSubstitutionHandler.addVfsPrefix(CmsObject cms,
java.lang.String vfsName,
CmsSite targetSite,
java.lang.String parameters) |
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 parameters
This method is required as a hook used in
CmsLocalePrefixLinkSubstitutionHandler. |
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.
|
| Constructor and Description |
|---|
CmsExportname(java.lang.String exportname,
CmsSite site)
Constructor with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
CmsSite |
CmsSiteManager.getElement(java.lang.String elementId) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsSite> |
CmsSiteManager.getAllElements() |
java.util.List<CmsSite> |
CmsSiteManager.getCorruptedSites()
Get corrupted sites.
|
| Modifier and Type | Method and 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) |
| Constructor and 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.
|
CmsEditSiteForm(CmsObject cms,
CmsSite site,
CmsSiteManager manager,
boolean editable)
Public constructor.
|
| Constructor and 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.
|
| Modifier and Type | Method and 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.
|