Provides access to the multi-site configuration of OpenCms.
-
Gets the (optional) alternative site root mapping.
void
CmsSiteManagerImpl.addSite(String server,
String uri,
String title,
String position,
String errorPage,
String webserver,
String sslMode,
String secureServer,
String exclusive,
String error,
String usePermanentRedirects,
String subsiteSelection,
SortedMap<String,String> params,
List<CmsSiteMatcher> aliases,
Optional<CmsAlternativeSiteRootMapping> alternativeSiteRootMapping)
Adds a new CmsSite to the list of configured sites,
this is only allowed during configuration.
void
CmsSiteManagerImpl.addSiteInternally(String server,
String uri,
String title,
String position,
String errorPage,
String webserver,
String sslMode,
String secureServer,
String exclusive,
String error,
String usePermanentRedirects,
String subsiteSelection,
SortedMap<String,String> params,
List<CmsSiteMatcher> aliases,
Optional<CmsAlternativeSiteRootMapping> alternativeSiteRoot)
Adds a new CmsSite to the list of configured sites,
this is only allowed during configuration.
void
Sets the alternative site root mapping.