public class SubsystemEntryList
extends java.lang.Object
Implementation note: This class internally calls the "List Subsystem Entries" API (QWDLSBSE). Information from formats SBSE0100 is retrieved.
RoutingDataEntry| Modifier and Type | Field and Description | 
|---|---|
| static int | AUTOSTART_JOB_ENTRY | 
| static int | COMMUNICATION_ENTRY | 
| static int | PRESTART_JOB_ENTRY | 
| static int | REMOTE_LOCATION_ENTRY | 
| static int | ROUTING_ENTRY | 
| static int | WORKSTATION_NAME_ENTRY | 
| static int | WORKSTATION_TYPE_ENTRY | 
| Constructor and Description | 
|---|
| SubsystemEntryList(AS400 system,
                  QSYSObjectPathName path)Constructs a SubsystemEntryList. | 
| SubsystemEntryList(AS400 system,
                  java.lang.String library,
                  java.lang.String name)Constructs a SubsystemEntryList object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Removes all entries from this object. | 
| RoutingDataEntry[] | getRoutingDataEntry()Returns an array of routing data entries. | 
| RoutingDataEntry | getRoutingDataEntry(java.lang.String compareValue)Returns the routing data entry by compareValue. | 
| void | load()Loads all entries from the specified subsystem. | 
| void | refresh()Reloads all entries that have been specified. | 
| void | setListType(int type) | 
public static final int ROUTING_ENTRY
public static final int COMMUNICATION_ENTRY
public static final int REMOTE_LOCATION_ENTRY
public static final int AUTOSTART_JOB_ENTRY
public static final int PRESTART_JOB_ENTRY
public static final int WORKSTATION_NAME_ENTRY
public static final int WORKSTATION_TYPE_ENTRY
public SubsystemEntryList(AS400 system, java.lang.String library, java.lang.String name)
system - The system where the subsystem resides.library - The library containing the subsystem.name - The subsystem namepublic SubsystemEntryList(AS400 system, QSYSObjectPathName path)
system - The system where the subsystem resides.path - The fully qualified IFS path to the subsystem.public void refresh()
             throws AS400SecurityException,
                    ErrorCompletingRequestException,
                    java.lang.InterruptedException,
                    java.io.IOException,
                    ObjectDoesNotExistException
ObjectDoesNotExistException - If a system object necessary for the call does not exist on the system.java.lang.InterruptedException - If this thread is interrupted.java.io.IOException - If an error occurs while communicating with the system.ErrorCompletingRequestException - If an error occurs before the request is completed.AS400SecurityException - If a security or authority error occurs.public void load()
          throws AS400Exception,
                 AS400SecurityException,
                 ErrorCompletingRequestException,
                 java.io.IOException,
                 java.lang.InterruptedException,
                 ObjectDoesNotExistException
ObjectDoesNotExistException - If an object necessary for the call does not exist on the system.java.lang.InterruptedException - If this thread is interrupted.java.io.IOException - If an error occurs while communicating with the system.ErrorCompletingRequestException - If an error occurs before the request is completed.AS400SecurityException - If a security or authority error occurs.AS400Exception - If the program on the server sends an escape message.public void setListType(int type)
public RoutingDataEntry getRoutingDataEntry(java.lang.String compareValue)
public RoutingDataEntry[] getRoutingDataEntry()
public void clear()