Class CmsDomainNodeImpl
java.lang.Object
ch.tocco.nice2.dms.spi.tree.AbstractContentTreeNode
ch.tocco.nice2.dms.spi.tree.DomainNodeImpl
ch.tocco.nice2.optional.cms.impl.tree.CmsDomainNodeImpl
- All Implemented Interfaces:
ContentTreeNode
,DomainNode
,CmsDomainNode
-
Field Summary
Fields inherited from class ch.tocco.nice2.dms.spi.tree.AbstractContentTreeNode
ALIAS_FIELD_NAME, ALIAS_SPLITTER, contentTreeContext, contentTreeService, delegate, HASH_FUNCTION, LABEL_FIELD_NAME, log, mode, model, NAME_FIELD_NAME, nodeServicePointHolder, URL_FIELD_NAME
-
Constructor Summary
ConstructorDescriptionCmsDomainNodeImpl
(Entity entity, ContentTreeService contentTreeService, NodeServicePointHolder nodeServicePointHolder) -
Method Summary
Modifier and TypeMethodDescriptionGet the home page of the domain.getOptimalPathForRequest
(String requestUrl) Methods inherited from class ch.tocco.nice2.dms.spi.tree.DomainNodeImpl
aliasesApplyRecursive, decorateTreeNode, getName, getOldPathPart, getPath, getPathPart, getUrl, hasAliases, isEntityDocsNode, isPathPartChanged, isRoot, moveAbove, moveBelow, normalizeAliases, normalizeName, normalizeUrl, setUrl
Methods inherited from class ch.tocco.nice2.dms.spi.tree.AbstractContentTreeNode
addAlias, areAliasesChanged, copy, copyChild, copyChildren, copyRelation, decorateCopy, delete, equals, getAdminUrl, getAliases, getAliasesSet, getAvailablePermissions, getBusinessUnit, getBusinessUnitInvoker, getChecksum, getChild, getChildCopyParams, getChildren, getChildren, getChildren, getChildrenCount, getContent, getContentEntity, getContentPublished, getContentRelation, getContentTreeContext, getCopySource, getDefaultPublicContentTreeContext, getDelegate, getLabel, getModel, getNodeRight, getNodeRights, getOldPath, getOldPaths, getOptimalPath, getOrCreateNodeRight, getParent, getPaths, getPermissionsForChildren, getPublishStatus, getRoot, getRoot, getSorting, getTreeNode, hasChild, hasChildren, hasContentReadPermission, hashCode, hasPermissionEditPermission, invokePrivileged, isChildOf, isChildRelationChanged, isCurrentlyPublished, isParentRelationChanged, isPrivileged, isSystemNode, isVisibleInNavigation, moveInto, perform, readString, readStringPrivileged, removeNodeRight, requireParent, resetChildren, setAliases, setContentTreeContext, setLabel, setName, setParent, setPublishStatus, setSorting, setValue, setValue, toString, verifyChecksum, verifyName
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.dms.api.tree.ContentTreeNode
addAlias, aliasesApplyRecursive, areAliasesChanged, copy, delete, getAdminUrl, getAliases, getAliasesSet, getAvailablePermissions, getBusinessUnit, getBusinessUnitInvoker, getChecksum, getChild, getChildren, getChildren, getChildren, getChildrenCount, getContent, getContentEntity, getContentPublished, getContentTreeContext, getCopySource, getDefaultPublicContentTreeContext, getDelegate, getLabel, getModel, getName, getNodeRight, getNodeRights, getOldPath, getOldPathPart, getOldPaths, getOptimalPath, getOrCreateNodeRight, getParent, getPath, getPathPart, getPaths, getPermissionsForChildren, getPublishStatus, getRoot, getRoot, getSorting, getTreeNode, hasAliases, hasChild, hasChildren, hasContentReadPermission, hasContentReadPermission, hasPermissionEditPermission, isChildOf, isChildRelationChanged, isCurrentlyPublished, isParentRelationChanged, isPathPartChanged, isRoot, isSystemNode, isVisibleInNavigation, moveAbove, moveBelow, moveInto, removeNodeRight, requireParent, resetChildren, setAliases, setContentTreeContext, setLabel, setName, setParent, setSorting, verifyChecksum, verifyName
-
Constructor Details
-
CmsDomainNodeImpl
public CmsDomainNodeImpl(Entity entity, ContentTreeService contentTreeService, NodeServicePointHolder nodeServicePointHolder)
-
-
Method Details
-
getOptimalPathForRequest
- Specified by:
getOptimalPathForRequest
in interfaceContentTreeNode
- Overrides:
getOptimalPathForRequest
in classDomainNodeImpl
- Returns:
- the optimal path of the current ContentTreeNode which does not contain authority if possible and uses same alias as request if possible
- Throws:
ContentException
-
getLocale
- Specified by:
getLocale
in interfaceCmsDomainNode
-
getNodeTemplateProperties
- Specified by:
getNodeTemplateProperties
in interfaceCmsDomainNode
-
getNotFoundPage
- Specified by:
getNotFoundPage
in interfaceCmsDomainNode
-
getLoginPage
- Specified by:
getLoginPage
in interfaceCmsDomainNode
-
getHomePage
Description copied from interface:CmsDomainNode
Get the home page of the domain. The home page is the first child page.- Specified by:
getHomePage
in interfaceCmsDomainNode
- Returns:
- the home page (if present).
- See Also:
-