public class MoveCommand extends Object
| Constructor and Description |
|---|
MoveCommand()
Empty constructor
|
MoveCommand(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.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
move(javax.jcr.Session sourceSession,
javax.jcr.Session destSession,
String srcPath,
String destPath)
Webdav Move method implementation.
|
javax.ws.rs.core.Response |
move(javax.jcr.Session session,
String srcPath,
String destPath)
Webdav Move method implementation.
|
public MoveCommand()
public MoveCommand(javax.ws.rs.core.UriBuilder uriBuilder,
boolean itemExisted)
uriBuilder - - provide data used in 'location' headeritemExisted - - indicates if an item existed on copy destinationpublic javax.ws.rs.core.Response move(javax.jcr.Session session,
String srcPath,
String destPath)
session - current session.srcPath - source resource pathdestPath - destination resource pathpublic javax.ws.rs.core.Response move(javax.jcr.Session sourceSession,
javax.jcr.Session destSession,
String srcPath,
String destPath)
sourceSession - source sessiondestSession - destination sessionsrcPath - source resource pathdestPath - destination resource pathCopyright © 2016 eXo Platform SAS. All Rights Reserved.