iSeries Remote Systems
v6.0.1

com.ibm.etools.systems.as400filesubsys.impl
Class FileSubSystemImpl

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.as400cmdsubsys.impl.AS400SubSystemImpl
                      extended bycom.ibm.etools.systems.as400filesubsys.impl.FileSubSystemImpl
All Implemented Interfaces:
AS400SubSystem, org.eclipse.emf.ecore.EObject, FileSubSystem, IAdaptable, IISeriesDataElementDescriptorTypes, IISeriesSubSystem, IISeriesSubSystemCommandExecutionProperties, org.eclipse.emf.ecore.InternalEObject, com.ibm.etools.systems.subsystems.IRemoteObjectResolver, IRunnableWithProgress, ISeriesDataStoreConstants, com.ibm.etools.systems.model.ISystemResourceChangeEvents, org.eclipse.emf.common.notify.Notifier, com.ibm.etools.systems.subsystems.SubSystem, com.ibm.etools.systems.filters.SystemFilterPoolReferenceManagerProvider

public class FileSubSystemImpl
extends AS400SubSystemImpl
implements FileSubSystem, AS400SubSystem, IISeriesDataElementDescriptorTypes, ISeriesDataStoreConstants


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
static String copyright
           
protected static String EXTRA_ATTRIBUTES_EDEFAULT
          The default value of the 'Extra Attributes' attribute.
protected  String extraAttributes
           
static int EXTRACT_ADDITIONAL
           
static int EXTRACT_DEFAULT
           
protected static boolean INTERNAL_COMPILE_IN_BATCH_EDEFAULT
          The default value of the 'Internal Compile In Batch' attribute.
protected static String INTERNAL_JOB_DESCRIPTION_EDEFAULT
          The default value of the 'Internal Job Description' attribute.
protected static String INTERNAL_OBJECT_LIBRARY_EDEFAULT
          The default value of the 'Internal Object Library' attribute.
protected static boolean INTERNAL_REPLACE_OBJECT_EDEFAULT
          The default value of the 'Internal Replace Object' attribute.
protected static boolean INTERNAL_RUN_IN_BATCH_EDEFAULT
          The default value of the 'Internal Run In Batch' attribute.
protected static String INTERNAL_SBMJOB_PARMS_EDEFAULT
          The default value of the 'Internal SBMJOB Parms' attribute.
protected  boolean internalCompileInBatch
           
protected  boolean internalCompileInBatchESet
          This is true if the Internal Compile In Batch attribute has been set.
protected  String internalJobDescription
           
protected  boolean internalJobDescriptionESet
          This is true if the Internal Job Description attribute has been set.
protected  String internalObjectLibrary
           
protected  boolean internalObjectLibraryESet
          This is true if the Internal Object Library attribute has been set.
protected  boolean internalReplaceObject
           
protected  boolean internalReplaceObjectESet
          This is true if the Internal Replace Object attribute has been set.
protected  boolean internalRunInBatch
           
protected  boolean internalRunInBatchESet
          This is true if the Internal Run In Batch attribute has been set.
protected  String internalSBMJOBParms
           
protected  boolean internalSBMJOBParmsESet
          This is true if the Internal SBMJOB Parms attribute has been set.
 
Fields inherited from class com.ibm.etools.systems.as400cmdsubsys.impl.AS400SubSystemImpl
shell
 
Fields inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl
_connectionError, _disconnecting, _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, runInterpret, runInThread, runObject, runOutput, runOutputs, runOutputString, runOutputStrings, saveFileName, 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.iseries.core.IISeriesSubSystemCommandExecutionProperties
Copyright
 
Fields inherited from interface com.ibm.etools.iseries.core.descriptors.IISeriesDataElementDescriptorTypes
Copyright, DSPF_FILE_TYPE, DTA_FILE_TYPE, FILE_TYPE, LF_FILE_TYPE, LIB_TYPE, MBR_TYPE, MESSAGE_DESCRIPTION_TYPE, MODULE_TYPE, MSG_FILE_TYPE, OBJ_TYPE, PGM_MODULE_TYPE, PGM_TYPE, PROCEDURE_TYPE, QRYDFN_TYPE, SAVF_FILE_TYPE, SRC_FILE_TYPE, SRC_MBR_TYPE, SRVPGM_TYPE, UNKNOWN_TYPE
 
