org.exoplatform.services.jcr.webdav.command
Class MoveCommand

java.lang.Object
  extended by org.exoplatform.services.jcr.webdav.command.MoveCommand

public class MoveCommand
extends java.lang.Object

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: MoveCommand.java 67273 2011-03-17 10:24:40Z trang_vu $

Constructor Summary
MoveCommand()
           
MoveCommand(boolean itemExisted)
          Here we pass info about pre-existence of item on the copy destination path If an item existed, we must respond with NO_CONTENT (204) HTTP status.
 
Method Summary
 org.exoplatform.services.rest.Response move(javax.jcr.Session sourceSession, javax.jcr.Session destSession, java.lang.String srcPath, java.lang.String destPath)
           
 org.exoplatform.services.rest.Response move(javax.jcr.Session session, java.lang.String srcPath, java.lang.String destPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveCommand

public MoveCommand()

MoveCommand

public MoveCommand(boolean itemExisted)
Here we pass info about pre-existence of item on the copy destination path If an item existed, we must respond with NO_CONTENT (204) HTTP status. If an item did not exist, we must respond with CREATED (201) HTTP status More info can be found here.

Method Detail

move

public org.exoplatform.services.rest.Response move(javax.jcr.Session session,
                                                   java.lang.String srcPath,
                                                   java.lang.String destPath)

move

public org.exoplatform.services.rest.Response move(javax.jcr.Session sourceSession,
                                                   javax.jcr.Session destSession,
                                                   java.lang.String srcPath,
                                                   java.lang.String destPath)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.