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

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

public class CopyCommand
extends java.lang.Object

Created by The eXo Platform SAS Author : Vitaly Guly

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

Constructor Summary
CopyCommand()
           
CopyCommand(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 copy(javax.jcr.Session destSession, java.lang.String sourcePath, java.lang.String destPath)
           
 org.exoplatform.services.rest.Response copy(javax.jcr.Session destSession, java.lang.String sourceWorkspace, java.lang.String sourcePath, java.lang.String destPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyCommand

public CopyCommand()

CopyCommand

public CopyCommand(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

copy

public org.exoplatform.services.rest.Response copy(javax.jcr.Session destSession,
                                                   java.lang.String sourcePath,
                                                   java.lang.String destPath)

copy

public org.exoplatform.services.rest.Response copy(javax.jcr.Session destSession,
                                                   java.lang.String sourceWorkspace,
                                                   java.lang.String sourcePath,
                                                   java.lang.String destPath)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.