Fields inherited from interface com.ibm.etools.iseries.core.dstore.common.ISeriesDataStoreConstants
ABSTRACT_FILTER_DESCRIPTOR, ABSTRACT_NATIVE_FSO_DESCRIPTOR, API_ERROR, API_ERROR_DESCRIPTOR, API_OK, API_PTF_MISSING, API_RESULT_DESCRIPTOR, API_RETURN_CODE, AUTHORITY_LIST_NODE, AUTHORITY_NODE, BATCHCOMMAND_DESCRIPTOR, C_GET_EDIT_CCSID, C_LDA_READ, C_LDA_WRITE, C_USER_PREFERENCES_DIRECTORY, CCSID_DESCRIPTOR, CDRA_INFO, CHECK_AUTHORITY_COMMAND, CLEAR_LOCAL_CACHE, CMD_DEBUG_RELEASE_APPLICATION, CMD_DEBUG_SPAWN_AND_HOLD, CMD_GET_DEBUG_ROUTER_PORT, CMD_IJOB_ASSOCIATE, CMD_IJOB_RELEASE, CMD_IJOB_RUNPGM, CMD_MULTI_SPAWNFAIL, CMD_MULTI_SPAWNSUCC, CMD_RUNBATCHCOMMAND, CMD_RUNBATCHCOMMAND_NOHELP, CMD_RUNCOMMAND, CMD_RUNCOMMAND_MULTITHREADED, CMD_RUNCOMMAND_MULTITHREADED_NOHELP, CMD_RUNCOMMAND_NOHELP, COMM_SERVER_INFORMATION, COMMAND_DESCRIPTOR, COMMAND_FILTER_DESCRIPTOR, COMMAND_MINER, COMMAND_MINER_ROOT_ELEMENT, COMMAND_QUERY_DB_FIELDS, COMMAND_QUERY_DB_KEYS, COMMAND_QUERY_DSPF_ALL, COMMAND_QUERY_MODULE_LIST, COMMAND_QUERY_PROCEDURE_LIST, CREATE_EDIT_MASK, CURRENT_WORKING_DIR, CURRENT_WORKING_DIR_DESCRIPTOR, DBFIELD_ALIAS, DBFIELD_ALLOC_LENGTH, DBFIELD_ALWNUL, DBFIELD_CCSID_SPECIFIED, DBFIELD_COLHEAD1, DBFIELD_COLHEAD2, DBFIELD_COLHEAD3, DBFIELD_DATA_CCSID, DBFIELD_DATTIMFMT, DBFIELD_DATTIMSEP, DBFIELD_DBCS_ALTTYPE, DBFIELD_DBCS_COLHEAD, DBFIELD_DBCS_TEXTDESC, DBFIELD_DBCS_VALCHECK, DBFIELD_DECPOS, DBFIELD_DESCRIPTION, DBFIELD_DIGITS, DBFIELD_DISPLAY_LEN_FLAG, DBFIELD_DISPLAY_LENGTH, DBFIELD_DTFLAGS, DBFIELD_EDITCODE, DBFIELD_EDITCODE_SYMBOL, DBFIELD_EDITWORD, DBFIELD_ENCODING_SCHEME, DBFIELD_GENERIC_KEY_COUNT, DBFIELD_INBUF, DBFIELD_INTNAME, DBFIELD_KEYFIELD_ATTRS, DBFIELD_LENGTH, DBFIELD_MAXKEYLEN, DBFIELD_MIN_DISPLAY_LEN_FLAG, DBFIELD_NUMDBCS, DBFIELD_OPERATOR, DBFIELD_OUTBUF, DBFIELD_REF_FIELD, DBFIELD_REFSHIFT, DBFIELD_SST_END, DBFIELD_SST_START, DBFIELD_TYPE, DBFIELD_UCS2_CONVERT_FLAG, DBFIELD_USAGE, DBFIELD_VARLENGTH, DEBUG_HELD_JOB_DESCRIPTOR, DOWNLOAD_RESULT_AS400_SECURITY_EXCEPTION, DSPFFD_INBUF, DSPFFD_OUTBUF, EDCODE_CURSYM, EDCODE_DATESEP, EDCODE_DECSEP, EDCODE_JOBDESC, EDCODE_JOBDESCLIB, EDCODE_SYSDATE, EDCODE_TIMESEP, EDCODE_USERID, EDIT_CODE_DESCRIPTOR, EDIT_CODE_INFORMATION, EDIT_CODE_QUERY, EDIT_DESCRIPTION, EDIT_MASK_DESCRIPTOR, EDIT_MASK_INFO, EDTD_DECCHAR, EDTD_FILLCHAR, EDTD_FLOATSTR, EDTD_FRACTION_MASK, EDTD_INTMASK, EDTD_LEFTCHAR, EDTD_NEGCHAR, EDTD_POSCHAR, EDTD_RIGHTCHAR, EDTD_ZEROVAL, EDTM_RECLEN, ENVVAR_DESCRIPTOR, ENVVAR_INFO, ERROR_DESCRIPTOR, EVENTSFILE_DESCRIPTOR, FIELD_DESCRIPTOR, FIELD_LIST_NODE, FIELD_PROPERTIES_NODE, FILE_ACCPATHTYPE, FILE_ALTSEQ, FILE_BASEDONCOUNT, FILE_BASEDONFILES, FILE_DESCRIPTOR, FILE_DYNSEL, FILE_IGCFIELD, FILE_IGCLITERAL, FILE_JFILE, FILE_KEYACCESS, FILE_LANGID, FILE_OVERRIDE_INFO, FILE_OVERRIDE_SOURCE_DESCRIPTOR, FILE_OVERRIDE_TARGET_DESCRIPTOR, FILE_PROPERTIES_NODE, FILE_SELECTOMITLF, FILE_SRCFILE, IFS_FILE_FILTER_OBJECT, IFS_FILESYSTEM_MINER, IFS_FILTER_DESCRIPTOR, IFS_FOLDER_FILTER_OBJECT, IJOB_DATAQ_DESCRIPTOR, ISERIES_PROGRAM_DESCRIPTOR, JOB_DESCRIPTOR, JOB_FILTER_DESCRIPTOR, JOB_MINER, JOB_MINER_LOG_ELEMENT, JOB_MINER_ROOT_ELEMENT, JOB_PROPERTY_DESCRIPTOR, JOB_PROPERTY1_ELEMENT, JOB_PROPERTY2_ELEMENT, JOB_PROPERTY3_ELEMENT, JOB_PROPERTYINT_ELEMENT, JOBCMD_CHGJOB, JOBCMD_DSPJOBLOG, JOBCMD_ENDJOB, JOBCMD_ENDJOB_IMMED, JOBCMD_HOLDJOB, JOBCMD_QRYJOB_ALL_PROPERTIES, JOBCMD_QRYJOB_PROPERTY, JOBCMD_QRYJOB_PROPERTYP2, JOBCMD_QRYJOB_PROPERTYP3, JOBCMD_QRYJOB_PROPERTYPINT, JOBCMD_RELEASEJOB, JOBFILTERCMD_QUERY, JOBNAME_DESCRIPTOR, JOBPROP_ACCTCODE, JOBPROP_ACTIVESTATUS, JOBPROP_AUXIO, JOBPROP_BREAKMSGHDL, JOBPROP_CCSID, JOBPROP_CNTRYID, JOBPROP_CTLDENDREQ, JOBPROP_CURRSYSPOOL, JOBPROP_CURRUSER, JOBPROP_DATE_ENTERED, JOBPROP_DATE_STARTED, JOBPROP_DATEFMT, JOBPROP_DATESEP, JOBPROP_DBCSCAP, JOBPROP_DECFMT, JOBPROP_DESCRIPTION, JOBPROP_DEVRCYACT, JOBPROP_DFTCCSID, JOBPROP_ENDSEV, JOBPROP_INQMSGRPLY, JOBPROP_ITRANS, JOBPROP_KEEPDDMACT, JOBPROP_LANGID, JOBPROP_LOGCLP, JOBPROP_LOGLVL, JOBPROP_LOGSEV, JOBPROP_LOGTXT, JOBPROP_MAXCPU, JOBPROP_MAXTMPSTOR, JOBPROP_MSGQACT, JOBPROP_MSGQMAX, JOBPROP_OUTQ, JOBPROP_OUTQ_PTY, JOBPROP_PGMRC, JOBPROP_PRODRC, JOBPROP_PRTDEV, JOBPROP_PRTKEYFMT, JOBPROP_PRTTXT, JOBPROP_PURGE, JOBPROP_ROUTING, JOBPROP_RUNPTY, JOBPROP_SORTTAB, JOBPROP_SPECENV, JOBPROP_STATUSMSGHDL, JOBPROP_SUBMITNAME, JOBPROP_SUBMITNUMBER, JOBPROP_SUBMITUSER, JOBPROP_SUBSYSTEM, JOBPROP_SUBTYPE, JOBPROP_SWITCHES, JOBPROP_SYSPOOL, JOBPROP_THREADS, JOBPROP_TIMESEP, JOBPROP_TIMESLICE, JOBPROP_TIMESLICEPOOL, JOBPROP_TOTRESPTIME, JOBPROP_TYPE, JOBPROP_USEDCPU, JOBPROP_USEDTMPSTOR, JOBPROP_USERRC, JOBPROP_WAITTIME, KEYFIELD_LIST_NODE, KEYWORD_DESCRIPTOR, LDA_READ_EXCEPTION_DESCRIPTOR, LDA_READ_LIBRARY_NAME_DESCRIPTOR, LDA_READ_MEMBER_NAME_DESCRIPTOR, LDA_READ_NO_OUTPUT_DESCRIPTOR, LDA_WRITE_CCSID_DESCRIPTOR, LDA_WRITE_EXCEPTION_DESCRIPTOR, LDA_WRITE_LENGTH_DESCRIPTOR, LIB_FILTER_DESCRIPTOR, LIB_FILTER_STR_DESCRIPTOR, LIBRARY_DESCRIPTOR, LIBRARY_PROPERTIES_NODE, LIST_OBJ_LOCKS_COMMAND, MBR_FILTER_DESCRIPTOR, MBR_FILTER_STR_DESCRIPTOR, MEMBER_CHANGE_TIMESTAMP, MEMBER_CREATION_TIMESTAMP, MEMBER_DESCRIPTOR, MEMBER_NUMBER_OF_DELETED, MEMBER_NUMBER_OF_RECORDS, MEMBER_PROPERTIES_NODE, MEMBER_RESTOTE_TIMESTAMP, MEMBER_SAVE_TIMESTAMP, MESSAGE_DESCRIPTOR, MESSAGE_FILE_DESCRIPTOR, MESSAGED_DESCRIPTOR, MINER_VERSION, MODULE_DESCRIPTOR, MODULE_INTERNAL_DESCRIPTOR, MODULE_LANGID, MODULE_LIST_NODE, MODULE_PROPERTIES_NODE, MSGD_STRUCTURE_NODE, NATIVE_FILESYSTEM_MINER, NETINT_DESCRIPTOR, NETINT_LIST_NODE, NETINT_QUERY, NETWORK_ERROR_DESCRIPTOR, OBJ_FILTER_DESCRIPTOR, OBJ_FILTER_STR_DESCRIPTOR, OBJECT_DESCRIPTOR, OBJECT_PROPERTIES_NODE, PGM_DEBUGGABLE, PGM_OPM, PROCEDURE_DESCRIPTOR, PROCEDURE_LIST_NODE, PROGRAM_DESCRIPTOR, PROPERTY_DESCRIPTOR, QSYS_DESCRIPTOR, QUERY_CURRENT_WORKING_DIR, QUERY_DEVICE_RECORDS, QUERY_ENCODING_SCHEME, QUERY_ENV_VAR, QUERY_FIELD_LIST, QUERY_FILE_PROPERTIES, QUERY_MEMBER_PROPERTIES, QUERY_MESSAGE_DESCRIPTORS_COMMAND, QUERY_RECORD_LIST, QUERY_RECORD_PROPERTIES, RECORD_BUFFER_SIZE, RECORD_CCSID, RECORD_DESC, RECORD_DESCRIPTOR, RECORD_DEVICE_PROPERTIES, RECORD_FLDCNT, RECORD_HAS_SEP_IND_AREA, RECORD_HAS_START_LINE_NUM, RECORD_ISDBCS, RECORD_LEVELID, RECORD_LIST_NODE, RECORD_LOWEST_RESP_IND, RECORD_PROPERTIES_NODE, RECORD_RECLEN, RECORD_STANDARD_PROPERTIES, RECORD_TYPE, RELATIVE_FILTER_DESCRIPTOR, RESULT_MESSAGES_ELEMENT, RETRIEVE_FILE_OVERRIDE_COMMAND, SERVICE_PROGRAM_DESCRIPTOR, SORT_SEQ_TABLE, SORT_SEQ_TABLE_INFO, SPECIAL_FILTER_DESCRIPTOR, SQL_COLERROR, SQL_COLFIRSTBYTE, SQL_COLLASTBYTE, SQL_DESCRIPTOR, SQL_MSGFILE, SQL_MSGID, SQL_MSGLIB, SQL_MSGREPLACELEN, SQL_MSGREPLACETEXT, SQL_NUMSTMT, SQL_RECERORR, SQL_RECFIRSTBYTE, SQL_RECLASTBYTE, SQL_RETINFOLEN, SQL_STATE, SQL_SYNTAX_CHECK, SQL_SYNTAX_CHECK_INFO, SST_BYTESAVAIL, SST_BYTESRETURN, SST_COUNTRYID, SST_JOBCCSID, SST_LANGID, SST_QUERY, SST_SSTLIB, SST_SSTNAME, SST_SUBSITUTION, SST_TABLE, SST_TABLECCSID, SST_TABLELIB, SST_TABLENAME, SST_WEIGHT, STRUCTURE_NODE_DESCRIPTOR, SYSTEM_INFORMATION, SYSTEM_PROPERTY_DESCRIPTOR, SYSTEM_QIGC, SYSTEM_VRM, TABLE_DESCRIPTOR
 
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
protected FileSubSystemImpl()
          Constructor.
 
Method Summary
 boolean checkAuthority(com.ibm.etools.systems.dstore.core.model.DataElement object, String authList)
          Check if the current user profile has authList authority to the object.
 boolean checkAuthority(com.ibm.etools.systems.dstore.core.model.DataElement object, String authList, boolean cacheResult)
          Check if the current user profile has authList authority to the object.
 boolean checkAuthority(String library, String object, String objType, String authList)
          Check if the current user profile has authList authority to the specified object.
 void clearMinerCache()
          Clear all caching used by backend miner
 boolean copyLibrary(Shell shell, ISeriesLibrary srcLibrary, ISeriesConnection tgtConnection, String newName, boolean processCmdLineParm)
          Copy a given library to a new library of the given name in the given connection
 boolean copyMember(Shell shell, ISeriesMember srcMember, ISeriesObject tgtFile, String newName, boolean processCmdLineParm)
          Copy a given member to the given file
 boolean copyObject(Shell shell, ISeriesObject srcObject, ISeriesLibrary tgtLibrary, String newName, boolean processCmdLineParm)
          Copy a given object to the given library
 boolean doesFilterStringListContentsOf(com.ibm.etools.systems.filters.SystemFilterString filterString, String remoteObjectAbsoluteName)
          Parent (SubSystemImpl) override.
 boolean doesFilterStringMatch(String filterString, String remoteObjectAbsoluteName, boolean caseSensitive)
          Return true if the given remote object name will pass the filtering criteria for the given filter string.
protected  boolean doesFilterTypeMatch(com.ibm.etools.systems.filters.SystemFilter filter, String remoteObjectAbsoluteName)
          Override this method if you support typed filters.
 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)
           
 boolean getBasicProperties(com.ibm.etools.systems.dstore.core.model.DataElement dataelement)
          Retrieve the basic properties for the specified dataelement
 NativeFileSystemCacheHandler getCacheHandler()
           
 boolean getCompileInBatch()
          Command Execution property (like PDM's F18).
 Object[] getDataElementChildren(com.ibm.etools.systems.dstore.core.model.DataElement element)
           
 Object[] getDataElementChildrenFromDatastore(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
           
 com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordDevice[] getDeviceRecords(com.ibm.etools.systems.dstore.core.model.DataElement deviceFile)
          Retrieve the records for the deviceFile.
 boolean getExhaustiveProperties(com.ibm.etools.systems.dstore.core.model.DataElement dataelement)
          Retrieve the exhaustive properties for the specified dataelement
 String getExtraAttributes()
           
 com.ibm.etools.systems.dstore.core.model.DataElement getFileOverride(String filename)
          Check if the specified file is an override file.
 String getInternalJobDescription()
           
 String getInternalObjectLibrary()
           
 String getInternalSBMJOBParms()
           
 String getJobDescription()
          Command Execution property (like PDM's F18).
 String getObjectLibrary()
          Command Execution property (like PDM's F18).
 FileSubSystem getObjectSubSystem()
          Method required in com.ibm.etools.iseries.core.IISeriesSubSystem interface.
 PropertyPage getPropertyPage(Composite parent)
          Return our property page to contribute to the connection's property page, for the SubSystems node.
 boolean getReplaceObject()
          Command Execution property (like PDM's F18).
 boolean getRunInBatch()
          Command Execution property (like PDM's F18).
 String getSBMJOBParms()
          Command Execution property (like PDM's F18).
 Shell getShell()
          Get the shell to be used when a dialog is needed, such as when prompting for password or showing an error message.
 int getSourceFileCCSID(ISeriesMember member)
          Specialized api for quickly retrieving the CCSID of a source file for editing.
protected  void internalDisconnect(IProgressMonitor monitor, String hostName, int port)
           
protected  Object[] internalResolveFilterString(IProgressMonitor monitor, Object parent, String filterString)
          Actually resolve a relative filter string.
 Object[] internalResolveFilterString(IProgressMonitor monitor, String filterString)
          Actually resolve an absolute filter string.
 boolean isInternalCompileInBatch()
           
 boolean isInternalReplaceObject()
           
 boolean isInternalRunInBatch()
           
 boolean isSetInternalCompileInBatch()
           
 boolean isSetInternalJobDescription()
           
 boolean isSetInternalObjectLibrary()
           
 boolean isSetInternalReplaceObject()
           
 boolean isSetInternalRunInBatch()
           
 boolean isSetInternalSBMJOBParms()
           
 ISeriesDatabaseField[] listDatabaseFields(Shell shell, com.ibm.etools.systems.dstore.core.model.DataElement file, String recordName, String fieldName)
          List the fields for this database file.
 ISeriesField[] listFields(Shell shell, ISeriesRecord record)
          Returns the list of fields for the given ISeriesRecord
 ISeriesField[] listFields(Shell shell, String fieldFilterString)
          Returns the list of fields that match the given filter string.
 ISeriesKeyField[] listKeyFields(com.ibm.etools.systems.dstore.core.model.DataElement file, String recordName)
          Retrieve the key fields for the iSeries Database file.
 ISeriesLibrary[] listLibraries(Shell shell)
          Returns the library list
 ISeriesLibrary[] listLibraries(Shell shell, String libraryFilterString)
          Returns a list of libraries matching the specified filter
 ISeriesMember[] listMembers(Shell shell, ISeriesObject object)
          Returns the list of members in the given source or data file.
 ISeriesMember[] listMembers(Shell shell, String memberFilterString)
          Returns a list of members matching the specified filter string
 ISeriesMessageDescription[] listMessageDescriptors(com.ibm.etools.systems.dstore.core.model.DataElement messageFile, String msgID)
          This method retrieves all message descriptors for the specified message file.
 com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectLock[] listObjectLocks(com.ibm.etools.systems.dstore.core.model.DataElement object)
          Retrieve the list of locks for the specified OS/400 object
 ISeriesObject[] listObjects(Shell shell, ISeriesLibrary library)
          Returns the list of objects in the given library.
 ISeriesObject[] listObjects(Shell shell, String objectFilterString)
          Returns a list of objects matching the specified filter string
 Object[] listProgramModules(com.ibm.etools.systems.dstore.core.model.DataElement program)
          Retrieve a list of the modules contained in the specified program or service program.
 ISeriesRecord[] listRecords(Shell shell, ISeriesFile file)
          Returns the list of records for the given ISeriesFile
 ISeriesRecord[] listRecords(Shell shell, String recordFilterString)
          Returns the list of records that match the given filter string Note: This api does not use the DataStore yet and therefore cannot retrieve the list from the cache.
 boolean moveMember(Shell shell, ISeriesMember srcMember, ISeriesObject tgtFile, String newName, boolean processCmdLineParm)
          Move a given member to the given file
 boolean moveObject(Shell shell, ISeriesObject srcObject, ISeriesLibrary tgtLibrary, String newName, boolean processCmdLineParm)
          Move a given object to the given library
 void setExtraAttributes(String newExtraAttributes)
           
 void setExtractType(int extractType)
          Set the format of Table view
 void setInternalCompileInBatch(boolean newInternalCompileInBatch)
           
 void setInternalJobDescription(String newInternalJobDescription)
           
 void setInternalObjectLibrary(String newInternalObjectLibrary)
           
 void setInternalReplaceObject(boolean newInternalReplaceObject)
           
 void setInternalRunInBatch(boolean newInternalRunInBatch)
           
 void setInternalSBMJOBParms(String newInternalSBMJOBParms)
           
 com.ibm.etools.iseries.comm.interfaces.IISeriesSQLStatementHeader syntaxCheckSQL(String sqlStmt, int stmtLen, int numRec, String language, int numKeys, String options)
          Syntax Check SQL statements
 String toString()
           
 void unsetInternalCompileInBatch()
           
 void unsetInternalJobDescription()
           
 void unsetInternalObjectLibrary()
           
 void unsetInternalReplaceObject()
           
 void unsetInternalRunInBatch()
           
 void unsetInternalSBMJOBParms()
           
 com.ibm.etools.systems.core.messages.SystemMessage uploadSaveFile(Shell shell, String fullyQualifiedLocalFileName, String saveFileLibrary, String saveFileName)
          Upload a local save file to an iSeries save file
 
Methods inherited from class com.ibm.etools.systems.as400cmdsubsys.impl.AS400SubSystemImpl
checkForCommandErrors, createFileWithAbsoluteName, createLibraryWithAbsoluteName, createMemberWithAbsoluteName, getCacheManager, getCmdSubSystem, getCommandExecutionProperties, getCommandSubSystem, getDataStore, getISeriesConnection, getISeriesSystem, getObjectWithAbsoluteName, getSystemManager, getToolboxAS400Object, internalDataStoreError, internalGetCacheManager, internalGetProperties, internalGetProperty, internalRunCommand, internalSetProperties, internalSetProperty, setCacheManager, setShell, supportsCaching
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl
addResolvedFilterStringObjects, basicSetFilterPoolReferenceManager, basicSetRemoteServerLauncher, cancelShell, checkIsConnected, clearLocalUserId, connect, connect, connect, deletingConnection, disconnect, disconnect, displayAsyncMsg, doesFilterListContentsOf, doesFilterMatch, filterEventFilterCreated, filterEventFilterPoolReferenceCreated, filterEventFilterPoolReferenceDeleted, filterEventFilterPoolReferenceRenamed, filterEventFilterPoolReferenceReset, filterEventFilterPoolReferencesRePositioned, filterEventFilterPoolReferencesReset, filterEventFilterStringCreated, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, forceUserIdToUpperCase, getActiveWorkbenchShell, getActiveWorkbenchWindow, getAdapter, getAdditionalAttributes, getChildren, getConnectionOwnedFilterPoolName, getConnectionPrivateFilterPool, getExecutedCommands, getFactoryId, getFilterPoolReferenceManager, getFilterReferenceWithAbsoluteName, getFirstParentFilterString, getHostName, getIBMAttribute, getIbmAttributes, getLocalUserId, getLocalUserId, getName, getParentSubSystemFactory, getPort, getPortAsInt, getPreferencesKey, getPreferencesKey, getPreferencesManager, getPrimarySubSystem, getProperties, getProperty, getQueryingMessage, getQueryingMessage, getRemoteServerLauncher, getResolvingMessage, getRunnableContext, getRunningMessage, getSaveFileName, getSettingMessage, getSettingMessage, getSystem, getSystemConnection, getSystemConnectionName, getSystemFilterPoolReferenceManager, getSystemProfile, getSystemProfileName, getSystemType, getTargetForFilter, getUDActionSubsystem, getUniqueOwningSystemFilterPool, getUserId, getUserIdGen, getVendorAttribute, getVendorAttributes, hasChildren, internalCancelShell, internalConnect, internalGetProperties, internalGetProperty, internalRemoveShell, internalResolveFilterStrings, internalRunCommand, internalRunShell, internalSendCommandToShell, internalSetProperties, internalSetProperty, isConnected, isConnectionError, isHidden, isOffline, isSetAdditionalAttributes, isSetIbmAttributes, isSetVendorAttributes, isUseSSL, removeShell, renamingConnection, renamingProfile, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterStrings, resolveFilterStrings, run, runCommand, runCommand, runShell, selectCommandSubSystem, sendCommandToShell, setAdditionalAttributes, setConnectionError, 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, sortResolvedFilterStringObjects, 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.iseries.core.IISeriesSubSystem
getCmdSubSystem, getCommandExecutionProperties, getISeriesSystem, getToolboxAS400Object, setShell
 
Methods inherited from interface com.ibm.etools.systems.subsystems.SubSystem
checkIsConnected, clearLocalUserId, connect, connect, connect, deletingConnection, disconnect, disconnect, doesFilterListContentsOf, doesFilterMatch, forceUserIdToUpperCase, getAdditionalAttributes, getCacheManager, getChildren, getCommandSubSystem, getFactoryId, getFilterPoolReferenceManager, getIbmAttributes, getLocalUserId, getName, getParentSubSystemFactory, getPort, getPortAsInt, getPrimarySubSystem, getProperties, getProperty, getRemoteServerLauncher, getSaveFileName, getSystem, getSystemConnection, getSystemConnectionName, getSystemFilterPoolReferenceManager, getSystemManager, getSystemProfile, getSystemProfileName, getTargetForFilter, getUDActionSubsystem, getUserId, getVendorAttribute, getVendorAttributes, hasChildren, isConnected, isConnectionError, isHidden, isOffline, isSetAdditionalAttributes, isSetIbmAttributes, isSetVendorAttributes, isUseSSL, renamingConnection, renamingProfile, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterStrings, resolveFilterStrings, setAdditionalAttributes, setConnectionError, 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 org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

INTERNAL_JOB_DESCRIPTION_EDEFAULT

protected static final String INTERNAL_JOB_DESCRIPTION_EDEFAULT
The default value of the 'Internal Job Description' attribute.

See Also:
getInternalJobDescription()

EXTRACT_DEFAULT

public static final int EXTRACT_DEFAULT
See Also:
Constant Field Values

EXTRACT_ADDITIONAL

public static final int EXTRACT_ADDITIONAL
See Also:
Constant Field Values

internalJobDescription

protected String internalJobDescription

internalJobDescriptionESet

protected boolean internalJobDescriptionESet
This is true if the Internal Job Description attribute has been set.


INTERNAL_OBJECT_LIBRARY_EDEFAULT

protected static final String INTERNAL_OBJECT_LIBRARY_EDEFAULT
The default value of the 'Internal Object Library' attribute.

See Also:
getInternalObjectLibrary()

internalObjectLibrary

protected String internalObjectLibrary

internalObjectLibraryESet

protected boolean internalObjectLibraryESet
This is true if the Internal Object Library attribute has been set.


INTERNAL_RUN_IN_BATCH_EDEFAULT

protected static final boolean INTERNAL_RUN_IN_BATCH_EDEFAULT
The default value of the 'Internal Run In Batch' attribute.

See Also:
isInternalRunInBatch(), Constant Field Values

internalRunInBatch

protected boolean internalRunInBatch

internalRunInBatchESet

protected boolean internalRunInBatchESet
This is true if the Internal Run In Batch attribute has been set.


INTERNAL_COMPILE_IN_BATCH_EDEFAULT

protected static final boolean INTERNAL_COMPILE_IN_BATCH_EDEFAULT
The default value of the 'Internal Compile In Batch' attribute.

See Also:
isInternalCompileInBatch(), Constant Field Values

internalCompileInBatch

protected boolean internalCompileInBatch

internalCompileInBatchESet

protected boolean internalCompileInBatchESet
This is true if the Internal Compile In Batch attribute has been set.


INTERNAL_REPLACE_OBJECT_EDEFAULT

protected static final boolean INTERNAL_REPLACE_OBJECT_EDEFAULT
The default value of the 'Internal Replace Object' attribute.

See Also:
isInternalReplaceObject(), Constant Field Values

internalReplaceObject

protected boolean internalReplaceObject

internalReplaceObjectESet

protected boolean internalReplaceObjectESet
This is true if the Internal Replace Object attribute has been set.


INTERNAL_SBMJOB_PARMS_EDEFAULT

protected static final String INTERNAL_SBMJOB_PARMS_EDEFAULT
The default value of the 'Internal SBMJOB Parms' attribute.

See Also:
getInternalSBMJOBParms()

internalSBMJOBParms

protected String internalSBMJOBParms

internalSBMJOBParmsESet

protected boolean internalSBMJOBParmsESet
This is true if the Internal SBMJOB Parms attribute has been set.


EXTRA_ATTRIBUTES_EDEFAULT

protected static final String EXTRA_ATTRIBUTES_EDEFAULT
The default value of the 'Extra Attributes' attribute.

See Also:
getExtraAttributes()

extraAttributes

protected String extraAttributes
Constructor Detail

FileSubSystemImpl

protected FileSubSystemImpl()
Constructor. Called by EMF. Do not call directly!

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class AS400SubSystemImpl

getObjectSubSystem

public FileSubSystem getObjectSubSystem()
Method required in com.ibm.etools.iseries.core.IISeriesSubSystem interface. We implement by returning "this".

Specified by:
getObjectSubSystem in interface IISeriesSubSystem
Overrides:
getObjectSubSystem in class AS400SubSystemImpl

doesFilterTypeMatch

protected boolean doesFilterTypeMatch(com.ibm.etools.systems.filters.SystemFilter filter,
                                      String remoteObjectAbsoluteName)
Override this method if you support typed filters. Given an absolute remote object name, you can test if this filter's type matches that of the remote object. This is called as a pre-test in the following methods.


doesFilterStringMatch

public boolean doesFilterStringMatch(String filterString,
                                     String remoteObjectAbsoluteName,
                                     boolean caseSensitive)
Return true if the given remote object name will pass the filtering criteria for the given filter string.

Subclasses need to override this. If in doubt, return true.

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

doesFilterStringListContentsOf

public boolean doesFilterStringListContentsOf(com.ibm.etools.systems.filters.SystemFilterString filterString,
                                              String remoteObjectAbsoluteName)
Parent (SubSystemImpl) override.

Return true if the given filter string lists the contents of the given remote object. For example, if given a library, return true if the given filter string lists the contents of that library. Used in impact analysis when a remote object is created, deleted, renamed, copied or moved, so as to establish which filters need to be refreshed or collapsed (if the library is deleted, say).

This should only return true if the filter string directly lists the contents of the given object, versus indirectly.

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

getCacheHandler

public NativeFileSystemCacheHandler getCacheHandler()

internalResolveFilterString

public Object[] internalResolveFilterString(IProgressMonitor monitor,
                                            String filterString)
                                     throws InvocationTargetException,
                                            InterruptedException
Actually resolve an absolute filter string. This is called by the run(IProgressMonitor monitor) method, which in turn is called by resolveFilterString.

Throws:
InvocationTargetException
InterruptedException

internalResolveFilterString

protected Object[] internalResolveFilterString(IProgressMonitor monitor,
                                               Object parent,
                                               String filterString)
                                        throws InvocationTargetException,
                                               InterruptedException
Actually resolve a relative filter string. This is called by the run(IProgressMonitor monitor) method, which in turn is called by resolveFilterString.

Throws:
InvocationTargetException
InterruptedException

listLibraries

public ISeriesLibrary[] listLibraries(Shell shell)
                               throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the library list

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

listLibraries

public ISeriesLibrary[] listLibraries(Shell shell,
                                      String libraryFilterString)
                               throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns a list of libraries matching the specified filter

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

listObjects

public ISeriesObject[] listObjects(Shell shell,
                                   String objectFilterString)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns a list of objects matching the specified filter string

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

listObjects

public ISeriesObject[] listObjects(Shell shell,
                                   ISeriesLibrary library)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the list of objects in the given library.

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

listMembers

public ISeriesMember[] listMembers(Shell shell,
                                   String memberFilterString)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns a list of members matching the specified filter string

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

listMembers

public ISeriesMember[] listMembers(Shell shell,
                                   ISeriesObject object)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the list of members in the given source or data file.

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

listRecords

public ISeriesRecord[] listRecords(Shell shell,
                                   String recordFilterString)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the list of records that match the given filter string Note: This api does not use the DataStore yet and therefore cannot retrieve the list from the cache. Use the listRecords(Shell shell, ISeriesFile file) which does use the DataStore and cache.

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

listRecords

public ISeriesRecord[] listRecords(Shell shell,
                                   ISeriesFile file)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the list of records for the given ISeriesFile

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

listFields

public ISeriesField[] listFields(Shell shell,
                                 String fieldFilterString)
                          throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the list of fields that match the given filter string. Note: This api does not use the DataStore yet and therefore cannot retrieve the list from the cache. Use the listFields(Shell shell, ISeriesRecord record) which does use the DataStore and cache.

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

listFields

public ISeriesField[] listFields(Shell shell,
                                 ISeriesRecord record)
                          throws com.ibm.etools.systems.core.messages.SystemMessageException
Returns the list of fields for the given ISeriesRecord

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

listDatabaseFields

public ISeriesDatabaseField[] listDatabaseFields(Shell shell,
                                                 com.ibm.etools.systems.dstore.core.model.DataElement file,
                                                 String recordName,
                                                 String fieldName)
                                          throws com.ibm.etools.systems.core.messages.SystemMessageException
List the fields for this database file. The first record is used if the database file has more than one record.

Parameters:
file - The DataElement representing the file for which the database fields are to be retrieved.
recordName - The name of the record for this database for which the field information is to be returned.
fieldName - The name of the field(s) to retrieve. This can be a generic name such as A*
Returns:
An instance of ISeriesField for each field in the database file.
Throws:
com.ibm.etools.systems.core.messages.SystemMessageException

listObjectLocks

public com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectLock[] listObjectLocks(com.ibm.etools.systems.dstore.core.model.DataElement object)
                                                                               throws Exception
Retrieve the list of locks for the specified OS/400 object

Throws:
Exception - If an error occured retrieving the list of locks

listProgramModules

public Object[] listProgramModules(com.ibm.etools.systems.dstore.core.model.DataElement program)
                            throws com.ibm.etools.systems.core.messages.SystemMessageException
Retrieve a list of the modules contained in the specified program or service program.

Parameters:
program - The program or service program object to retrieve a list of modules for.
Returns:
Object[] Array of DataElements, each representing a module in the program or service program object.
Throws:
com.ibm.etools.systems.core.messages.SystemMessageException
Since:
June 1, 2003 (WDSc 5.1)

listMessageDescriptors

public ISeriesMessageDescription[] listMessageDescriptors(com.ibm.etools.systems.dstore.core.model.DataElement messageFile,
                                                          String msgID)
                                                   throws Exception
This method retrieves all message descriptors for the specified message file.

Parameters:
msgID - The message ID of the message to retrieve or "*" for all messages.
Throws:
Exception

listKeyFields

public ISeriesKeyField[] listKeyFields(com.ibm.etools.systems.dstore.core.model.DataElement file,
                                       String recordName)
                                throws com.ibm.etools.systems.core.messages.SystemMessageException
Retrieve the key fields for the iSeries Database file.

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

getFileOverride

public com.ibm.etools.systems.dstore.core.model.DataElement getFileOverride(String filename)
                                                                     throws Exception
Check if the specified file is an override file.

Returns:
The DataElement representing the target of the override, or null if no override is specified for the file.
Throws:
Exception

checkAuthority

public boolean checkAuthority(String library,
                              String object,
                              String objType,
                              String authList)
                       throws com.ibm.etools.systems.core.messages.SystemMessageException
Check if the current user profile has authList authority to the specified object. Note: This method currently does not support caching. To get caching use the checkAuthority(DataElement, String) method.

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

checkAuthority

public boolean checkAuthority(com.ibm.etools.systems.dstore.core.model.DataElement object,
                              String authList)
                       throws com.ibm.etools.systems.core.messages.SystemMessageException
Check if the current user profile has authList authority to the object.

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

checkAuthority

public boolean checkAuthority(com.ibm.etools.systems.dstore.core.model.DataElement object,
                              String authList,
                              boolean cacheResult)
                       throws com.ibm.etools.systems.core.messages.SystemMessageException
Check if the current user profile has authList authority to the object.

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

getDataElementChildren

public Object[] getDataElementChildren(com.ibm.etools.systems.dstore.core.model.DataElement element)

getDataElementChildrenFromDatastore

public Object[] getDataElementChildrenFromDatastore(com.ibm.etools.systems.dstore.core.model.DataElement deElement)

copyLibrary

public boolean copyLibrary(Shell shell,
                           ISeriesLibrary srcLibrary,
                           ISeriesConnection tgtConnection,
                           String newName,
                           boolean processCmdLineParm)
                    throws Exception
Copy a given library to a new library of the given name in the given connection

Specified by:
copyLibrary in interface FileSubSystem
Throws:
Exception

copyObject

public boolean copyObject(Shell shell,
                          ISeriesObject srcObject,
                          ISeriesLibrary tgtLibrary,
                          String newName,
                          boolean processCmdLineParm)
                   throws Exception
Copy a given object to the given library

Specified by:
copyObject in interface FileSubSystem
Throws:
Exception

moveObject

public boolean moveObject(Shell shell,
                          ISeriesObject srcObject,
                          ISeriesLibrary tgtLibrary,
                          String newName,
                          boolean processCmdLineParm)
                   throws Exception
Move a given object to the given library

Specified by:
moveObject in interface FileSubSystem
Throws:
Exception

copyMember

public boolean copyMember(Shell shell,
                          ISeriesMember srcMember,
                          ISeriesObject tgtFile,
                          String newName,
                          boolean processCmdLineParm)
                   throws Exception
Copy a given member to the given file

Specified by:
copyMember in interface FileSubSystem
Throws:
Exception

moveMember

public boolean moveMember(Shell shell,
                          ISeriesMember srcMember,
                          ISeriesObject tgtFile,
                          String newName,
                          boolean processCmdLineParm)
                   throws Exception
Move a given member to the given file

Specified by:
moveMember in interface FileSubSystem
Throws:
Exception

uploadSaveFile

public com.ibm.etools.systems.core.messages.SystemMessage uploadSaveFile(Shell shell,
                                                                         String fullyQualifiedLocalFileName,
                                                                         String saveFileLibrary,
                                                                         String saveFileName)
Upload a local save file to an iSeries save file

Specified by:
uploadSaveFile in interface FileSubSystem

getSourceFileCCSID

public int getSourceFileCCSID(ISeriesMember member)
                       throws com.ibm.etools.systems.core.messages.SystemMessageException
Specialized api for quickly retrieving the CCSID of a source file for editing.

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

getDeviceRecords

public com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordDevice[] getDeviceRecords(com.ibm.etools.systems.dstore.core.model.DataElement deviceFile)
                                                                                   throws com.ibm.etools.systems.core.messages.SystemMessageException
Retrieve the records for the deviceFile. This does not currently use any API wrappers so it should be considered internal use only. The only information that is returned is the lowest response indicator and buffer size (which are required by the RPG program verifier.)

Returns:
IISeriesHostRecordDevice[]
Throws:
com.ibm.etools.systems.core.messages.SystemMessageException

getShell

public Shell getShell()
Description copied from interface: IISeriesSubSystem
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
Overrides:
getShell in class AS400SubSystemImpl

setExtractType

public void setExtractType(int extractType)
Set the format of Table view


getBasicProperties

public boolean getBasicProperties(com.ibm.etools.systems.dstore.core.model.DataElement dataelement)
Retrieve the basic properties for the specified dataelement


getExhaustiveProperties

public boolean getExhaustiveProperties(com.ibm.etools.systems.dstore.core.model.DataElement dataelement)
Retrieve the exhaustive properties for the specified dataelement


internalDisconnect

protected void internalDisconnect(IProgressMonitor monitor,
                                  String hostName,
                                  int port)
                           throws InvocationTargetException,
                                  InterruptedException
Throws:
InvocationTargetException
InterruptedException
See Also:
SubSystemImpl.internalDisconnect(IProgressMonitor, String, int)

getObjectLibrary

public String getObjectLibrary()
Command Execution property (like PDM's F18). Return the object library, which is used as the target on a compile. PDM User Action &O. If not set in this subsystem, value is returned from preferences page

Specified by:
getObjectLibrary in interface IISeriesSubSystemCommandExecutionProperties
Returns:
Object library as specified in subsystem properties, or preferences. Will not be null, but might be an empty string.

getJobDescription

public String getJobDescription()
Command Execution property (like PDM's F18). Return the job description, which is used in batch compiles and commands. This is a library-qualified name. PDM User Action &J. If not set in this subsystem, value is returned from preferences page

Specified by:
getJobDescription in interface IISeriesSubSystemCommandExecutionProperties
Returns:
Qualified job description as specified in subsystem properties, or preferences. Will not be null, but might be an empty string. "*LIBL/USRPRF" is resolved to just "*USRPRF".

getReplaceObject

public boolean getReplaceObject()
Command Execution property (like PDM's F18). Return whether to replace the target object on a compile. PDM User Action &R. If not set in this subsystem, value is returned from preferences page

Specified by:
getReplaceObject in interface IISeriesSubSystemCommandExecutionProperties

getCompileInBatch

public boolean getCompileInBatch()
Command Execution property (like PDM's F18). Return whether to compile in batch. PDM User Action &P. If not set in this subsystem, value is returned from preferences page

Specified by:
getCompileInBatch in interface IISeriesSubSystemCommandExecutionProperties

getRunInBatch

public boolean getRunInBatch()
Command Execution property (like PDM's F18). Return whether to run commands in batch. PDM User Action &E. If not set in this subsystem, value is returned from preferences page

Specified by:
getRunInBatch in interface IISeriesSubSystemCommandExecutionProperties

clearMinerCache

public void clearMinerCache()
Clear all caching used by backend miner


getSBMJOBParms

public String getSBMJOBParms()
Command Execution property (like PDM's F18). Return additional parameters to SBMJOB RSE-Unique User Action Variable &ISJ. If not set in this subsystem, value is returned from preferences page.

Specified by:
getSBMJOBParms in interface IISeriesSubSystemCommandExecutionProperties
Returns:
Parameter string as specified in subsystem properties, or preferences. Will not be null, but might be an empty string.

getPropertyPage

public PropertyPage getPropertyPage(Composite parent)
Return our property page to contribute to the connection's property page, for the SubSystems node.

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

getExtraAttributes

public String getExtraAttributes()
Specified by:
getExtraAttributes in interface FileSubSystem
Returns:
The value of the ExtraAttributes attribute

setExtraAttributes

public void setExtraAttributes(String newExtraAttributes)
Specified by:
setExtraAttributes in interface FileSubSystem
Parameters:
newExtraAttributes - The new value of the ExtraAttributes attribute

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
Overrides:
eInverseAdd in class AS400SubSystemImpl

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
Overrides:
eInverseRemove in class AS400SubSystemImpl

eGet

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

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

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Description copied from class: AS400SubSystemImpl

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

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 Object newValue)
Description copied from class: AS400SubSystemImpl

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

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Description copied from class: AS400SubSystemImpl

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

toString

public String toString()

getInternalJobDescription

public String getInternalJobDescription()
Specified by:
getInternalJobDescription in interface FileSubSystem
Returns:
The value of the InternalJobDescription attribute Job Description for batch submissions. Qualified by library

setInternalJobDescription

public void setInternalJobDescription(String newInternalJobDescription)
Specified by:
setInternalJobDescription in interface FileSubSystem
Parameters:
newInternalJobDescription - The new value of the InternalJobDescription attribute

unsetInternalJobDescription

public void unsetInternalJobDescription()

Specified by:
unsetInternalJobDescription in interface FileSubSystem
See Also:
FileSubSystem.isSetInternalJobDescription(), FileSubSystem.getInternalJobDescription(), FileSubSystem.setInternalJobDescription(String)

isSetInternalJobDescription

public boolean isSetInternalJobDescription()

Specified by:
isSetInternalJobDescription in interface FileSubSystem
Returns:
whether the value of the 'Internal Job Description' attribute is set.
See Also:
FileSubSystem.unsetInternalJobDescription(), FileSubSystem.getInternalJobDescription(), FileSubSystem.setInternalJobDescription(String)

getInternalObjectLibrary

public String getInternalObjectLibrary()
Specified by:
getInternalObjectLibrary in interface FileSubSystem
Returns:
The value of the InternalObjectLibrary attribute Target library when doing compiles

setInternalObjectLibrary

public void setInternalObjectLibrary(String newInternalObjectLibrary)
Specified by:
setInternalObjectLibrary in interface FileSubSystem
Parameters:
newInternalObjectLibrary - The new value of the InternalObjectLibrary attribute

unsetInternalObjectLibrary

public void unsetInternalObjectLibrary()

Specified by:
unsetInternalObjectLibrary in interface FileSubSystem
See Also:
FileSubSystem.isSetInternalObjectLibrary(), FileSubSystem.getInternalObjectLibrary(), FileSubSystem.setInternalObjectLibrary(String)

isSetInternalObjectLibrary

public boolean isSetInternalObjectLibrary()

Specified by:
isSetInternalObjectLibrary in interface FileSubSystem
Returns:
whether the value of the 'Internal Object Library' attribute is set.
See Also:
FileSubSystem.unsetInternalObjectLibrary(), FileSubSystem.getInternalObjectLibrary(), FileSubSystem.setInternalObjectLibrary(String)

isInternalRunInBatch

public boolean isInternalRunInBatch()
Specified by:
isInternalRunInBatch in interface FileSubSystem
Returns:
The value of the InternalRunInBatch attribute Run commands in batch, by default?

setInternalRunInBatch

public void setInternalRunInBatch(boolean newInternalRunInBatch)
Specified by:
setInternalRunInBatch in interface FileSubSystem
Parameters:
newInternalRunInBatch - The new value of the InternalRunInBatch attribute

unsetInternalRunInBatch

public void unsetInternalRunInBatch()

Specified by:
unsetInternalRunInBatch in interface FileSubSystem
See Also:
FileSubSystem.isSetInternalRunInBatch(), FileSubSystem.isInternalRunInBatch(), FileSubSystem.setInternalRunInBatch(boolean)

isSetInternalRunInBatch

public boolean isSetInternalRunInBatch()

Specified by:
isSetInternalRunInBatch in interface FileSubSystem
Returns:
whether the value of the 'Internal Run In Batch' attribute is set.
See Also:
FileSubSystem.unsetInternalRunInBatch(), FileSubSystem.isInternalRunInBatch(), FileSubSystem.setInternalRunInBatch(boolean)

isInternalCompileInBatch

public boolean isInternalCompileInBatch()
Specified by:
isInternalCompileInBatch in interface FileSubSystem
Returns:
The value of the InternalCompileInBatch attribute Compile in batch, by default?

setInternalCompileInBatch

public void setInternalCompileInBatch(boolean newInternalCompileInBatch)
Specified by:
setInternalCompileInBatch in interface FileSubSystem
Parameters:
newInternalCompileInBatch - The new value of the InternalCompileInBatch attribute

unsetInternalCompileInBatch

public void unsetInternalCompileInBatch()

Specified by:
unsetInternalCompileInBatch in interface FileSubSystem
See Also:
FileSubSystem.isSetInternalCompileInBatch(), FileSubSystem.isInternalCompileInBatch(), FileSubSystem.setInternalCompileInBatch(boolean)

isSetInternalCompileInBatch

public boolean isSetInternalCompileInBatch()

Specified by:
isSetInternalCompileInBatch in interface FileSubSystem
Returns:
whether the value of the 'Internal Compile In Batch' attribute is set.
See Also:
FileSubSystem.unsetInternalCompileInBatch(), FileSubSystem.isInternalCompileInBatch(), FileSubSystem.setInternalCompileInBatch(boolean)

isInternalReplaceObject

public boolean isInternalReplaceObject()
Specified by:
isInternalReplaceObject in interface FileSubSystem
Returns:
The value of the InternalReplaceObject attribute Replace target object when compiling?

setInternalReplaceObject

public void setInternalReplaceObject(boolean newInternalReplaceObject)
Specified by:
setInternalReplaceObject in interface FileSubSystem
Parameters:
newInternalReplaceObject - The new value of the InternalReplaceObject attribute

unsetInternalReplaceObject

public void unsetInternalReplaceObject()

Specified by:
unsetInternalReplaceObject in interface FileSubSystem
See Also:
FileSubSystem.isSetInternalReplaceObject(), FileSubSystem.isInternalReplaceObject(), FileSubSystem.setInternalReplaceObject(boolean)

isSetInternalReplaceObject

public boolean isSetInternalReplaceObject()

Specified by:
isSetInternalReplaceObject in interface FileSubSystem
Returns:
whether the value of the 'Internal Replace Object' attribute is set.
See Also:
FileSubSystem.unsetInternalReplaceObject(), FileSubSystem.isInternalReplaceObject(), FileSubSystem.setInternalReplaceObject(boolean)

getInternalSBMJOBParms

public String getInternalSBMJOBParms()
Specified by:
getInternalSBMJOBParms in interface FileSubSystem
Returns:
The value of the InternalSBMJOBParms attribute Additional user-specified parameters to append to SBMJOB whenever appropriate

setInternalSBMJOBParms

public void setInternalSBMJOBParms(String newInternalSBMJOBParms)
Specified by:
setInternalSBMJOBParms in interface FileSubSystem
Parameters:
newInternalSBMJOBParms - The new value of the InternalSBMJOBParms attribute

unsetInternalSBMJOBParms

public void unsetInternalSBMJOBParms()

Specified by:
unsetInternalSBMJOBParms in interface FileSubSystem
See Also:
FileSubSystem.isSetInternalSBMJOBParms(), FileSubSystem.getInternalSBMJOBParms(), FileSubSystem.setInternalSBMJOBParms(String)

isSetInternalSBMJOBParms

public boolean isSetInternalSBMJOBParms()

Specified by:
isSetInternalSBMJOBParms in interface FileSubSystem
Returns:
whether the value of the 'Internal SBMJOB Parms' attribute is set.
See Also:
FileSubSystem.unsetInternalSBMJOBParms(), FileSubSystem.getInternalSBMJOBParms(), FileSubSystem.setInternalSBMJOBParms(String)

syntaxCheckSQL

public com.ibm.etools.iseries.comm.interfaces.IISeriesSQLStatementHeader syntaxCheckSQL(String sqlStmt,
                                                                                        int stmtLen,
                                                                                        int numRec,
                                                                                        String language,
                                                                                        int numKeys,
                                                                                        String options)
                                                                                 throws com.ibm.etools.systems.core.messages.SystemMessageException
Syntax Check SQL statements

Returns:
The statement information of each of the statment processed
Throws:
com.ibm.etools.systems.core.messages.SystemMessageException - with ID = ISystemMessages.MSG_GENERIC_W_HELP if the OS/400 api returns an error code.

iSeries Remote Systems
v6.0.1

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.