public class OverwritingCopyHandler extends DefaultCopyHandler
nodeTypeManager
Constructor and Description |
---|
OverwritingCopyHandler(javax.jcr.Node destNode) |
Modifier and Type | Method and Description |
---|---|
void |
endNode() |
protected void |
removeChildNodes(javax.jcr.Node node) |
protected void |
removeProperties(javax.jcr.Node node) |
protected void |
replaceMixins(javax.jcr.Node node,
NodeInfo nodeInfo) |
protected void |
setPrimaryType(javax.jcr.Node node,
NodeInfo nodeInfo) |
void |
startNode(NodeInfo nodeInfo) |
getCurrent, getCurrentNodeTypes, setCurrent, setProperty
public OverwritingCopyHandler(javax.jcr.Node destNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void startNode(NodeInfo nodeInfo) throws javax.jcr.RepositoryException
startNode
in interface CopyHandler
startNode
in class DefaultCopyHandler
javax.jcr.RepositoryException
protected void removeProperties(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void removeChildNodes(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void setPrimaryType(javax.jcr.Node node, NodeInfo nodeInfo) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void replaceMixins(javax.jcr.Node node, NodeInfo nodeInfo) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void endNode() throws javax.jcr.RepositoryException
endNode
in interface CopyHandler
endNode
in class DefaultCopyHandler
javax.jcr.RepositoryException
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.