|
eXo JCR :: Component :: Webdav Service 1.15.11-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.webdav.command.CopyCommand
public class CopyCommand
Created by The eXo Platform SAS Author : Vitaly Guly.
| Constructor Summary | |
|---|---|
CopyCommand()
Empty constructor |
|
CopyCommand(javax.ws.rs.core.UriBuilder uriBuilder,
boolean itemExisted)
Here we pass URI builder and info about pre-existence of item on the move destination path If an item existed, we must respond with NO_CONTENT (204) HTTP status. |
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
copy(javax.jcr.Session destSession,
String sourcePath,
String destPath)
Webdav COPY method implementation for the same workspace. |
javax.ws.rs.core.Response |
copy(javax.jcr.Session destSession,
String sourceWorkspace,
String sourcePath,
String destPath)
Webdav COPY method implementation for the different workspaces. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyCommand()
public CopyCommand(javax.ws.rs.core.UriBuilder uriBuilder,
boolean itemExisted)
uriBuilder - - provide data used in 'location' headeritemExisted - - indicates if an item existed on copy destination| Method Detail |
|---|
public javax.ws.rs.core.Response copy(javax.jcr.Session destSession,
String sourcePath,
String destPath)
destSession - destination sessionsourcePath - source file pathdestPath - destination file path
public javax.ws.rs.core.Response copy(javax.jcr.Session destSession,
String sourceWorkspace,
String sourcePath,
String destPath)
destSession - destination sessionsourceWorkspace - source workspace namesourcePath - source file pathdestPath - destination file path
|
eXo JCR :: Component :: Webdav Service 1.15.11-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||