iSeries Remote Systems
v6.0.0

com.ibm.etools.systems.as400ifsfilesubsys.impl
Class AS400ifsFileSubSystemImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended bycom.ibm.etools.systems.subsystems.impl.SubSystemImpl
                  extended bycom.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemImpl
                      extended bycom.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemImpl
                          extended bycom.ibm.etools.systems.as400ifsfilesubsys.impl.AS400ifsFileSubSystemImpl
All Implemented Interfaces:
AS400ifsFileSubSystem, org.eclipse.emf.ecore.EObject, IAdaptable, com.ibm.etools.systems.subsystems.ICommunicationsListener, com.ibm.etools.systems.subsystems.IFileConstants, IISeriesSubSystem, org.eclipse.emf.ecore.InternalEObject, com.ibm.etools.systems.subsystems.IRemoteObjectResolver, IRunnableWithProgress, com.ibm.etools.systems.core.ISystemMessages, com.ibm.etools.systems.model.ISystemResourceChangeEvents, com.ibm.etools.systems.core.ISystemTypes, com.ibm.etools.systems.universal.miners.IUniversalDataStoreConstants, com.ibm.etools.systems.universal.IUniversalSubSystem, org.eclipse.emf.common.notify.Notifier, com.ibm.etools.systems.subsystems.RemoteFileSubSystem, com.ibm.etools.systems.subsystems.SubSystem, com.ibm.etools.systems.filters.SystemFilterPoolReferenceManagerProvider, com.ibm.etools.systems.universalfilesubsys.UniversalFileSubSystem

public class AS400ifsFileSubSystemImpl
extends com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemImpl
implements IISeriesSubSystem, AS400ifsFileSubSystem


Nested Class Summary
 
Nested classes inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl
com.ibm.etools.systems.subsystems.impl.SubSystemImpl.ConnectRunnable, com.ibm.etools.systems.subsystems.impl.SubSystemImpl.DisplayErrorMessageRunnable
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static String[] ALLDRIVES
           
static String copyright
           
protected static String ISERIES_RESERVED_EDEFAULT
          The default value of the 'ISeries Reserved' attribute.
protected  String iSeriesReserved
          The cached value of the 'ISeries Reserved' attribute.
 
Fields inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemImpl
_downloadDescriptor, _minerElement, _queryAllDescriptor, _queryFilesDescriptor, _queryFoldersDescriptor, _queryRemoteObjectDescriptor, _uploadLogElement, showHidden
 
Fields inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemImpl
_cachedRemoteFiles, _searchHistory, currFilterString, DEFAULT_CONTEXT, DEFAULT_CONTEXT_NOFILTERSTRING, FILTERSTRING_LISTROOTS, HOME_FOLDER_EDEFAULT, homeFolder, osCmdShell, osName, osVarsSet, osWindows, osWindows95, osWindowsNT
 
Fields inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl
_system, ADDITIONAL_ATTRIBUTES_EDEFAULT, additionalAttributes, additionalAttributesESet, cancelable, DELIM_VENDOR_ATTR_VALUE, DELIM_VENDOR_ATTRS, DELIM_VENDOR_NAME, doConnection, FACTORY_ID_EDEFAULT, factoryId, filterPoolReferenceManager, hidden, HIDDEN_EDEFAULT, IBM_ATTRIBUTES_EDEFAULT, ibmAttributes, ibmAttributesESet, ibmAttrs, monitor, name, NAME_EDEFAULT, operation, OPERATION_CANCEL_SHELL, OPERATION_CONNECT, OPERATION_DISCONNECT, OPERATION_GET_PROPERTIES, OPERATION_GET_PROPERTY, OPERATION_REMOVE_SHELL, OPERATION_RESOLVE_ABSOLUTE, OPERATION_RESOLVE_ABSOLUTES, OPERATION_RESOLVE_RELATIVE, OPERATION_RUN_COMMAND, OPERATION_RUN_SHELL, OPERATION_SEND_COMMAND_TO_SHELL, OPERATION_SET_PROPERTIES, OPERATION_SET_PROPERTY, parentConnection, parentSubSystemFactory, pmDialog, port, PORT_EDEFAULT, previousUserIdKey, remoteServerLauncher, runContext, runException, runInput, runInput2, runInputs, runInputs2, runInThread, runObject, runOutput, runOutputs, runOutputString, runOutputStrings, saveFileName, shell, sortResults, SUBSYSTEM_FILE_NAME, supportsConnecting, USE_SSL_EDEFAULT, USER_ID_EDEFAULT, userId, useSSL, VENDOR_ATTRIBUTES_EDEFAULT, vendorAttributes, vendorAttributesESet, vendorAttrs
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface com.ibm.etools.iseries.core.IISeriesSubSystem
Copyright
 
Fields inherited from interface com.ibm.etools.systems.subsystems.IFileConstants
LINE_SEPARATOR_BYTE_ARRAY_UNIX, LINE_SEPARATOR_BYTE_ARRAY_WINDOWS, PATH_SEPARATOR_CHAR_UNIX, PATH_SEPARATOR_CHAR_WINDOWS, PATH_SEPARATOR_UNIX, PATH_SEPARATOR_WINDOWS, SEPARATOR_CHAR_UNIX, SEPARATOR_CHAR_WINDOWS, SEPARATOR_UNIX, SEPARATOR_WINDOWS
 
Fields inherited from interface com.ibm.etools.systems.universal.miners.IUniversalDataStoreConstants
BINARY_MODE, BUFFER_SIZE, C_DOWNLOAD_FILE, C_QUERY_QUALIFIED_CLASSNAME, C_QUERY_UNUSED_PORT, C_SYSTEM_ENCODING, Copyright, DOWNLOAD_RESULT_EXCEPTION, DOWNLOAD_RESULT_FILE_NOT_FOUND_EXCEPTION, DOWNLOAD_RESULT_IO_EXCEPTION, DOWNLOAD_RESULT_SUCCESS_MESSAGE, DOWNLOAD_RESULT_SUCCESS_TYPE, DOWNLOAD_RESULT_UNEXPECTED_ERROR, DOWNLOAD_RESULT_UNSUPPORTED_ENCODING_EXCEPTION, FAILED, FAILED_TO_DELETE_DIR, FAILED_WITH_DOES_NOT_EXIST, FAILED_WITH_EXCEPTION, FAILED_WITH_EXIST, FAILED_WITH_SECURITY, KB_IN_BYTES, MESSAGE_DESCRIPTOR, NUM_OF_KB, SUCCESS, TEXT_MODE, TOKEN_SEPARATOR, TYPE_QUALIFIED_CLASSNAME, UNEXPECTED_ERROR, UNIVERSAL_ARCHIVE_FILE_DESCRIPTOR, UNIVERSAL_FILE_DESCRIPTOR, UNIVERSAL_FILESYSTEM_MINER, UNIVERSAL_FILTER_DESCRIPTOR, UNIVERSAL_FOLDER_DESCRIPTOR, UNIVERSAL_NODE_DESCRIPTOR, UNIVERSAL_TEMP_DESCRIPTOR, UNIVERSAL_VIRTUAL_FILE_DESCRIPTOR, UNIVERSAL_VIRTUAL_FOLDER_DESCRIPTOR, VERSION_1
 
Fields inherited from interface com.ibm.etools.systems.core.ISystemMessages
FILEMSG_ARCHIVE_CORRUPTED, FILEMSG_COPY_FILE_FAILED, FILEMSG_COPY_ROOT, FILEMSG_CREATE_FILE_FAILED, FILEMSG_CREATE_FILE_FAILED_EXIST, FILEMSG_CREATE_FOLDER_FAILED, FILEMSG_CREATE_FOLDER_FAILED_EXIST, FILEMSG_CREATE_RESOURCE_NOTVISIBLE, FILEMSG_DELETE_FILE_FAILED, FILEMSG_DESTINATION_CONFLICTING, FILEMSG_DESTINATION_EMPTY, FILEMSG_ERROR_NOFILETYPES, FILEMSG_EXPORT_ERROR, FILEMSG_EXPORT_FAILED, FILEMSG_EXPORT_NONE_SELECTED, FILEMSG_EXPORT_PROBLEMS, FILEMSG_FILE_NOTFOUND, FILEMSG_FOLDER_IS_FILE, FILEMSG_FOLDER_NOTEMPTY, FILEMSG_FOLDER_NOTFOUND, FILEMSG_FOLDER_NOTFOUND_WANTTOCREATE, FILEMSG_IMPORT_ERROR, FILEMSG_IMPORT_FAILED, FILEMSG_IMPORT_FILTERING, FILEMSG_IMPORT_NONE_SELECTED, FILEMSG_IMPORT_PROBLEMS, FILEMSG_IMPORT_SELF, FILEMSG_IO_ERROR, FILEMSG_MOVE_FILE_FAILED, FILEMSG_MOVE_TARGET_DESCENDS_FROM_SOUCE, FILEMSG_MOVE_TARGET_EQUALS_SOURCE, FILEMSG_NOT_WRITABLE, FILEMSG_RENAME_FILE_FAILED, FILEMSG_RENAME_RESOURCE_NOTVISIBLE, FILEMSG_SECURITY_ERROR, FILEMSG_SOURCE_EMPTY, FILEMSG_SOURCE_IS_FILE, FILEMSG_TARGET_EXISTS, FILEMSG_VALIDATE_FILEFILTERSTRING_EMPTY, FILEMSG_VALIDATE_FILEFILTERSTRING_NOINCLUDES, FILEMSG_VALIDATE_FILEFILTERSTRING_NOTUNIQUE, FILEMSG_VALIDATE_FILEFILTERSTRING_NOTVALID, MSG_ADDTO_VIRTUAL_DEST, MSG_CACHE_UNABLE_TO_SYNCH, MSG_CACHE_UPLOAD_BEFORE_DELETE, MSG_COMBINETO_VIRTUAL_DEST, MSG_COMM_AUTH_FAILED, MSG_COMM_CONNECT_FAILED, MSG_COMM_DAEMON_NOTSTARTED, MSG_COMM_ENVVAR_DUPLICATE, MSG_COMM_ENVVAR_INVALIDCHAR, MSG_COMM_ENVVAR_NONAME, MSG_COMM_INCOMPATIBLE_PROTOCOL, MSG_COMM_INCOMPATIBLE_UPDATE, MSG_COMM_INVALID_LOGIN, MSG_COMM_PORT_WARNING, MSG_COMM_PWD_BLANKFIELD, MSG_COMM_PWD_EXISTS, MSG_COMM_PWD_INVALID, MSG_COMM_PWD_MISMATCH, MSG_COMM_REXEC_NOTSTARTED, MSG_COMM_SERVER_NOTSTARTED, MSG_CONFIRM_CHANGES, MSG_CONFIRM_CHANGES_CANCELABLE, MSG_CONFIRM_DELETE, MSG_CONFIRM_DELETE_USERACTION, MSG_CONFIRM_DELETE_USERTYPE, MSG_CONFIRM_DELETEPROFILE, MSG_CONFIRM_DELETEREMOTE, MSG_CONFIRM_ENABLE_CLASSIC_HELP, MSG_CONFIRM_RELOADRSE, MSG_CONNECT_CANCELLED, MSG_CONNECT_DAEMON_FAILED, MSG_CONNECT_DAEMON_FAILED_EXCEPTION, MSG_CONNECT_FAILED, MSG_CONNECT_PROGRESS, MSG_CONNECT_SSL_EXCEPTION, MSG_CONNECT_UNKNOWNHOST, MSG_CONNECTING_TO_SERVER, MSG_CONNECTION_DELETED, MSG_CONNECTWITHPORT_PROGRESS, MSG_CONVERTTO_VIRTUAL_DEST, MSG_COPY_PROGRESS, MSG_COPYCONNECTION_PROGRESS, MSG_COPYCONNECTIONS_PROGRESS, MSG_COPYFILTER_PROGRESS, MSG_COPYFILTERPOOL_COMPLETE, MSG_COPYFILTERPOOL_PROGRESS, MSG_COPYFILTERPOOLS_PROGRESS, MSG_COPYFILTERS_PROGRESS, MSG_COPYFILTERSTRING_PROGRESS, MSG_COPYFILTERSTRINGS_PROGRESS, MSG_COPYGENERIC_PROGRESS, MSG_COPYSUBSYSTEMS_PROGRESS, MSG_COPYTHINGGENERIC_PROGRESS, MSG_DEST_NOT_IN_SOURCE, MSG_DEST_TARGET_READONLY, MSG_DISCONNECT_CANCELLED, MSG_DISCONNECT_FAILED, MSG_DISCONNECT_PROGRESS, MSG_DISCONNECTWITHPORT_PROGRESS, MSG_DOWNLOAD_ALREADY_OPEN_IN_EDITOR, MSG_DOWNLOAD_NO_WRITE, MSG_DOWNLOAD_PROGRESS, MSG_ERROR_CONNECTION_NOTFOUND, MSG_ERROR_ENABLE_CLASSIC_HELP, MSG_ERROR_EXTENSION_EMPTY, MSG_ERROR_FILE_NOTFOUND, MSG_ERROR_FILENAME_INVALID, MSG_ERROR_FOLDER_NOTFOUND, MSG_ERROR_FOLDERORFILE_NOTFOUND, MSG_ERROR_GENERAL, MSG_ERROR_LIST_TITLE, MSG_ERROR_PROFILE_NOTFOUND, MSG_ERROR_UNEXPECTED, MSG_EXCEPTION_DELETING, MSG_EXCEPTION_MOVING, MSG_EXCEPTION_OCCURRED, MSG_EXCEPTION_RENAMING, MSG_EXPAND_CANCELLED, MSG_EXPAND_CONNECTIONCREATED, MSG_EXPAND_EMPTY, MSG_EXPAND_FAILED, MSG_EXPAND_FILTERCREATED, MSG_EXPAND_PREFIX, MSG_EXTRACT_PROGRESS, MSG_FILE_INUSE, MSG_FILTERPOOL_CREATED, MSG_FOLDER_INUSE, MSG_GENERIC_E, MSG_GENERIC_E_HELP, MSG_GENERIC_E_TWOPARMS_HELP, MSG_GENERIC_I, MSG_GENERIC_I_HELP, MSG_GENERIC_I_TWOPARMS_HELP, MSG_GENERIC_Q, MSG_GENERIC_Q_HELP, MSG_GENERIC_Q_TWOPARMS_HELP, MSG_GENERIC_U, MSG_GENERIC_U_HELP, MSG_GENERIC_U_TWOPARMS_HELP, MSG_GENERIC_W, MSG_GENERIC_W_HELP, MSG_GENERIC_W_TWOPARMS_HELP, MSG_HOSTNAME_NOTFOUND, MSG_HOSTNAME_VERIFYING, MSG_IMPORT_EXPORT_UNABLE_TO_USE_CONNECTION, MSG_IMPORT_EXPORT_UNEXPECTED_EXCEPTION, MSG_INITIALIZING_SERVER, MSG_LIST_CANCELLED, MSG_LIST_PREFIX, MSG_LOADING_PROFILE_SHOULDBE_ACTIVATED, MSG_LOADING_PROFILE_SHOULDNOTBE_DEACTIVATED, MSG_MOVE_PROGRESS, MSG_MOVECONNECTION_PROGRESS, MSG_MOVECONNECTIONS_PROGRESS, MSG_MOVEFILTER_PROGRESS, MSG_MOVEFILTERPOOL_COMPLETE, MSG_MOVEFILTERPOOL_PROGRESS, MSG_MOVEFILTERPOOLS_PROGRESS, MSG_MOVEFILTERS_PROGRESS, MSG_MOVEFILTERSTRING_PROGRESS, MSG_MOVEFILTERSTRINGS_PROGRESS, MSG_MOVEGENERIC_PROGRESS, MSG_MOVETHINGGENERIC_PROGRESS, MSG_OFFLINE_CANT_CONNECT, MSG_OPERATION_CANCELLED, MSG_OPERATION_DISCONNECTED, MSG_OPERATION_FAILED, MSG_OPERATION_FINISHED, MSG_OPERATION_RUNNING, MSG_OPERTION_STOPPED, MSG_PERCENT_DONE, MSG_PREFIX, MSG_QUERY_PROGRESS, MSG_QUERY_PROPERTIES_PROGRESS, MSG_REMOTE_JAR_EXPORT_OVERWRITE_FILE, MSG_REMOTE_SEARCH_INVALID_REGEX, MSG_RENAMEFILTER_FAILED, MSG_RESOLVE_PROGRESS, MSG_RESTORE_FAILED, MSG_RUN_PROGRESS, MSG_SAVE_CHANGES_PENDING, MSG_SAVE_FAILED, MSG_SAVING_PROGRESS, MSG_SET_PROGRESS, MSG_SET_PROPERTIES_PROGRESS, MSG_STARTING_SERVER_VIA_DAEMON, MSG_STARTING_SERVER_VIA_REXEC, MSG_SYNCHRONIZE_PROGRESS, MSG_TRANSFER_INVALID, MSG_UCMD_INVOCATION_EMPTY, MSG_UDA_LOAD_ERROR, MSG_UDA_ROOTTAG_ERROR, MSG_UFF_PATTERN_EMPTY, MSG_UFF_PATTERN_INVALID_REGEX, MSG_UNDERCONSTRUCTION, MSG_UPDATEFILTER_FAILED, MSG_UPLOAD_FILE_EXISTS, MSG_UPLOAD_PROGRESS, MSG_VALIDATE_ARCHIVE_NAME, MSG_VALIDATE_COMPILELABEL_EMPTY, MSG_VALIDATE_COMPILELABEL_NOTUNIQUE, MSG_VALIDATE_COMPILELABEL_NOTVALID, MSG_VALIDATE_COMPILESTRING_EMPTY, MSG_VALIDATE_COMPILESTRING_NOTVALID, MSG_VALIDATE_CONNECTIONNAME_EMPTY, MSG_VALIDATE_CONNECTIONNAME_NOTUNIQUE, MSG_VALIDATE_CONNECTIONNAME_NOTUNIQUE_OTHERPROFILE, MSG_VALIDATE_CONNECTIONNAME_NOTVALID, MSG_VALIDATE_ENTRY_EMPTY, MSG_VALIDATE_ENTRY_NOTUNIQUE, MSG_VALIDATE_ENTRY_NOTVALID, MSG_VALIDATE_FILENAME_NOTVALID, MSG_VALIDATE_FILTERNAME_EMPTY, MSG_VALIDATE_FILTERNAME_NOTUNIQUE, MSG_VALIDATE_FILTERNAME_NOTVALID, MSG_VALIDATE_FILTERPOOLNAME_EMPTY, MSG_VALIDATE_FILTERPOOLNAME_NOTUNIQUE, MSG_VALIDATE_FILTERPOOLNAME_NOTVALID, MSG_VALIDATE_FILTERSTRING_ALREADYEXISTS, MSG_VALIDATE_FILTERSTRING_DUPLICATES, MSG_VALIDATE_FILTERSTRING_EMPTY, MSG_VALIDATE_FILTERSTRING_NOTUNIQUE, MSG_VALIDATE_FILTERSTRING_NOTVALID, MSG_VALIDATE_FOLDERNAME_NOTVALID, MSG_VALIDATE_HOSTNAME_EMPTY, MSG_VALIDATE_NAME_EMPTY, MSG_VALIDATE_NAME_NOTUNIQUE, MSG_VALIDATE_NAME_NOTVALID, MSG_VALIDATE_NOT_NUMERIC, MSG_VALIDATE_NUMBER_EMPTY, MSG_VALIDATE_NUMBER_NOTVALID, MSG_VALIDATE_NUMBER_OUTOFRANGE, MSG_VALIDATE_PASSWORD_EMPTY, MSG_VALIDATE_PASSWORD_EXPIRED, MSG_VALIDATE_PATH_EMPTY, MSG_VALIDATE_PATH_NOTUNIQUE, MSG_VALIDATE_PATH_NOTVALID, MSG_VALIDATE_PORT_EMPTY, MSG_VALIDATE_PORT_NOTVALID, MSG_VALIDATE_PROFILENAME_EMPTY, MSG_VALIDATE_PROFILENAME_NOTUNIQUE, MSG_VALIDATE_PROFILENAME_NOTVALID, MSG_VALIDATE_PROFILENAME_RESERVED, MSG_VALIDATE_RENAME_EMPTY, MSG_VALIDATE_RENAME_NOTUNIQUE, MSG_VALIDATE_RENAME_NOTVALID, MSG_VALIDATE_RENAME_OLDEQUALSNEW, MSG_VALIDATE_SRCTYPE_EMPTY, MSG_VALIDATE_SRCTYPE_NOTUNIQUE, MSG_VALIDATE_SRCTYPE_NOTVALID, MSG_VALIDATE_UDACMD_EMPTY, MSG_VALIDATE_UDACMD_NOTVALID, MSG_VALIDATE_UDACMT_EMPTY, MSG_VALIDATE_UDACMT_NOTVALID, MSG_VALIDATE_UDANAME_EMPTY, MSG_VALIDATE_UDANAME_NOTUNIQUE, MSG_VALIDATE_UDANAME_NOTVALID, MSG_VALIDATE_UDTNAME_EMPTY, MSG_VALIDATE_UDTNAME_NOTUNIQUE, MSG_VALIDATE_UDTNAME_NOTVALID, MSG_VALIDATE_UDTTYPES_EMPTY, MSG_VALIDATE_UDTTYPES_NOTVALID, MSG_VALIDATE_USERID_EMPTY, MSG_VALIDATE_USERID_NOTVALID, MSG_WIZARD_PAGE_ERROR, NEW_FILE_ACTION, NEW_FILE_WIZARD, NEW_FOLDER_ACTION, NEW_FOLDER_WIZARD, PLUGIN_ID, PREFIX, RESID_PREFIX
 
Fields inherited from interface com.ibm.etools.systems.core.ISystemTypes
SYSTEMTYPE_AIX, SYSTEMTYPE_ISERIES, SYSTEMTYPE_LINUX, SYSTEMTYPE_LOCAL, SYSTEMTYPE_PASE, SYSTEMTYPE_POWER_LINUX, SYSTEMTYPE_UNIX, SYSTEMTYPE_WINDOWS, SYSTEMTYPE_ZSERIES, SYSTEMTYPE_ZSERIES_LINUX
 
Fields inherited from interface com.ibm.etools.systems.universal.IUniversalSubSystem
Copyright
 
Fields inherited from interface com.ibm.etools.systems.model.ISystemResourceChangeEvents
EVENT_ADD, EVENT_ADD_FILTER_REFERENCE, EVENT_ADD_FILTERSTRING_REFERENCE, EVENT_ADD_MANY, EVENT_ADD_RELATIVE, EVENT_CHANGE_CHILDREN, EVENT_CHANGE_FILTER_REFERENCE, EVENT_CHANGE_FILTERSTRING_REFERENCE, EVENT_COLLAPSE_ALL, EVENT_COLLAPSE_SELECTED, EVENT_COMMAND_FINISHED, EVENT_COMMAND_HISTORY_UPDATE, EVENT_COMMAND_MESSAGE, EVENT_COMMAND_RUN, EVENT_COMMAND_SHELL_FINISHED, EVENT_COMMAND_SHELL_REMOVED, EVENT_COMPILE_COMMAND_RUN, EVENT_DELETE, EVENT_DELETE_FILTER_REFERENCE, EVENT_DELETE_FILTERSTRING_REFERENCE, EVENT_DELETE_MANY, EVENT_EXPAND_SELECTED, EVENT_ICON_CHANGE, EVENT_MOVE_FILTER_REFERENCES, EVENT_MOVE_FILTERSTRING_REFERENCES, EVENT_MOVE_MANY, EVENT_MUST_COLLAPSE, EVENT_PROPERTY_CHANGE, EVENT_PROPERTYSHEET_UPDATE, EVENT_REFRESH, EVENT_REFRESH_REMOTE, EVENT_REFRESH_SELECTED, EVENT_REFRESH_SELECTED_FILTER, EVENT_REFRESH_SELECTED_PARENT, EVENT_RENAME, EVENT_RENAME_FILTER_REFERENCE, EVENT_REPLACE_CHILDREN, EVENT_REVEAL_AND_SELECT, EVENT_SEARCH_FINISHED, EVENT_SELECT, EVENT_SELECT_EXPAND, EVENT_SELECT_REMOTE, PROPERTYSHEET_UPDATE_EVENT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
AS400ifsFileSubSystemImpl()
          Default constructor.
 
Method Summary
protected  void checkForNetworkErrors()
           
 void copy(IFile source, com.ibm.as400.access.IFSFile destination, IProgressMonitor monitor)
          Get a local file and save it remotely
 void copy(com.ibm.as400.access.IFSFile source, IFile destination, IProgressMonitor monitor)
          Get a remote file and save it locally
 boolean copy(com.ibm.etools.systems.subsystems.IRemoteFile sourceFolderOrFile, com.ibm.etools.systems.subsystems.IRemoteFile targetFolder, String newName, IProgressMonitor monitor)
           
 void copy(com.ibm.etools.systems.subsystems.IRemoteFile source, String destination, String encoding, IProgressMonitor monitor)
          Get the remote file and save it locally.
 void copy(String source, com.ibm.etools.systems.subsystems.IRemoteFile destination, String encoding, IProgressMonitor monitor)
          Put the local copy of the remote file back to the remote location.
 void copyLocalToRemote(String source, String destination, IProgressMonitor monitor)
           
 void copyLocalToRemote(String source, String srcEncoding, String remotePath, String rmtEncoding, IProgressMonitor monitor)
          Put the local copy of the remote file back to the remote location.
 com.ibm.etools.systems.subsystems.IRemoteFile createFile(com.ibm.etools.systems.subsystems.IRemoteFile fileToCreate)
          Create a new file, given its IRemoteFile object (these do not have to represent existing files).
 com.ibm.etools.systems.subsystems.IRemoteFile createFolder(com.ibm.etools.systems.subsystems.IRemoteFile folderToCreate)
           
 com.ibm.etools.systems.subsystems.IRemoteFile createFolders(com.ibm.etools.systems.subsystems.IRemoteFile folderToCreate)
          Given an IRemoteFile for a folder, this will create that folder and any missing parent folders in its path.
 boolean delete(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile)
          Delete the given remote file or folder.
 Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 CmdSubSystem getCmdSubSystem()
          Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.
 IISeriesSubSystemCommandExecutionProperties getCommandExecutionProperties()
          Method required in com.ibm.etools.iseries.core.IISeriesSubSystem interface.
 com.ibm.etools.systems.subsystems.RemoteCmdSubSystem getCommandSubSystem()
          Return the command subsystem.
 String getCurrentDirectory()
          Get the current directory for this connection
protected  com.ibm.etools.systems.dstore.core.model.DataStore getDataStore()
          Helper method to return the DataStore object needed by comm layer.
 String getISeriesReserved()
           
 ISeriesSystemDataStore getISeriesSystem()
          Return the shared ISystem system object for the given connection.
 FileSubSystem getObjectSubSystem()
          Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.
 PropertyPage getPropertyPage(Composite parent)
          Override so we are sure no pages are contributed to the subsystems tab of the property page for the parent connection.
 com.ibm.etools.systems.subsystems.IRemoteFileFactory getRemoteFileFactory()
          Return the ifsFileFactory
 Shell getShell()
          Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.
 com.ibm.etools.systems.subsystems.impl.AbstractSystemManager getSystemManager()
          Return a singleton instance of an AbstractSystemManager subclass that manages a pool of ISystem objects, one per system connection.
 com.ibm.as400.access.AS400 getToolboxAS400Object()
          Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.
 com.ibm.etools.systems.universalcmdsubsys.impl.UniversalCmdSubSystemImpl getUniversalCmdSubSystem()
           
protected  void internalDataStoreError(String subsystem, String method, String message)
          Helper method for logging datastore internal errors and throwing internal error exception
protected  Object[] internalResolveFilterString(IProgressMonitor monitor, Object parent, String filterString)
           
protected  Object[] internalResolveFilterString(IProgressMonitor monitor, String filterString)
           
 boolean isCaseSensitive()
          Return true if file names are case-sensitive.
 boolean move(com.ibm.etools.systems.subsystems.IRemoteFile sourceFolderOrFile, com.ibm.etools.systems.subsystems.IRemoteFile targetFolder, String newName)
           
 boolean rename(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile, String newName)
          Rename the given remote file or folder.
 void search(com.ibm.etools.systems.subsystems.IRemoteSearchResultConfiguration searchConfig)
          Given a search configuration, searches for its results.
 void setISeriesReserved(String newISeriesReserved)
           
 boolean setLastModified(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile, long newDate)
          Set the last modified date for the given file or folder.
 boolean setReadOnly(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile)
          Set this file to be readonly.
 void setShell(Shell shell)
          Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.
 String toString()
           
 
