程序包 | 说明 |
---|---|
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.workplace.tools.sites |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsSite> |
CmsSiteManagerImpl.getAvailableSites(CmsObject cms,
boolean workplaceMode)
Returns a list of all sites available 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,
java.lang.String ouFqn)
Returns a list of all
CmsSite instances that are compatible to the given organizational unit. |
java.util.Map<CmsSiteMatcher,CmsSite> |
CmsSiteManagerImpl.getSites()
Returns the map of configured sites, using
CmsSiteMatcher objects as keys and CmsSite objects as values. |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsSiteManagerImpl.addSite(CmsObject cms,
CmsSite site)
Adds a site.
|
int |
CmsSite.compareTo(CmsSite that) |
void |
CmsSiteManagerImpl.removeSite(CmsObject cms,
CmsSite site)
Removed a site.
|
void |
CmsSiteManagerImpl.updateSite(CmsObject cms,
CmsSite oldSite,
CmsSite newSite)
Updates an existing site.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
CmsSite |
CmsSiteBean.getOriginalSite()
Returns the originalSite.
|
CmsSite |
CmsSiteBean.toCmsSite()
Creates a new site object based on the members.
|
构造器和说明 |
---|
CmsSiteBean(CmsSite site)
Public constructor with a CmsSite as parameter.
|