com.ibm.as400.access

Class 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 objects of type WriterJob. The list can be filtered by writer job name or output queue.
    See Also:
    WriterJob, Serialized Form
    • Constructor Detail

      • WriterJobList

        public WriterJobList()
        Constructs a WriterJobList object. The 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 system on which the writer jobs exist.
    • Method Detail

      • getQueueFilter

        public java.lang.String getQueueFilter()
        Returns the output queue filter.
        Returns:
        queue filter
      • getWriterFilter

        public java.lang.String getWriterFilter()
        Returns the writer filter.
        Returns:
        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.