Methods inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemImpl
cancelSearch, convertObjsToRemoteFiles, convertObjsToRemoteFiles, convertObjToRemoteFile, convertObjToRemoteFile, findUploadLog, findUploadStatusFor, getDataStoreRoot, getDownloadDescriptor, getFileSystemMinerElement, getLanguageUtilityFactory, getLocalAddress, getParentFolder, getQualifiedClassName, getQueryAllDescriptor, getQueryFilesDescriptor, getQueryFoldersDescriptor, getQueryRemoteObjectDescriptor, getRemoteEncoding, getRemoteFileObject, getRemoteFileObject, getRemoteSearchResultConfigurationFactory, getUnusedPort, getWellKnownRemotePorts, isSpecialChar, listFiles, listFolders, listFoldersAndFiles, listRoots, prepareForDownload, selectCommandSubSystem, setAttributes, setDataStoreRoot, setSearchAttributes, showUploadFailedMessage
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemImpl
accept, addResolvedFilterStringObjects, cacheRemoteFile, cacheRemoteFile, checkForCancel, communicationsStateChange, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyUTF8, copyUTF8, copyUTF8, copyUTF8, copyUTF8, copyUTF8, doesFilterStringListContentsOf, doesFilterStringMatch, getCachedRemoteFile, getContext, getContext, getCurrentFilterString, getDefaultContext, getDefaultContextNoFilterString, getFilterStringListRoots, getFirstParentFilterString, getHomeFolder, getLineSeparator, getObjectWithAbsoluteName, getParentFolderName, getParentRemoteFileSubSystemFactory, getPathSeparator, getPathSeparatorChar, getRemoteSearchResultObject, getSeparator, getSeparatorChar, getTargetForFilter, internalResolveFilterStrings, internalResolveOneFilterString, isPassiveCommunicationsListener, listFiles, listFiles, listFolders, listFolders, listFoldersAndFiles, listFoldersAndFiles, listRoots, removeCachedRemoteFile, removeCachedRemoteFile, runLocalCommand, runLocalCommand, setHomeFolder, setListValues, setListValues, sortResolvedFilterStringObjects
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl
basicSetFilterPoolReferenceManager, basicSetRemoteServerLauncher, cancelShell, checkIsConnected, clearLocalUserId, connect, connect, connect, deletingConnection, disconnect, disconnect, displayAsyncMsg, doesFilterListContentsOf, doesFilterMatch, doesFilterTypeMatch, filterEventFilterCreated, filterEventFilterPoolReferenceCreated, filterEventFilterPoolReferenceDeleted, filterEventFilterPoolReferenceRenamed, filterEventFilterPoolReferenceReset, filterEventFilterPoolReferencesRePositioned, filterEventFilterPoolReferencesReset, filterEventFilterStringCreated, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, forceUserIdToUpperCase, getActiveWorkbenchShell, getActiveWorkbenchWindow, getAdapter, getAdditionalAttributes, getCacheManager, getChildren, getConnectionOwnedFilterPoolName, getConnectionPrivateFilterPool, getExecutedCommands, getFactoryId, getFilterPoolReferenceManager, getFilterReferenceWithAbsoluteName, getHostName, getIBMAttribute, getIbmAttributes, getLocalUserId, getLocalUserId, getName, getParentSubSystemFactory, getPort, getPortAsInt, getPreferencesKey, getPreferencesKey, getPreferencesManager, getProperties, getProperty, getQueryingMessage, getQueryingMessage, getRemoteServerLauncher, getResolvingMessage, getRunnableContext, getRunningMessage, getSaveFileName, getSettingMessage, getSettingMessage, getSystem, getSystemConnection, getSystemConnectionName, getSystemFilterPoolReferenceManager, getSystemProfile, getSystemProfileName, getSystemType, getUDActionSubsystem, getUniqueOwningSystemFilterPool, getUserId, getUserIdGen, getVendorAttribute, getVendorAttributes, hasChildren, internalCancelShell, internalConnect, internalDisconnect, internalGetProperties, internalGetProperty, internalRemoveShell, internalRunCommand, internalRunShell, internalSendCommandToShell, internalSetProperties, internalSetProperty, isConnected, isHidden, isOffline, isSetAdditionalAttributes, isSetIbmAttributes, isSetVendorAttributes, isUseSSL, removeShell, renamingConnection, renamingProfile, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterStrings, resolveFilterStrings, run, runCommand, runShell, sendCommandToShell, setAdditionalAttributes, setFactoryId, setFilterPoolReferenceManager, setHidden, setIBMAttribute, setIbmAttributes, setName, setParentConnection, setParentSubSystemFactory, setPort, setProperties, setProperty, setRemoteServerLauncher, setSaveFileName, setUserId, setUserIdGen, setUseSSL, setVendorAttribute, setVendorAttributes, showConnectCancelledMessage, showConnectErrorMessage, showDisconnectCancelledMessage, showDisconnectErrorMessage, showOperationCancelledMessage, showOperationErrorMessage, showOperationMessage, supportsCaching, unsetAdditionalAttributes, unsetIbmAttributes, unsetVendorAttributes
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.systems.subsystems.SubSystem
checkIsConnected, clearLocalUserId, connect, connect, connect, deletingConnection, disconnect, disconnect, doesFilterListContentsOf, doesFilterMatch, doesFilterStringListContentsOf, doesFilterStringMatch, forceUserIdToUpperCase, getAdditionalAttributes, getCacheManager, getChildren, getFactoryId, getFilterPoolReferenceManager, getIbmAttributes, getLocalUserId, getName, getParentSubSystemFactory, getPort, getPortAsInt, getProperties, getProperty, getRemoteServerLauncher, getSaveFileName, getSystem, getSystemConnection, getSystemConnectionName, getSystemFilterPoolReferenceManager, getSystemProfile, getSystemProfileName, getTargetForFilter, getUDActionSubsystem, getUserId, getVendorAttribute, getVendorAttributes, hasChildren, isConnected, isHidden, isOffline, isSetAdditionalAttributes, isSetIbmAttributes, isSetVendorAttributes, isUseSSL, renamingConnection, renamingProfile, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterStrings, resolveFilterStrings, setAdditionalAttributes, setFactoryId, setFilterPoolReferenceManager, setHidden, setIbmAttributes, setName, setParentConnection, setParentSubSystemFactory, setPort, setProperties, setProperty, setRemoteServerLauncher, setSaveFileName, setUserId, setUseSSL, setVendorAttribute, setVendorAttributes, supportsCaching, unsetAdditionalAttributes, unsetIbmAttributes, unsetVendorAttributes
 
Methods inherited from interface com.ibm.etools.systems.filters.SystemFilterPoolReferenceManagerProvider
filterEventFilterCreated, filterEventFilterPoolReferenceCreated, filterEventFilterPoolReferenceDeleted, filterEventFilterPoolReferenceRenamed, filterEventFilterPoolReferenceReset, filterEventFilterPoolReferencesRePositioned, filterEventFilterPoolReferencesReset, filterEventFilterStringCreated, getUniqueOwningSystemFilterPool
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectResolver
getObjectWithAbsoluteName
 
Methods inherited from interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
cancelSearch, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyUTF8, copyUTF8, copyUTF8, copyUTF8, copyUTF8, copyUTF8, getHomeFolder, getLanguageUtilityFactory, getLineSeparator, getLocalAddress, getParentFolder, getParentFolderName, getParentRemoteFileSubSystemFactory, getPathSeparator, getPathSeparatorChar, getRemoteEncoding, getRemoteFileObject, getRemoteFileObject, getRemoteSearchResultConfigurationFactory, getRemoteSearchResultObject, getSeparator, getSeparatorChar, getUnusedPort, listFiles, listFiles, listFolders, listFolders, listFoldersAndFiles, listFoldersAndFiles, listRoots, setHomeFolder
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

ISERIES_RESERVED_EDEFAULT

protected static final String ISERIES_RESERVED_EDEFAULT
The default value of the 'ISeries Reserved' attribute.

See Also:
getISeriesReserved()

iSeriesReserved

protected String iSeriesReserved
The cached value of the 'ISeries Reserved' attribute.

See Also:
getISeriesReserved()

ALLDRIVES

protected static final String[] ALLDRIVES
Constructor Detail

AS400ifsFileSubSystemImpl

public AS400ifsFileSubSystemImpl()
Default constructor. Called by MOF.

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()


getISeriesReserved

public String getISeriesReserved()

Specified by:
getISeriesReserved in interface AS400ifsFileSubSystem
Returns:
the value of the 'ISeries Reserved' attribute.
See Also:
AS400ifsFileSubSystem.setISeriesReserved(String), As400ifsfilesubsysPackage.getAS400ifsFileSubSystem_ISeriesReserved()

setISeriesReserved

public void setISeriesReserved(String newISeriesReserved)

Specified by:
setISeriesReserved in interface AS400ifsFileSubSystem
Parameters:
newISeriesReserved - the new value of the 'ISeries Reserved' attribute.
See Also:
AS400ifsFileSubSystem.getISeriesReserved()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   Class baseClass,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseAdd in interface org.eclipse.emf.ecore.InternalEObject

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject

eGet

public Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject

toString

public String toString()


isCaseSensitive

public boolean isCaseSensitive()
Return true if file names are case-sensitive. Used when doing name or type filtering Returns false

Specified by:
isCaseSensitive in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem

getSystemManager

public com.ibm.etools.systems.subsystems.impl.AbstractSystemManager getSystemManager()
Return a singleton instance of an AbstractSystemManager subclass that manages a pool of ISystem objects, one per system connection. By default, getSystem() calls this, unless you override getSystem().

