org.itr_rescue.dataGuard.DataObjectModel
Class AbstractFileAction
java.lang.Object
org.itr_rescue.dataGuard.DataObjectModel.AbstractFileAction
- All Implemented Interfaces:
- java.lang.Comparable, IAction
- Direct Known Subclasses:
- CopyFileAction, CutFileAction, DeleteFileAction, FileSearchAction, HelpAction, IndexAction, MakeDirFileAction, MoveFileAction, NewServiceAction, OpenFileAction, PasteFileAction, QuitAction, RenameFileAction, UpdateFileAction, UpdateFileStructure
public abstract class AbstractFileAction
- extends java.lang.Object
- implements IAction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
remoteView
protected RemoteFileSystemView remoteView
localView
protected JFMView localView
fileSystem
protected XmlFileSystemModel fileSystem
remotePath
protected java.lang.String remotePath
localPath
protected java.lang.String localPath
selectedLocalFiles
protected JFMFile[] selectedLocalFiles
selectedRemoteFiles
protected AbstractObjectData[] selectedRemoteFiles
actionParameter
protected java.lang.String actionParameter
actionPriority
protected int actionPriority
transferType
protected boolean transferType
- transferType = false: localFileSystem --> remoteFileSystem transferType =
true: remoteFileSystem --> localFileSystem
AbstractFileAction
public AbstractFileAction()
setActionParameter
public void setActionParameter(java.lang.String params)
- Specified by:
setActionParameter
in interface IAction
executeLocal
public boolean executeLocal()
- Specified by:
executeLocal
in interface IAction
executeRemote
public boolean executeRemote()
- Specified by:
executeRemote
in interface IAction
execute
public boolean execute()
- Specified by:
execute
in interface IAction
setRemoteView
public void setRemoteView(IRemoteView remote)
- Specified by:
setRemoteView
in interface IAction
setSelectedObjects
public void setSelectedObjects(AbstractObjectData[] objs)
setLocalView
public void setLocalView(JFMView local)
- Specified by:
setLocalView
in interface IAction
loadComponent
protected void loadComponent()
- This method initialize the parameters for the execution. It must be
called before the execute method but after the set of remoteView and
localView.
checkTransferType
protected void checkTransferType()
compareTo
public abstract int compareTo(java.lang.Object arg0)
- Specified by:
compareTo
in interface java.lang.Comparable