public interface ContextualizableMount extends MutableMount
LIVE_NAME, PREVIEW_NAME, PROPERTY_NAME_MOUNT_PREFIX
Modifier and Type | Method and Description |
---|---|
org.onehippo.cms7.services.hst.Channel |
getPreviewChannel()
internal only : not api
|
<T extends ChannelInfo> |
getPreviewChannelInfo()
internal only : not api
The preview channel properties for this mount.
|
String |
getPreviewChannelPath()
Deprecated.
since 5.0.0 (CMS 12). Use
getPreviewChannel().getChannelPath() instead |
HstSite |
getPreviewHstSite()
internal only : not api
|
addMount
containsMultipleSchemes, getAlias, getCanonicalContentPath, getChannel, getChannelInfo, getChannelPath, getChildMount, getChildMounts, getCmsLocation, getCmsLocations, getContentPath, getContextPath, getDefaultResourceBundleId, getDefaultResourceBundleIds, getDefaultSiteMapItemHandlerIds, getFormLoginPage, getHomePage, getHstSite, getHstSiteMapMatcher, getIdentifier, getLocale, getMountPath, getMountPoint, getMountProperties, getName, getNamedPipeline, getPageNotFound, getParameter, getParameters, getParent, getPort, getProperty, getPropertyNames, getRoles, getScheme, getSchemeNotMatchingResponseCode, getType, getTypes, getUsers, getVirtualHost, hasNoChannelInfo, isAuthenticated, isCacheable, isContextPathInUrl, isMapped, isOfType, isPortInUrl, isPreview, isSchemeAgnostic, isSessionStateful, isSite, isSubjectBasedSession, isVersionInPreviewHeader, onlyForContextPath
HstSite getPreviewHstSite()
Mount.getHstSite()
.
Returned value can be null
if this mount does not point to a hst:site as mountpoint@Deprecated String getPreviewChannelPath()
getPreviewChannel().getChannelPath()
insteadnull
if not configuredorg.onehippo.cms7.services.hst.Channel getPreviewChannel()
Channel
of this mount. If this mount is already a preview mount, the same is returned as Mount.getChannel()
.
Returned value can be null
if this mount does not have a channel. If there is no explicit preview
channel, then the preview is the same as the live, and this method will return same instance as for Mount.getChannel()
<T extends ChannelInfo> T getPreviewChannelInfo()
T
- Type of the channel info. Only checked at runtime on assignment.Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.