Specified by:
getSystemManager in interface com.ibm.etools.systems.subsystems.SubSystem
Returns:
ISeriesSystemManager.getTheISeriesSystemManager()

getISeriesSystem

public ISeriesSystemDataStore getISeriesSystem()
Return the shared ISystem system object for the given connection. You can use this to test if we are connected, or to retrieve an iSeries JDBC connection, for example.

Specified by:
getISeriesSystem in interface IISeriesSubSystem

getDataStore

protected com.ibm.etools.systems.dstore.core.model.DataStore getDataStore()
Helper method to return the DataStore object needed by comm layer.


getToolboxAS400Object

public com.ibm.as400.access.AS400 getToolboxAS400Object()
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.

Return the iSeries Toolbox for Java "AS400" object for this connection. This may, or may not, be connected yet. To test, call SubSystemImpl.isConnected() To connect, call SubSystemImpl.connect() or preferably SubSystemImpl.connect(Shell)

Specified by:
getToolboxAS400Object in interface IISeriesSubSystem

setShell

public void setShell(Shell shell)
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.

Set the shell to be used when a dialog is needed, such as when prompting for password or showing an error message.

Specified by:
setShell in interface IISeriesSubSystem

getShell

public Shell getShell()
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement.

Get the shell to be used when a dialog is needed, such as when prompting for password or showing an error message. This is as last set by calling setShell(Shell).

Specified by:
getShell in interface IISeriesSubSystem

getCommandExecutionProperties

public IISeriesSubSystemCommandExecutionProperties getCommandExecutionProperties()
Method required in com.ibm.etools.iseries.core.IISeriesSubSystem interface.

Return the Command Execution Property Page properties that are accessible from all iSeries subsystems. All our subsystems implement this method, but only the Objects SubSystem actually implements the interface and hence returns "this". All others return the objects subsystem instance.

Specified by:
getCommandExecutionProperties in interface IISeriesSubSystem

getRemoteFileFactory

public com.ibm.etools.systems.subsystems.IRemoteFileFactory getRemoteFileFactory()
Return the ifsFileFactory


getCommandSubSystem

public com.ibm.etools.systems.subsystems.RemoteCmdSubSystem getCommandSubSystem()
Return the command subsystem. We map this to returning the ifs cmd subsystem.

Specified by:
getCommandSubSystem in interface com.ibm.etools.systems.subsystems.SubSystem

createFile

public com.ibm.etools.systems.subsystems.IRemoteFile createFile(com.ibm.etools.systems.subsystems.IRemoteFile fileToCreate)
                                                         throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                                                                com.ibm.etools.systems.subsystems.RemoteFileIOException
Create a new file, given its IRemoteFile object (these do not have to represent existing files).

Specified by:
createFile in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
fileToCreate - The object representing the file to be created.
Returns:
The same input object returned for convenience. Will throw exception if it fails.
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException
See Also:
createFolders(IRemoteFile)

createFolder

public com.ibm.etools.systems.subsystems.IRemoteFile createFolder(com.ibm.etools.systems.subsystems.IRemoteFile folderToCreate)
                                                           throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                                                                  com.ibm.etools.systems.subsystems.RemoteFileIOException
Specified by:
createFolder in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

createFolders

public com.ibm.etools.systems.subsystems.IRemoteFile createFolders(com.ibm.etools.systems.subsystems.IRemoteFile folderToCreate)
                                                            throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                                                                   com.ibm.etools.systems.subsystems.RemoteFileIOException
Given an IRemoteFile for a folder, this will create that folder and any missing parent folders in its path. Use getParentFolder to get the parent object of your file or folder in order to call this method.

Specified by:
createFolders in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
folderToCreate - The object representing the folder to be created, along with its parents.
Returns:
The same input object returned for convenience. Will throw exception if it fails.
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException
See Also:
UniversalFileSubSystemImpl.getParentFolder(IRemoteFile)

delete

public boolean delete(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile)
               throws com.ibm.etools.systems.subsystems.RemoteFolderNotEmptyException,
                      com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                      com.ibm.etools.systems.subsystems.RemoteFileIOException
Delete the given remote file or folder.

Specified by:
delete in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
folderOrFile - represents the object to be deleted.
Returns:
false if the given folder/file didn't exist to begin with, else true. Throws an exception if anything fails.
Throws:
com.ibm.etools.systems.subsystems.RemoteFolderNotEmptyException
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

rename

public boolean rename(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile,
                      String newName)
               throws com.ibm.etools.systems.subsystems.RemoteFileIOException,
                      com.ibm.etools.systems.subsystems.RemoteFileSecurityException
Rename the given remote file or folder. This renames it in memory and, iff it exists, on disk.

Specified by:
rename in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
folderOrFile - represents the object to be renamed.
newName - new name to give it.
Returns:
false if the given folder/file didn't exist on disk (still renamed in memory), else true. Throws an exception if anything fails.
Throws:
com.ibm.etools.systems.subsystems.RemoteFileIOException
com.ibm.etools.systems.subsystems.RemoteFileSecurityException

search

public void search(com.ibm.etools.systems.subsystems.IRemoteSearchResultConfiguration searchConfig)
Given a search configuration, searches for its results.

Specified by:
search in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
searchConfig - must be an instance of UniversalSearchResultConfigurationImpl.
See Also:
RemoteFileSubSystem.search(com.ibm.etools.systems.subsystems.IRemoteSearchResultConfiguration)

setLastModified

public boolean setLastModified(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile,
                               long newDate)
                        throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                               com.ibm.etools.systems.subsystems.RemoteFileIOException
Set the last modified date for the given file or folder. Like a Unix "touch" operation. Folder or file must exist on disk for this to succeed.

Specified by:
setLastModified in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
folderOrFile - represents the object to be renamed.
newDate - new date, in milliseconds from epoch, to assign.
Returns:
false if the given folder/file didn't exist on disk (operation fails), else true. Throws an exception if anything fails.
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

setReadOnly

public boolean setReadOnly(com.ibm.etools.systems.subsystems.IRemoteFile folderOrFile)
                    throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                           com.ibm.etools.systems.subsystems.RemoteFileIOException
Set this file to be readonly. Folder or file must exist on disk for this to succeed.

Specified by:
setReadOnly in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
folderOrFile - represents the object to be renamed.
Returns:
false if the given folder/file didn't exist on disk (operation fails), else true. Throws an exception if anything fails.
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

getCmdSubSystem

public CmdSubSystem getCmdSubSystem()
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement. Returns the QSYS command subsystem ("iSeries Commands")

