|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.webadmin.util.DAVOperations
Helper for copy/move operations.
Constructor Summary | |
DAVOperations()
|
Method Summary | |
static Map |
copy(Collection col,
String dest,
boolean overwrite,
boolean deep)
Copies collection to the new destination |
static int |
copy(Collection col,
String name,
String dest,
boolean overwrite)
Copies a resource to a new location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DAVOperations()
Method Detail |
public static Map copy(Collection col, String dest, boolean overwrite, boolean deep) throws DBException
col
- Collection to be copieddest
- Destination path (includes DB name)overwrite
- true if previously existed collection at dest path can be overwritten
DBException
public static int copy(Collection col, String name, String dest, boolean overwrite) throws DBException
col
- Source collectionname
- Resource namedest
- Path to the new location. It includes db name and new resource nameoverwrite
- true if previously existed resource at dest path can be overwritten
DBException
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |