|
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.ISeriesCheckObject
public class ISeriesCheckObject
A class for retrieving information about an object on an ISeries. This is done by calling the OS/400 QUSROBJD system API. To use this class:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor |
---|
ISeriesAbstractHostAPIProcessor.HostAPIErrorCodeStructure |
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesCheckObject()
Constructor used when you do not have an AS400 object already. |
|
ISeriesCheckObject(AS400 system)
Constructor. |
Method Summary | |
---|---|
IISeriesHostObjectBasic |
checkObject(String library,
String object,
String type)
Method users call to get typical information about an AS/400 object. |
IISeriesHostObjectNameOnly |
checkObject(String library,
String object,
String type,
IISeriesHostObjectFactory retObjFactory)
Method users call to get object information. |
IISeriesHostObjectNameOnly |
findObject(String[] libraries,
String object,
String type)
Method users call to find an object in a given list of libraries. |
IISeriesHostObjectNameOnly |
findObject(String[] libraries,
String object,
String type,
IISeriesHostObjectFactory retObjFactory)
Method users call to find an object in a given list of libraries. |
protected String |
getLibrary()
Return the library of the object to be checked |
void |
init()
Initialization. |
protected IISeriesHostObjectNameOnly |
makeCall(IISeriesHostObjectFactory retObjFactory)
Method that actually makes the host API call. |
protected String |
setFormatStringandReturnData()
Set return data size and buffer and format string telling host API how much info to return. |
protected void |
setObjectToCheck(String library,
String objectname,
String objecttype)
Set library and name and type of object to check. |
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 ISeriesCheckObject()
public ISeriesCheckObject(AS400 system)
AS400
- system to use for the connection.Method Detail |
---|
public void init()
public IISeriesHostObjectBasic checkObject(String library, String object, String type) throws Exception
library
- library containing object. Can be *LIBL or *CURLIBobject
- name of the object to return information for.type
- type of the object to return information for (eg, "*FILE").
Exception
public IISeriesHostObjectNameOnly checkObject(String library, String object, String type, IISeriesHostObjectFactory retObjFactory) throws Exception
library
- library containing object. Can be *LIBL or *CURLIBobject
- name of the object to return information for.type
- type of the object to return information for (eg, "*FILE").retObjFactory
- An instance of a class that implements IISeriesHostObjectFactory.
The createObject method inside this object will return an object
that implements one of:
IISeriesHostObjectNameOnly
if you only want name and context information for this object.
IISeriesHostObjectBrief
if you only want minimal information for this object.
IISeriesHostObjectBasic
if you want typical information for this object.
IISeriesHostObjectExhaustive
if you only ALL information for this object.
Exception
public IISeriesHostObjectNameOnly findObject(String[] libraries, String object, String type)
public IISeriesHostObjectNameOnly findObject(String[] libraries, String object, String type, IISeriesHostObjectFactory retObjFactory)
protected void setObjectToCheck(String library, String objectname, String objecttype)
library
- of object, or *LIBL or *CURLIBname
- of objecttype
- of objectprotected String getLibrary()
getLibrary
in class ISeriesAbstractHostAPIProcessor
protected String setFormatStringandReturnData()
protected IISeriesHostObjectNameOnly makeCall(IISeriesHostObjectFactory retObjFactory) throws Exception
IISeriesHostObjectNameOnly
.
IISeriesHostObjectBrief
.
IISeriesHostObjectBasic
.
IISeriesHostObjectExhaustive
.
Exception
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |