|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.persistence.PersistenceCopier
public class PersistenceCopier
Tool for copying item states from one persistence manager to another. Used for backing up or migrating repository content.
| Constructor Summary | |
|---|---|
PersistenceCopier(PersistenceManager source,
PersistenceManager target,
DataStore store)
Creates a tool for copying content from one persistence manager to another. |
|
| Method Summary | |
|---|---|
void |
copy(NodeId id)
Recursively copies the identified node and all its descendants. |
void |
excludeNode(NodeId id)
Explicitly exclude the identified node from being copied. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceCopier(PersistenceManager source,
PersistenceManager target,
DataStore store)
source - source persistence managertarget - target persistence managerstore - target data store| Method Detail |
|---|
public void excludeNode(NodeId id)
id - identifier of the node to be excluded
public void copy(NodeId id)
throws RepositoryException
id - identifier of the node to be copied
RepositoryException - if the copy operation fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||