org.apache.jackrabbit.standalone.cli.fs
Class ExportFileSystem

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.fs.ExportFileSystem
All Implemented Interfaces:
org.apache.commons.chain.Command

public class ExportFileSystem
extends Object
implements org.apache.commons.chain.Command

Export a Node of type nt:file or nt:folder to the given file system path.


Constructor Summary
ExportFileSystem()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getDestFsPathKey()
           
 String getOverwriteKey()
           
 String getSrcJcrPathKey()
           
 void setDestFsPathKey(String toFsPathKey)
           
 void setOverwriteKey(String overwriteKey)
           
 void setSrcJcrPathKey(String srcJcrPathKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportFileSystem

public ExportFileSystem()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

getOverwriteKey

public String getOverwriteKey()
Returns:
the overwrite key

setOverwriteKey

public void setOverwriteKey(String overwriteKey)
Parameters:
overwriteKey - the overwrite key to set

getSrcJcrPathKey

public String getSrcJcrPathKey()
Returns:
the source jcr path key

setSrcJcrPathKey

public void setSrcJcrPathKey(String srcJcrPathKey)
Parameters:
srcJcrPathKey - the source jcr path key to set

getDestFsPathKey

public String getDestFsPathKey()
Returns:
the destination file system path key

setDestFsPathKey

public void setDestFsPathKey(String toFsPathKey)
Parameters:
toFsPathKey - the destination file system path key to set


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.