com.ibm.as400.access
Class WriterJobList
java.lang.Object
|
+--com.ibm.as400.access.PrintObjectList
|
+--com.ibm.as400.access.WriterJobList
- All Implemented Interfaces:
- java.io.Serializable
- public class WriterJobList
- extends PrintObjectList
- implements java.io.Serializable
The WriterJobList class is used to build a list of AS/400 writer job objects of type
WriterJob. The list can be filtered by writer job name or output queue.
- See Also:
WriterJob
, Serialized Form
Method Summary |
java.lang.String |
getQueueFilter()
Returns the output queue filter. |
java.lang.String |
getWriterFilter()
Returns the writer filter. |
void |
setQueueFilter(java.lang.String queueFilter)
Sets the output queue filter. |
void |
setWriterFilter(java.lang.String writerFilter)
Sets writer list filter. |
Methods inherited from class com.ibm.as400.access.PrintObjectList |
addPrintObjectListListener, addPropertyChangeListener, addVetoableChangeListener, close, getObject, getObjects, getSystem, isCompleted, openAsynchronously, openSynchronously, removePrintObjectListListener, removePropertyChangeListener, removeVetoableChangeListener, resetAttributesToRetrieve, resetFilter, setAttributesToRetrieve, setSystem, size, waitForItem, waitForListToComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterJobList
public WriterJobList()
- Constructs a WriterJobList object. The AS/400 system must
be set later. This constructor is provided for visual application
builders that support JavaBeans. It is not intended for use
by application programmers.
- See Also:
PrintObjectList.setSystem(com.ibm.as400.access.AS400)
WriterJobList
public WriterJobList(AS400 system)
- Constructs a WriterJobList object. It uses the system name provided.
The default list filter will list all writer jobs on the specified system.
- Parameters:
system
- The AS/400 on which the writer jobs exist.
getQueueFilter
public java.lang.String getQueueFilter()
- Returns the output queue filter.
getWriterFilter
public java.lang.String getWriterFilter()
- Returns the writer filter.
setQueueFilter
public void setQueueFilter(java.lang.String queueFilter)
throws java.beans.PropertyVetoException
- Sets the output queue filter. Only writers active for this output queue
will be listed.
- Parameters:
queueFilter
- Specifies the library and output queue name for which the writer
jobs will be listed. The format of the queueFilter string must be in the
format of /QSYS.LIB/libname.LIB/queuename.OUTQ, where
libname is the library name that contains the queue for which to list writer
jobs. It must be a specific library name.
queuename is the name of an output queue for which to list writer jobs.
It must be a specific output queue name.- Throws:
java.beans.PropertyVetoException
- If the change is vetoed.
setWriterFilter
public void setWriterFilter(java.lang.String writerFilter)
throws java.beans.PropertyVetoException
- Sets writer list filter.
- Parameters:
writerFilter
- The name of the writers to list.
writer is the name of the writers to list.
It can be a specific name, a generic name, or the special value *ALL.
The default for the writerFilter is *ALL.- Throws:
java.beans.PropertyVetoException
- If the change is vetoed.