org.exoplatform.services.ftp.command
Class CmdStor

java.lang.Object
  extended by org.exoplatform.services.ftp.command.FtpCommandImpl
      extended by org.exoplatform.services.ftp.command.CmdStor
All Implemented Interfaces:
org.apache.commons.chain.Command, FtpCommand

public class CmdStor
extends FtpCommandImpl

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: CmdStor.java 45993 2010-04-07 08:15:07Z rainf0x $

Field Summary
 
Fields inherited from class org.exoplatform.services.ftp.command.FtpCommandImpl
commandName, isNeedLogin, localClientSession
 
Constructor Summary
CmdStor()
           
 
Method Summary
protected  javax.jcr.Node createNewFileNode(javax.jcr.Session curSession, java.lang.String resName)
           
protected  javax.jcr.Node getExistedFileNode(javax.jcr.Session curSession, java.lang.String resName)
           
 void run(java.lang.String[] params)
           
 
Methods inherited from class org.exoplatform.services.ftp.command.FtpCommandImpl
clientSession, execute, getFileList, removeResource, reply, SendFileList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdStor

public CmdStor()
Method Detail

run

public void run(java.lang.String[] params)
         throws java.io.IOException
Specified by:
run in interface FtpCommand
Specified by:
run in class FtpCommandImpl
Throws:
java.io.IOException

getExistedFileNode

protected javax.jcr.Node getExistedFileNode(javax.jcr.Session curSession,
                                            java.lang.String resName)

createNewFileNode

protected javax.jcr.Node createNewFileNode(javax.jcr.Session curSession,
                                           java.lang.String resName)


Copyright © 2011 eXo Platform SAS. All Rights Reserved.