Specified by:
getCmdSubSystem in interface IISeriesSubSystem

getObjectSubSystem

public FileSubSystem getObjectSubSystem()
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement. Returns the QSYS file subsystem ("iSeries Objects")

Specified by:
getObjectSubSystem in interface IISeriesSubSystem

getUniversalCmdSubSystem

public com.ibm.etools.systems.universalcmdsubsys.impl.UniversalCmdSubSystemImpl getUniversalCmdSubSystem()
See Also:
UniversalFileSubSystemImpl.getUniversalCmdSubSystem()

copy

public void copy(com.ibm.etools.systems.subsystems.IRemoteFile source,
                 String destination,
                 String encoding,
                 IProgressMonitor monitor)
          throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                 com.ibm.etools.systems.subsystems.RemoteFileIOException
Get the remote file and save it locally. The file is saved in the encoding specified.

Specified by:
copy in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
source - remote file that represents the file to be obtained
destination - the absolute path of the local file
encoding - the encoding of the local file
monitor - the progress monitor for the copy operation
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

copy

public void copy(String source,
                 com.ibm.etools.systems.subsystems.IRemoteFile destination,
                 String encoding,
                 IProgressMonitor monitor)
          throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                 com.ibm.etools.systems.subsystems.RemoteFileIOException
Put the local copy of the remote file back to the remote location. The file is assumed to be in the encoding specified

Specified by:
copy in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
source - the absolute path of the local copy
destination - remote file that represents the file on the server
encoding - the encoding of the local copy
monitor - the progress monitor for the copy operation
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

copyLocalToRemote

public void copyLocalToRemote(String source,
                              String destination,
                              IProgressMonitor monitor)
                       throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                              com.ibm.etools.systems.subsystems.RemoteFileIOException
Specified by:
copyLocalToRemote in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException
See Also:
RemoteFileSubSystem.copyLocalToRemote(java.lang.String, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)

copyLocalToRemote

public void copyLocalToRemote(String source,
                              String srcEncoding,
                              String remotePath,
                              String rmtEncoding,
                              IProgressMonitor monitor)
                       throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                              com.ibm.etools.systems.subsystems.RemoteFileIOException
Put the local copy of the remote file back to the remote location. The file is assumed to be in the encoding specified

Specified by:
copyLocalToRemote in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Parameters:
source - the absolute path of the local copy
srcEncoding - The encoding of the local copy
remotePath - remote file that represents the file on the server
rmtEncoding - The encoding of the remote file.
monitor - the progress monitor for the copy operation
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException

copy

public void copy(com.ibm.as400.access.IFSFile source,
                 IFile destination,
                 IProgressMonitor monitor)
          throws com.ibm.etools.systems.subsystems.RemoteFileIOException,
                 com.ibm.etools.systems.subsystems.RemoteFileSecurityException
Get a remote file and save it locally

Parameters:
monitor - the progress monitor for the copy operation
Throws:
com.ibm.etools.systems.subsystems.RemoteFileIOException
com.ibm.etools.systems.subsystems.RemoteFileSecurityException

copy

public void copy(IFile source,
                 com.ibm.as400.access.IFSFile destination,
                 IProgressMonitor monitor)
          throws com.ibm.etools.systems.subsystems.RemoteFileIOException,
                 com.ibm.etools.systems.subsystems.RemoteFileSecurityException
Get a local file and save it remotely

Parameters:
monitor - the progress monitor for the copy operation
Throws:
com.ibm.etools.systems.subsystems.RemoteFileIOException
com.ibm.etools.systems.subsystems.RemoteFileSecurityException

copy

public boolean copy(com.ibm.etools.systems.subsystems.IRemoteFile sourceFolderOrFile,
                    com.ibm.etools.systems.subsystems.IRemoteFile targetFolder,
                    String newName,
                    IProgressMonitor monitor)
             throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                    com.ibm.etools.systems.subsystems.RemoteFileIOException
Specified by:
copy in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException
See Also:
RemoteFileSubSystem.copy(IRemoteFile, IRemoteFile, String, IProgressMonitor)

move

public boolean move(com.ibm.etools.systems.subsystems.IRemoteFile sourceFolderOrFile,
                    com.ibm.etools.systems.subsystems.IRemoteFile targetFolder,
                    String newName)
             throws com.ibm.etools.systems.subsystems.RemoteFileSecurityException,
                    com.ibm.etools.systems.subsystems.RemoteFileIOException
Specified by:
move in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystem
Throws:
com.ibm.etools.systems.subsystems.RemoteFileSecurityException
com.ibm.etools.systems.subsystems.RemoteFileIOException
See Also:
RemoteFileSubSystemImpl.move(IRemoteFile, IRemoteFile, String)

getCurrentDirectory

public String getCurrentDirectory()
                           throws com.ibm.etools.systems.core.messages.SystemMessageException
Get the current directory for this connection

Throws:
com.ibm.etools.systems.core.messages.SystemMessageException

internalDataStoreError

protected void internalDataStoreError(String subsystem,
                                      String method,
                                      String message)
                               throws com.ibm.etools.systems.core.messages.SystemMessageException
Helper method for logging datastore internal errors and throwing internal error exception

Throws:
com.ibm.etools.systems.core.messages.SystemMessageException

getPropertyPage

public PropertyPage getPropertyPage(Composite parent)
Override so we are sure no pages are contributed to the subsystems tab of the property page for the parent connection.

Specified by:
getPropertyPage in interface com.ibm.etools.systems.subsystems.SubSystem

internalResolveFilterString

protected Object[] internalResolveFilterString(IProgressMonitor monitor,
                                               Object parent,
                                               String filterString)
                                        throws InvocationTargetException,
                                               InterruptedException
Throws:
InvocationTargetException
InterruptedException
See Also:
RemoteFileSubSystemImpl.internalResolveFilterString(IProgressMonitor, Object, String)

internalResolveFilterString

protected Object[] internalResolveFilterString(IProgressMonitor monitor,
                                               String filterString)
                                        throws InvocationTargetException,
                                               InterruptedException
Throws:
InvocationTargetException
InterruptedException
See Also:
RemoteFileSubSystemImpl.internalResolveFilterString(IProgressMonitor, String)

checkForNetworkErrors

protected void checkForNetworkErrors()
                              throws com.ibm.etools.systems.core.messages.SystemMessageException
Throws:
com.ibm.etools.systems.core.messages.SystemMessageException
See Also:
UniversalFileSubSystemImpl#isNetworkDown()

iSeries Remote Systems
v6.0.0

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.