org.itr_rescue.dataGuard.DataObjectModel
Class UpdateFileAction

java.lang.Object
  extended by org.itr_rescue.dataGuard.DataObjectModel.AbstractFileAction
      extended by org.itr_rescue.dataGuard.DataObjectModel.UpdateFileAction
All Implemented Interfaces:
java.lang.Comparable, IAction

public class UpdateFileAction
extends AbstractFileAction


Field Summary
protected  java.io.File fileToUpdate
           
protected  java.lang.String objectId
           
 
Fields inherited from class org.itr_rescue.dataGuard.DataObjectModel.AbstractFileAction
actionParameter, actionPriority, fileSystem, localPath, localView, remotePath, remoteView, selectedLocalFiles, selectedRemoteFiles, transferType
 
Constructor Summary
UpdateFileAction(java.lang.String objectId, java.io.File file, RemoteFileSystemView viewToUpdate)
           
 
Method Summary
 int compareTo(java.lang.Object arg0)
           
 boolean execute()
           
 
Methods inherited from class org.itr_rescue.dataGuard.DataObjectModel.AbstractFileAction
checkTransferType, executeLocal, executeRemote, loadComponent, setActionParameter, setLocalView, setRemoteView, setSelectedObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileToUpdate

protected java.io.File fileToUpdate

objectId

protected java.lang.String objectId
Constructor Detail

UpdateFileAction

public UpdateFileAction(java.lang.String objectId,
                        java.io.File file,
                        RemoteFileSystemView viewToUpdate)
Method Detail

execute

public boolean execute()
Specified by:
execute in interface IAction
Overrides:
execute in class AbstractFileAction

compareTo

public int compareTo(java.lang.Object arg0)
Specified by:
compareTo in interface java.lang.Comparable
Specified by:
compareTo in class AbstractFileAction