|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractService com.ibm.etools.iseries.services.qsys.QSYSAbstractService com.ibm.etools.iseries.services.qsys.objects.QSYSObjectService
public class QSYSObjectService
RSE service for access to the IBM i native file system (QSYS).
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.iseries.services.qsys.QSYSAbstractService |
---|
sessionProvider |
Constructor Summary | |
---|---|
QSYSObjectService(IToolboxSessionProvider toolboxProvider)
Constructor |
Method Summary | |
---|---|
boolean |
checkAuthority(String library,
String object,
String objectType,
String authorityList)
Check object authorities |
IQSYSDatabaseFile |
getDatabaseFileDetails(IQSYSDatabaseFile file,
IProgressMonitor monitor)
Retrieve details for the specified physical file object |
IQSYSDatabaseFileRecordFormat |
getDatabaseFileRecord(IQSYSDatabaseFile file,
String record,
IProgressMonitor monitor)
List the database records for the specified file |
IQSYSDatabaseFileRecordFormat |
getDatabaseFileRecord(IQSYSDatabaseFile file,
String record,
IQSYSFileRecordFormatFactory factory,
IProgressMonitor monitor)
List the database records for the specified file |
IQSYSDatabaseFileRecordFormat |
getDatabaseFileRecord(IQSYSDatabaseFile file,
String record,
String fieldFilter,
IQSYSFileRecordFormatFactory factory,
IProgressMonitor monitor)
List the database records for the specified file |
IQSYSFactory |
getDefaultFactory()
Get the Default QSYS object factory |
IQSYSFileFieldFactory |
getDefaultFieldFactory()
Get the Default QSYS field factory |
IQSYSFileRecordFormatFactory |
getDefaultRecordFactory()
Get the Default QSYS record factory |
IISeriesHostRecordDevice[] |
getDeviceRecords(IQSYSFile file)
Retrieve the records for the deviceFile. |
int |
getEditingCCSID(IQSYSMember member)
Query the CCSID used to translate files from EBCDIC to UTF-8 for editing in the Workbench. |
ISeriesFileOverrideInformation |
getFileOverride(String filename)
Check if the specified file is an override file. |
IQSYSMember |
getMemberDetails(IQSYSMember member,
IProgressMonitor monitor)
Retrieve details for specified member object |
com.ibm.etools.iseries.services.qsys.internal.QSYSProgramInformation |
getProgramInformation(IQSYSObject program,
boolean exportedProcsOnly)
|
IQSYSDatabaseField[] |
listDatabaseFields(IQSYSFileRecordFormat record,
String fieldFilter,
IQSYSFileRecordFormatFactory factory,
IProgressMonitor monitor)
List the database fields for the specified record |
IQSYSFileField[] |
listFields(ISeriesFieldFilterString filter,
IProgressMonitor monitor)
List fields matching the specified field filter |
IQSYSFileField[] |
listFields(ISeriesFieldFilterString filter,
IQSYSFileFieldFactory factory,
IProgressMonitor monitor)
List fields matching the specified field filter |
IISeriesHostKeyField[] |
listKeyFields(IQSYSDatabaseFile file,
String recordName)
Retrieve the key fields for the iSeries Database file. |
IQSYSLibrary[] |
listLibraries(ISeriesLibraryFilterString filter,
IProgressMonitor monitor)
List libraries matching specified filter criteria |
IQSYSLibrary[] |
listLibraries(ISeriesLibraryFilterString filter,
IQSYSFactory factory,
boolean additionalDetails,
IProgressMonitor monitor)
List libraries matching specified filter criteria |
String[] |
listLibraryNames(String nameFilter,
IProgressMonitor monitor)
This is a high performance way to query library names only, optionally subset by library name. |
List<ISeriesHostObjectLock> |
listMemberLocks(IQSYSMember member)
Retrieve the list of locks for the specified IBM i member |
String[] |
listMemberNames(String library,
String file,
String nameFilter,
String[] typeFilters,
IProgressMonitor monitor)
This is a high performance way to query the members names only in this file, optionally subset by member name and type. |
IQSYSMember[] |
listMembers(ISeriesMemberFilterString filter,
IProgressMonitor monitor)
List members matching specified filter criteria |
IQSYSMember[] |
listMembers(ISeriesMemberFilterString filter,
IQSYSFactory factory,
boolean additionalDetails,
IProgressMonitor monitor)
List members matching specified filter criteria |
IQSYSMessageDescription[] |
listMessageDescriptions(IQSYSMessageFile file,
IProgressMonitor monitor)
List all message descriptions for the specified message file. |
IQSYSMessageDescription[] |
listMessageDescriptions(IQSYSMessageFile file,
String msgID,
IQSYSFactory factory,
IProgressMonitor monitor)
List message descriptions for the specified message file. |
String[] |
listObjectNames(String library,
String nameFilter,
String[] typeFilters,
IProgressMonitor monitor)
This is a high performance way to query the object names only in a given library, optionally subset by object name and type. |
IQSYSObject[] |
listObjects(ISeriesObjectFilterString filter,
IProgressMonitor monitor)
List objects matching specified filter criteria |
IQSYSObject[] |
listObjects(ISeriesObjectFilterString filter,
IQSYSFactory factory,
boolean additionalDetails,
IProgressMonitor monitor)
List objects matching specified filter criteria |
List<ISeriesHostProcedure> |
listProceduresInModule(String libraryName,
String moduleName)
|
IQSYSFileRecordFormat[] |
listRecords(ISeriesRecordFilterString filter,
IProgressMonitor monitor)
List records matching the specified record filter |
IQSYSFileRecordFormat[] |
listRecords(ISeriesRecordFilterString filter,
IQSYSFileRecordFormatFactory factory,
IProgressMonitor monitor)
List records matching the specified record filter |
ISeriesHostSpoolFileNameOnly[] |
listSpoolFiles(ISeriesSplfFilterString filter,
IISeriesHostListSpoolFileFactory factory,
IProgressMonitor monitor)
List spool files matching the specified filter |
IISeriesSQLStatementHeader |
syntaxCheckSQL(String sqlStmt,
int stmtLen,
int numRec,
String language,
int numKeys,
String options)
Syntax Check SQL statements |
Methods inherited from class com.ibm.etools.iseries.services.qsys.QSYSAbstractService |
---|
handleError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
Constructor Detail |
---|
public QSYSObjectService(IToolboxSessionProvider toolboxProvider)
toolboxProvider
- Method Detail |
---|
public IQSYSLibrary[] listLibraries(ISeriesLibraryFilterString filter, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
filter
- The library filter used for resolving libraries. A value of null lists all libraries.
SystemMessageException
InterruptedException
public IQSYSLibrary[] listLibraries(ISeriesLibraryFilterString filter, IQSYSFactory factory, boolean additionalDetails, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
filter
- The library filter used for resolving libraries. A value of null lists all libraries.
SystemMessageException
InterruptedException
public IQSYSObject[] listObjects(ISeriesObjectFilterString filter, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
filter
- The object filter used for resolving objects.
SystemMessageException
InterruptedException
public IQSYSObject[] listObjects(ISeriesObjectFilterString filter, IQSYSFactory factory, boolean additionalDetails, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
filter
- The object filter used for resolving objects. A value of null lists returns null;
SystemMessageException
InterruptedException
public String[] listObjectNames(String library, String nameFilter, String[] typeFilters, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public String[] listLibraryNames(String nameFilter, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public String[] listMemberNames(String library, String file, String nameFilter, String[] typeFilters, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSMember[] listMembers(ISeriesMemberFilterString filter, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
filter
- The member filter used for resolving the members. A value of null returns null;
SystemMessageException
InterruptedException
public IQSYSMember[] listMembers(ISeriesMemberFilterString filter, IQSYSFactory factory, boolean additionalDetails, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
filter
- The member filter used for resolving the members. A value of null returns null;
SystemMessageException
InterruptedException
public IQSYSFileRecordFormat[] listRecords(ISeriesRecordFilterString filter, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSFileRecordFormat[] listRecords(ISeriesRecordFilterString filter, IQSYSFileRecordFormatFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSDatabaseFileRecordFormat getDatabaseFileRecord(IQSYSDatabaseFile file, String record, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSDatabaseFileRecordFormat getDatabaseFileRecord(IQSYSDatabaseFile file, String record, IQSYSFileRecordFormatFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSDatabaseFileRecordFormat getDatabaseFileRecord(IQSYSDatabaseFile file, String record, String fieldFilter, IQSYSFileRecordFormatFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSDatabaseField[] listDatabaseFields(IQSYSFileRecordFormat record, String fieldFilter, IQSYSFileRecordFormatFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public ISeriesHostSpoolFileNameOnly[] listSpoolFiles(ISeriesSplfFilterString filter, IISeriesHostListSpoolFileFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSMessageDescription[] listMessageDescriptions(IQSYSMessageFile file, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
file
- The message file to retrieve message descriptions from.
SystemMessageException
InterruptedException
public IQSYSMessageDescription[] listMessageDescriptions(IQSYSMessageFile file, String msgID, IQSYSFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
file
- The message file to retrieve message descriptions from.msgID
- The ID of the message description to retrieve or * to retrieve all message descriptions.
SystemMessageException
InterruptedException
public IQSYSMember getMemberDetails(IQSYSMember member, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSDatabaseFile getDatabaseFileDetails(IQSYSDatabaseFile file, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSFileField[] listFields(ISeriesFieldFilterString filter, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public IQSYSFileField[] listFields(ISeriesFieldFilterString filter, IQSYSFileFieldFactory factory, IProgressMonitor monitor) throws SystemMessageException, InterruptedException
SystemMessageException
InterruptedException
public boolean checkAuthority(String library, String object, String objectType, String authorityList) throws SystemMessageException
SystemMessageException
public IQSYSFactory getDefaultFactory()
public IQSYSFileRecordFormatFactory getDefaultRecordFactory()
public IQSYSFileFieldFactory getDefaultFieldFactory()
public int getEditingCCSID(IQSYSMember member) throws SystemMessageException
SystemMessageException
public ISeriesFileOverrideInformation getFileOverride(String filename) throws SystemMessageException
ISeriesFileOverrideInformation
for the override or null if no override
is currently set for the file.
SystemMessageException
public List<ISeriesHostObjectLock> listMemberLocks(IQSYSMember member) throws SystemMessageException
SystemMessageException
public IISeriesHostKeyField[] listKeyFields(IQSYSDatabaseFile file, String recordName) throws SystemMessageException
SystemMessageException
public IISeriesHostRecordDevice[] getDeviceRecords(IQSYSFile file) throws SystemMessageException
SystemMessageException
public IISeriesSQLStatementHeader syntaxCheckSQL(String sqlStmt, int stmtLen, int numRec, String language, int numKeys, String options) throws SystemMessageException
SQL
- statementsLength
- of each SQL statementNumber
- of RecordsLanguage
- in which the SQL statements are codedNumber
- of KeysString
- for Options
SystemMessageException
public com.ibm.etools.iseries.services.qsys.internal.QSYSProgramInformation getProgramInformation(IQSYSObject program, boolean exportedProcsOnly) throws SystemMessageException
SystemMessageException
public List<ISeriesHostProcedure> listProceduresInModule(String libraryName, String moduleName) throws SystemMessageException
SystemMessageException
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |