ccs.cpc.impl
Class CopyPayload

java.lang.Object
  extended by ccs.cpc.impl.ConfirmingVFileProcessor
      extended by ccs.cpc.impl.CopyPayload
All Implemented Interfaces:
VFileProcessor
Direct Known Subclasses:
MovePayload

 class CopyPayload
extends ConfirmingVFileProcessor


Field Summary
protected  CpcImpl cpc
           
protected  int nDirs
           
protected  int nFiles
           
protected  int nLoss
           
protected  VFile srcRootDir
           
protected  VFile tgtDir
           
 
Constructor Summary
CopyPayload(CpcImpl cpc, BrowserLogic caller, BrowserLogic target)
           
 
Method Summary
 java.lang.String getStatusPrefix()
           
 boolean isProcessDirsAtomically()
           
 boolean isReportFiles()
           
 void postprocess()
           
 void postprocessDir(RecurseUpdater ru, VFile vparent, VFile vdir)
           
 void preprocess()
           
 void preprocessDir(RecurseUpdater ru, VFile vparent, VFile vdir)
           
 void processDirAtomically(RecurseUpdater ru, VFile parent, VFile dir)
           
 void processFile(RecurseUpdater ru, VFile vdir, VFile vf)
           
 
Methods inherited from class ccs.cpc.impl.ConfirmingVFileProcessor
confirm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cpc

protected CpcImpl cpc

srcRootDir

protected VFile srcRootDir

tgtDir

protected VFile tgtDir

nFiles

protected int nFiles

nDirs

protected int nDirs

nLoss

protected int nLoss
Constructor Detail

CopyPayload

CopyPayload(CpcImpl cpc,
            BrowserLogic caller,
            BrowserLogic target)
Method Detail

preprocess

public void preprocess()
                throws java.lang.Exception
Throws:
java.lang.Exception

processFile

public void processFile(RecurseUpdater ru,
                        VFile vdir,
                        VFile vf)
                 throws java.lang.Exception
Throws:
java.lang.Exception

preprocessDir

public void preprocessDir(RecurseUpdater ru,
                          VFile vparent,
                          VFile vdir)
                   throws java.lang.Exception
Throws:
java.lang.Exception

postprocessDir

public void postprocessDir(RecurseUpdater ru,
                           VFile vparent,
                           VFile vdir)
                    throws java.lang.Exception
Throws:
java.lang.Exception

postprocess

public void postprocess()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getStatusPrefix

public java.lang.String getStatusPrefix()

isProcessDirsAtomically

public boolean isProcessDirsAtomically()

processDirAtomically

public void processDirAtomically(RecurseUpdater ru,
                                 VFile parent,
                                 VFile dir)
                          throws java.lang.Exception
Throws:
java.lang.Exception

isReportFiles

public boolean isReportFiles()