public class SubsystemEntryList extends Object
Implementation note: This class internally calls the "List Subsystem Entries" API (QWDLSBSE). Information from formats SBSE0100 is retrieved.
RoutingDataEntry
Modifier and Type | Field | 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 | Description |
---|---|
SubsystemEntryList(AS400 system,
QSYSObjectPathName path) |
Constructs a SubsystemEntryList.
|
SubsystemEntryList(AS400 system,
String library,
String name) |
Constructs a SubsystemEntryList object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Removes all entries from this object.
|
RoutingDataEntry[] |
getRoutingDataEntry() |
Returns an array of routing data entries.
|
RoutingDataEntry |
getRoutingDataEntry(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, String library, 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, InterruptedException, IOException, ObjectDoesNotExistException
ObjectDoesNotExistException
- If a system object necessary for the call does not exist on the system.InterruptedException
- If this thread is interrupted.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, IOException, InterruptedException, ObjectDoesNotExistException
ObjectDoesNotExistException
- If an object necessary for the call does not exist on the system.InterruptedException
- If this thread is interrupted.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(String compareValue)
public RoutingDataEntry[] getRoutingDataEntry()
public void clear()
Copyright © 2024. All rights reserved.