Package ch.tocco.nice2.dms.spi.tree
Class FolderNodeImpl
java.lang.Object
ch.tocco.nice2.dms.spi.tree.AbstractContentTreeNode
ch.tocco.nice2.dms.spi.tree.FolderNodeImpl
- All Implemented Interfaces:
ContentTreeNode
,FolderNode
-
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
ConstructorDescriptionFolderNodeImpl
(Entity entity, ContentTreeService contentTreeService, NodeServicePointHolder nodeServicePointHolder) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
copyChild
(ContentTreeNode child, CopyContentTreeNodeParams params) Copy the child node.protected void
decorateCopy
(ContentTreeNode original) Post process this created copy of theoriginal
.protected EntityTreeNode
decorateTreeNode
(EntityTreeNode treeNode) protected boolean
void
moveAbove
(ContentTreeNode referenceNode) move the currentContentTreeNode
to the position beforereferenceNode
void
moveBelow
(ContentTreeNode referenceNode) move the currentContentTreeNode
to the position afterreferenceNode
Methods inherited from class ch.tocco.nice2.dms.spi.tree.AbstractContentTreeNode
addAlias, aliasesApplyRecursive, areAliasesChanged, copy, copyChildren, copyRelation, 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, getName, getNodeRight, getNodeRights, getOldPath, getOldPathPart, getOldPaths, getOptimalPath, getOptimalPathForRequest, getOrCreateNodeRight, getParent, getPath, getPathPart, getPaths, getPermissionsForChildren, getPublishStatus, getRoot, getRoot, getSorting, getTreeNode, hasAliases, hasChild, hasChildren, hasContentReadPermission, hashCode, hasPermissionEditPermission, invokePrivileged, isChildOf, isChildRelationChanged, isCurrentlyPublished, isParentRelationChanged, isPathPartChanged, isPrivileged, isRoot, isSystemNode, isVisibleInNavigation, moveInto, normalizeAliases, normalizeName, 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, getOptimalPathForRequest, 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, moveInto, removeNodeRight, requireParent, resetChildren, setAliases, setContentTreeContext, setLabel, setName, setParent, setSorting, verifyChecksum, verifyName
-
Constructor Details
-
FolderNodeImpl
public FolderNodeImpl(Entity entity, ContentTreeService contentTreeService, NodeServicePointHolder nodeServicePointHolder)
-
-
Method Details
-
decorateCopy
Description copied from class:AbstractContentTreeNode
Post process this created copy of theoriginal
.- Overrides:
decorateCopy
in classAbstractContentTreeNode
- Parameters:
original
-ContentTreeNode
that was just copied
-
copyChild
Description copied from class:AbstractContentTreeNode
Copy the child node.- Overrides:
copyChild
in classAbstractContentTreeNode
- Parameters:
child
- The child to copy.params
- The copy params.
-
moveBelow
Description copied from interface:ContentTreeNode
move the currentContentTreeNode
to the position afterreferenceNode
- Specified by:
moveBelow
in interfaceContentTreeNode
- Parameters:
referenceNode
- becomes the new left neighbour of thisContentTreeNode
- Throws:
ContentException
-
moveAbove
Description copied from interface:ContentTreeNode
move the currentContentTreeNode
to the position beforereferenceNode
- Specified by:
moveAbove
in interfaceContentTreeNode
- Parameters:
referenceNode
- becomes the new right neighbour of thisContentTreeNode
- Throws:
ContentException
-
decorateTreeNode
- Overrides:
decorateTreeNode
in classAbstractContentTreeNode
- Throws:
ContentException
-
isEntityDocsNode
protected boolean isEntityDocsNode()- Specified by:
isEntityDocsNode
in classAbstractContentTreeNode
-