|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.JobList
The JobList class represents a list of AS/400 jobs.
Some of the selections have associated get and set methods
defined in this class. These are provided for backwards compatibility
with previous versions of the AS/400 Toolbox for Java. The complete
set of selections can be accessed using the
RJobList
class.
RJobList
, Serialized FormField Summary | |
static java.lang.String |
ALL
Constant indicating that all jobs are returned. |
static java.lang.String |
BLANK
Constant indicating that a blank value is used. |
static java.lang.String |
CURRENT
Constant indicating that the current value is used. |
Constructor Summary | |
JobList()
Constructs a JobList object. |
|
JobList(AS400 system)
Constructs a JobList object. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a VetoableChangeListener. |
java.util.Enumeration |
getJobs()
Returns the list of jobs in the job list. |
int |
getLength()
Returns the number of jobs in the list. |
java.lang.String |
getName()
Returns the job name that describes which jobs are returned. |
java.lang.String |
getNumber()
Returns the job number that describes which jobs are returned. |
AS400 |
getSystem()
Returns the system. |
java.lang.String |
getUser()
Returns the user name that describes which jobs are returned. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a VetoableChangeListener. |
void |
setName(java.lang.String name)
Sets the job name that describes which jobs are returned. |
void |
setNumber(java.lang.String number)
Sets the job number that describes which jobs are returned. |
void |
setSystem(AS400 system)
Sets the system. |
void |
setUser(java.lang.String user)
Sets the user name value that describes which jobs are returned. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String ALL
public static final java.lang.String BLANK
public static final java.lang.String CURRENT
Constructor Detail |
public JobList()
public JobList(AS400 system)
system
- The system.Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public java.util.Enumeration getJobs() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
public int getLength()
public java.lang.String getName()
RJobList.JOB_NAME
public java.lang.String getNumber()
RJobList.JOB_NUMBER
public AS400 getSystem()
public java.lang.String getUser()
RJobList.USER_NAME
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener.public void setName(java.lang.String name) throws java.beans.PropertyVetoException
name
- The job name, or ALL for all job names.RJobList.JOB_NAME
public void setNumber(java.lang.String number) throws java.beans.PropertyVetoException
number
- The job number, or ALL for all job numbers.RJobList.JOB_NUMBER
public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The system.public void setUser(java.lang.String user) throws java.beans.PropertyVetoException
user
- The user name, or ALL for all user names.RJobList.USER_NAME
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |