info.magnolia.cms.core.version
Class CopyUtil
java.lang.Object
info.magnolia.cms.core.version.CopyUtil
public final class CopyUtil
- extends Object
Util to copy nodes and hierarchies between workspaces. A Content.ContentFilter
defines what such a copy process includes.
This is used to copy pages to the version workspace. While the paragraph nodes have to be copied the sub-pages should not.
- Version:
- $Id$
Method Summary |
void |
clone(javax.jcr.Node node,
javax.jcr.Node parent,
org.apache.jackrabbit.commons.predicate.Predicate filter,
boolean removeExisting)
|
static CopyUtil |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static CopyUtil getInstance()
clone
public void clone(javax.jcr.Node node,
javax.jcr.Node parent,
org.apache.jackrabbit.commons.predicate.Predicate filter,
boolean removeExisting)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.