com.ibm.as400.access
Class PTFGroupList

java.lang.Object
  extended bycom.ibm.as400.access.PTFGroupList

public class PTFGroupList
extends Object

Allows you to retrieve a list of all PTF groups that are known to a system. You can then use PTFGroup to get detailed information for a specific PTF group.


Constructor Summary
PTFGroupList(AS400 system)
          Constructs a PTFGroupList object.
 
Method Summary
 PTFGroup[] getPTFGroup()
          Returns a list of all PTF groups that are known to the system.
 AS400 getSystem()
          Returns the system used to get a list of PTF groups.
 void setSystem(AS400 system)
          Sets the system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTFGroupList

public PTFGroupList(AS400 system)
Constructs a PTFGroupList object.

Parameters:
system - The system.
Method Detail

getPTFGroup

public PTFGroup[] getPTFGroup()
                       throws AS400Exception,
                              AS400SecurityException,
                              ErrorCompletingRequestException,
                              InterruptedException,
                              IOException,
                              ObjectDoesNotExistException
Returns a list of all PTF groups that are known to the system.

Returns:
The array of PTFGroups.
Throws:
AS400Exception
AS400SecurityException
ErrorCompletingRequestException
InterruptedException
IOException
ObjectDoesNotExistException

setSystem

public void setSystem(AS400 system)
Sets the system.

Parameters:
system - The system used to get a list of PTF groups.

getSystem

public AS400 getSystem()
Returns the system used to get a list of PTF groups.

Returns:
the system name.