|
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.ISeriesAbstractListProcessor
public abstract class ISeriesAbstractListProcessor
A base class for all classes that extract lists from an ISeries. This is done by calling the appropriate system API. This class leverages the inherited user space management methods of the parent class ISeriesAbstractHostAPIProcessor, as well as the nested classes for common API structures/parameters. What this class add is support common to any list request processing.
ISeriesAbstractHostAPIProcessor
Nested Class Summary | |
---|---|
static class |
ISeriesAbstractListProcessor.HostAPIGenericListHeader
======================================================================= HostAPIGenericListHeader ------------------------- Nested helper class to facilitate parsing of the common (generic) header that most host list APIs return at the top of the user space. |
Nested classes/interfaces inherited from class com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor |
---|
ISeriesAbstractHostAPIProcessor.HostAPIErrorCodeStructure |
Field Summary | |
---|---|
static String |
Copyright
|
protected static IISeriesHostListObjectFactory |
DEFAULT_LISTMEMBER_FACTORY_NAMEONLY
|
protected static IISeriesHostListObjectFactory |
DEFAULT_LISTOBJECT_FACTORY_BASIC
|
protected static IISeriesHostListObjectFactory |
DEFAULT_LISTOBJECT_FACTORY_BRIEF
|
protected static IISeriesHostListObjectFactory |
DEFAULT_LISTOBJECT_FACTORY_EXHAUSTIVE
|
protected static IISeriesHostListObjectFactory |
DEFAULT_LISTOBJECT_FACTORY_NAMEARRAY
For listing names only returning a string array. |
protected static IISeriesHostListObjectFactory |
DEFAULT_LISTOBJECT_FACTORY_NAMEONLY
|
protected static int |
GENERIC_HEADER_SIZE
|
protected IISeriesHostListObjectFactory |
returnListObjectFactory
|
Constructor Summary | |
---|---|
ISeriesAbstractListProcessor()
Constructor when there is no AS400 object available. |
|
ISeriesAbstractListProcessor(AS400 system)
Constructor when you have an AS400 object |
Method Summary | |
---|---|
static ISeriesAbstractListProcessor |
createListObject(AS400 system,
ISeriesAbstractFilterString fsObj)
Factory method to instantiate and return appropriate child object. |
protected IISeriesHostListObjectFactory |
getDefaultListObjectFactory()
Get default object factory used to create new objects. |
protected String |
getFilterString()
Return the filter string used for this list request. |
protected ISeriesAbstractFilterString |
getFilterStringObject()
Return the filter string object used for this list request. |
abstract List |
getList(ISeriesAbstractFilterString fsObj)
Abstract method each child must implement. |
List |
getList(ISeriesAbstractFilterString fsObj,
IISeriesHostListBaseFactory listFactory)
Retrieve a list of jobs, returning objects created by a supplied object factory. |
List |
getList(ISeriesAbstractFilterString fsObj,
IISeriesHostListBaseFactory listFactory,
IISeriesHostListStatusCallback callback)
Retrieve a list of jobs, informing the caller when processing starts for each part of a multi-generic list. |
abstract List |
getListBrief(ISeriesAbstractFilterString fsObj)
Abstract method each child must implement. |
abstract List |
getListNameOnly(ISeriesAbstractFilterString fsObj)
Abstract method each child must implement. |
protected IISeriesHostListObjectFactory |
getListObjectFactory()
Get object factory used to create new objects. |
abstract List |
getObjectList(ISeriesAbstractFilterString fsObj,
IISeriesHostListObjectFactory factory)
Abstract method each child must implement. |
abstract List |
getObjectList(ISeriesAbstractFilterString fsObj,
IISeriesHostListObjectFactory factory,
IISeriesHostListStatusCallback callback)
Abstract method each child must implement. |
protected void |
setFilterStringObj(ISeriesAbstractFilterString fsObj)
Set the filter string used for this list request. |
protected void |
setListObjectFactory(IISeriesHostListObjectFactory factory)
Set list object factory used to create new objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesAPIProcessor |
---|
getWarnings |
Field Detail |
---|
public static final String Copyright
protected static final int GENERIC_HEADER_SIZE
protected static final IISeriesHostListObjectFactory DEFAULT_LISTOBJECT_FACTORY_NAMEONLY
protected static final IISeriesHostListObjectFactory DEFAULT_LISTMEMBER_FACTORY_NAMEONLY
protected static final IISeriesHostListObjectFactory DEFAULT_LISTOBJECT_FACTORY_BRIEF
protected static final IISeriesHostListObjectFactory DEFAULT_LISTOBJECT_FACTORY_BASIC
protected static final IISeriesHostListObjectFactory DEFAULT_LISTOBJECT_FACTORY_EXHAUSTIVE
protected static final IISeriesHostListObjectFactory DEFAULT_LISTOBJECT_FACTORY_NAMEARRAY
protected IISeriesHostListObjectFactory returnListObjectFactory
Constructor Detail |
---|
public ISeriesAbstractListProcessor()
public ISeriesAbstractListProcessor(AS400 system)
AS400
- system to use for the connection.Method Detail |
---|
public abstract List getListNameOnly(ISeriesAbstractFilterString fsObj) throws Exception
getListNameOnly
in interface IISeriesListProcessor
fsObj
- Filter string object identifying what list to get.
Exception
public abstract List getListBrief(ISeriesAbstractFilterString fsObj) throws Exception
getListBrief
in interface IISeriesListProcessor
fsObj
- Filter string object identifying what list to get.
Exception
public abstract List getList(ISeriesAbstractFilterString fsObj) throws Exception
getList
in interface IISeriesListProcessor
fsObj
- Filter string object identifying what list to get.
Exception
public List getList(ISeriesAbstractFilterString fsObj, IISeriesHostListBaseFactory listFactory) throws Exception
As per the IISeriesListProcessor interface requirements. Not typesafe.
getList
in interface IISeriesListProcessor
Exception
public List getList(ISeriesAbstractFilterString fsObj, IISeriesHostListBaseFactory listFactory, IISeriesHostListStatusCallback callback) throws Exception
As per the IISeriesListProcessor interface requirements. Not typesafe.
getList
in interface IISeriesListProcessor
Exception
public abstract List getObjectList(ISeriesAbstractFilterString fsObj, IISeriesHostListObjectFactory factory) throws Exception
fsObj
- Filter string object identifying what list to get.factory
- Factory for creating each of the returned objects.
Exception
public abstract List getObjectList(ISeriesAbstractFilterString fsObj, IISeriesHostListObjectFactory factory, IISeriesHostListStatusCallback callback) throws Exception
fsObj
- Filter string object identifying what list to get.factory
- Factory for creating each of the returned objects.callback
- Object to callback as each list phase is started.
Exception
protected void setListObjectFactory(IISeriesHostListObjectFactory factory)
protected IISeriesHostListObjectFactory getListObjectFactory()
protected IISeriesHostListObjectFactory getDefaultListObjectFactory()
protected void setFilterStringObj(ISeriesAbstractFilterString fsObj)
protected ISeriesAbstractFilterString getFilterStringObject()
protected String getFilterString()
public static ISeriesAbstractListProcessor createListObject(AS400 system, ISeriesAbstractFilterString fsObj)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |