|
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 com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor com.ibm.etools.iseries.comm.ISeriesListDatabaseFields
public class ISeriesListDatabaseFields
A class for listing fields in a *FILE PF-DTA object on an ISeries. This is done by invoking the QVDEFILE program on the iSeries which in turn uses the QDBRTVFD OS/400 api.
The output of the list request getFieldList(String, String, String)
is a List of objects that implement the com.ibm.etools.iseries.comm.interfaces.IISeriesHostDatabaseField.
For some callers, it is important for performance to get a list of their own objects, versus a list of objects of a hard-coded class that
just needs to be subsequently traversed and the data copied. To enable this, use the method
getFieldList(String, String, String, String, IISeriesHostListDatabaseFieldFactory)
. This requires an object
implementing IISeriesHostListDatabaseFieldFactory
which is
used to create each object returned in the list. This factory must return objects that implement IISeriesHostDatabaseField
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor |
---|
ISeriesAbstractHostAPIProcessor.HostAPIErrorCodeStructure |
Field Summary | |
---|---|
static String |
Copyright
Deprecated. |
Constructor Summary | |
---|---|
ISeriesListDatabaseFields()
Deprecated. Constructor to use when you do not already have an AS400 object. |
|
ISeriesListDatabaseFields(AS400 system)
Deprecated. Constructor when there is an existing AS400 object. |
Method Summary | |
---|---|
void |
clear()
Deprecated. Clear the last query results. |
List |
getFieldList(ISeriesFieldFilterString fs)
Deprecated. Retrieve a list of fields, returning objects created by a supplied object factory. |
List |
getFieldList(String library,
String file,
String record)
Deprecated. Retrieve a list of fields, returning objects created by a supplied object factory. |
List |
getFieldList(String library,
String file,
String record,
String field)
Deprecated. Retrieve a list of fields, returning objects created by a supplied object factory. |
List |
getFieldList(String library,
String file,
String record,
String field,
IISeriesHostListDatabaseFieldFactory factory)
Deprecated. Retrieve a list of fields, returning objects created by a supplied object factory. |
boolean |
getFileOverride()
Deprecated. Query whether this list processor honors file override information |
protected static String |
lookupKeyword(byte id)
Deprecated. |
void |
setFileOverride(boolean override)
Deprecated. Specify whether file overrides are honored or not during list processing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public ISeriesListDatabaseFields()
public ISeriesListDatabaseFields(AS400 system)
AS400
- system to use for the connection.Method Detail |
---|
protected static String lookupKeyword(byte id)
public List getFieldList(String library, String file, String record) throws Exception
Note this API does not yet support multi-generic lists. Explicit names must be provided for the library, file and record parameters.
library
- The library where the database file is located.file
- The file for which to retrieve field information.record
- The record for which to retrieve field information.
Exception
IISeriesHostDatabaseField
public List getFieldList(String library, String file, String record, String field) throws Exception
Note this API does not yet support multi-generic lists. Explicit names must be provided for the library, file and record parameters.
library
- The library where the database file is located.file
- The file for which to retrieve field information.record
- The record for which to retrieve field information.field
- Name of the field to retrieve information for.
Exception
IISeriesHostDatabaseField
public List getFieldList(ISeriesFieldFilterString fs) throws Exception
Note this API does not yet support multi-generic lists. Explicit names must be provided for the library, file and record parameters.
fs
- Field filter string which contains the field filtering criteria.
Exception
IISeriesHostDatabaseField
public List getFieldList(String library, String file, String record, String field, IISeriesHostListDatabaseFieldFactory factory) throws Exception
Note this API does not yet support multi-generic lists. Explicit names must be provided for the library, file and record parameters.
library
- The library where the database file is located.file
- The file for which to retrieve field information.record
- The record for which to retrieve field information.factory
- An object implementing the
IISeriesHostListDatabaseFieldFactory
interface. This interface prescribes one method for creating instances of IISeriesHostDatabaseField
Exception
IISeriesHostDatabaseField
public void setFileOverride(boolean override)
override
- A value of true will honor file overrides, a value of false will not honor file overrides.public boolean getFileOverride()
public void clear()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |