com.ibm.as400.vaccess

Class VJob

  • java.lang.Object
    • com.ibm.as400.vaccess.VJob
  • All Implemented Interfaces:
    VNode, VObject, java.io.Serializable, javax.swing.tree.TreeNode

    Deprecated. 
    Use Java Swing instead, along with the classes in package com.ibm.as400.access

    public class VJob
    extends java.lang.Object
    implements VNode, java.io.Serializable
    The VJob class defines the representation of a job on a system for use in various models and panes in this package. You must explicitly call load() to load the information from the system.

    Most errors are reported as ErrorEvents rather than throwing exceptions. Users should listen for ErrorEvents in order to diagnose and recover from error conditions.

    VJob objects generate the following events:

    • ErrorEvent
    • PropertyChangeEvent
    • VObjectEvent
    • WorkingEvent
    See Also:
    Serialized Form
    • Field Detail

      • BREAK_MESSAGE_HANDLING_PROPERTY

        public static final java.lang.Object BREAK_MESSAGE_HANDLING_PROPERTY
        Deprecated. 
        Property identifier for the break message handling.
      • CCSID_PROPERTY

        public static final java.lang.Object CCSID_PROPERTY
        Deprecated. 
        Property identifier for the coded character set identifier.
      • COMPLETION_STATUS_PROPERTY

        public static final java.lang.Object COMPLETION_STATUS_PROPERTY
        Deprecated. 
        Property identifier for the completion status.
      • COUNTRY_ID_PROPERTY

        public static final java.lang.Object COUNTRY_ID_PROPERTY
        Deprecated. 
        Property identifier for the country identifier.
      • CPUUSED_PROPERTY

        public static final java.lang.Object CPUUSED_PROPERTY
        Deprecated. 
        Property identifier for the CPU used.
      • CURRENT_LIBRARY_EXISTENCE_PROPERTY

        public static final java.lang.Object CURRENT_LIBRARY_EXISTENCE_PROPERTY
        Deprecated. 
        Property identifier for the current library existence.
      • CURRENT_LIBRARY_PROPERTY

        public static final java.lang.Object CURRENT_LIBRARY_PROPERTY
        Deprecated. 
        Property identifier for the current library if one exists.
      • DATE_FORMAT_PROPERTY

        public static final java.lang.Object DATE_FORMAT_PROPERTY
        Deprecated. 
        Property identifier for the date format.
      • DATE_JOB_BECAME_ACTIVE_PROPERTY

        public static final java.lang.Object DATE_JOB_BECAME_ACTIVE_PROPERTY
        Deprecated. 
        Property identifier for the date and time the job become active.
      • DATE_JOB_ENTERED_SYSTEM_PROPERTY

        public static final java.lang.Object DATE_JOB_ENTERED_SYSTEM_PROPERTY
        Deprecated. 
        Property identifier for the date and time the job entered system.
      • DATE_JOB_SCHEDULE_TO_RUN_PROPERTY

        public static final java.lang.Object DATE_JOB_SCHEDULE_TO_RUN_PROPERTY
        Deprecated. 
        Property identifier for the date and time the job is scheduled to run.
      • DATE_PROPERTY

        public static final java.lang.Object DATE_PROPERTY
        Deprecated. 
        Property identifier for the date.
      • DATE_PUT_ON_JOB_QUEUE_PROPERTY

        public static final java.lang.Object DATE_PUT_ON_JOB_QUEUE_PROPERTY
        Deprecated. 
        Property identifier for the date and time the job was put on this job queue.
      • DATE_SEPARATOR_PROPERTY

        public static final java.lang.Object DATE_SEPARATOR_PROPERTY
        Deprecated. 
        Property identifier for the date separator.
      • DDM_CONVERSATION_HANDLING_PROPERTY

        public static final java.lang.Object DDM_CONVERSATION_HANDLING_PROPERTY
        Deprecated. 
        Property identifier for the DDM conversation handling.
      • DECIMAL_FORMAT_PROPERTY

        public static final java.lang.Object DECIMAL_FORMAT_PROPERTY
        Deprecated. 
        Property identifier for the decimal format.
      • DEFAULT_CCSID_PROPERTY

        public static final java.lang.Object DEFAULT_CCSID_PROPERTY
        Deprecated. 
        Property identifier for the default coded character set identifier.
      • DEVICE_RECOVERY_ACTION_PROPERTY

        public static final java.lang.Object DEVICE_RECOVERY_ACTION_PROPERTY
        Deprecated. 
        Property identifier for the device recovery action.
      • END_SEVERITY_PROPERTY

        public static final java.lang.Object END_SEVERITY_PROPERTY
        Deprecated. 
        Property identifier for the end severity.
      • FUNCTION_PROPERTY

        public static final java.lang.Object FUNCTION_PROPERTY
        Deprecated. 
        Property identifier for the function.
      • INQUIRY_MESSAGE_REPLY_PROPERTY

        public static final java.lang.Object INQUIRY_MESSAGE_REPLY_PROPERTY
        Deprecated. 
        Property identifier for the inquiry message reply.
      • JOB_ACCOUNTING_CODE_PROPERTY

        public static final java.lang.Object JOB_ACCOUNTING_CODE_PROPERTY
        Deprecated. 
        Property identifier for the job accounting code.
      • JOB_DATE_PROPERTY

        public static final java.lang.Object JOB_DATE_PROPERTY
        Deprecated. 
        Property identifier for the job date.
      • JOB_DESCRIPTION_PROPERTY

        public static final java.lang.Object JOB_DESCRIPTION_PROPERTY
        Deprecated. 
        Property identifier for the job description.
      • JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY

        public static final java.lang.Object JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY
        Deprecated. 
        Property identifier for the job message queue action.
      • JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY

        public static final java.lang.Object JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY
        Deprecated. 
        Property identifier for the job message maximum size.
      • JOB_QUEUE_PRIORITY_PROPERTY

        public static final java.lang.Object JOB_QUEUE_PRIORITY_PROPERTY
        Deprecated. 
        Property identifier for the job queue priority.
      • JOB_QUEUE_PROPERTY

        public static final java.lang.Object JOB_QUEUE_PROPERTY
        Deprecated. 
        Property identifier for the job queue.
      • JOB_SWITCHES_PROPERTY

        public static final java.lang.Object JOB_SWITCHES_PROPERTY
        Deprecated. 
        Property identifier for the job switches.
      • LANGUAGE_ID_PROPERTY

        public static final java.lang.Object LANGUAGE_ID_PROPERTY
        Deprecated. 
        Property identifier for the language identifier.
      • LOGGING_CL_PROGRAMS_PROPERTY

        public static final java.lang.Object LOGGING_CL_PROGRAMS_PROPERTY
        Deprecated. 
        Property identifier for the logging of CL programs .
      • LOGGING_LEVEL_PROPERTY

        public static final java.lang.Object LOGGING_LEVEL_PROPERTY
        Deprecated. 
        Property identifier for the logging level.
      • LOGGING_SEVERITY_PROPERTY

        public static final java.lang.Object LOGGING_SEVERITY_PROPERTY
        Deprecated. 
        Property identifier for the logging severity.
      • LOGGING_TEXT_PROPERTY

        public static final java.lang.Object LOGGING_TEXT_PROPERTY
        Deprecated. 
        Property identifier for the logging text.
      • MODE_NAME_PROPERTY

        public static final java.lang.Object MODE_NAME_PROPERTY
        Deprecated. 
        Property identifier for the mode name.
      • NUMBER_PROPERTY

        public static final java.lang.Object NUMBER_PROPERTY
        Deprecated. 
        Property identifier for the number.
      • NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY

        public static final java.lang.Object NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY
        Deprecated. 
        Property identifier for the number of libraries in SYSLIBL.
      • NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY

        public static final java.lang.Object NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY
        Deprecated. 
        Property identifier for the number of libraries in USRLIBL.
      • NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY

        public static final java.lang.Object NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY
        Deprecated. 
        Property identifier for the number of product libaries.
      • OUTPUT_QUEUE_PRIORITY_PROPERTY

        public static final java.lang.Object OUTPUT_QUEUE_PRIORITY_PROPERTY
        Deprecated. 
        Property identifier for the output queue priority.
      • OUTPUT_QUEUE_PROPERTY

        public static final java.lang.Object OUTPUT_QUEUE_PROPERTY
        Deprecated. 
        Property identifier for the output queue.
      • PRINT_KEY_FORMAT_PROPERTY

        public static final java.lang.Object PRINT_KEY_FORMAT_PROPERTY
        Deprecated. 
        Property identifier for the print key format.
      • PRINT_TEXT_PROPERTY

        public static final java.lang.Object PRINT_TEXT_PROPERTY
        Deprecated. 
        Property identifier for the print text.
      • PRINTER_DEVICE_NAME_PROPERTY

        public static final java.lang.Object PRINTER_DEVICE_NAME_PROPERTY
        Deprecated. 
        Property identifier for the printer device name.
      • PRODUCT_LIBRARIES_PROPERTY

        public static final java.lang.Object PRODUCT_LIBRARIES_PROPERTY
        Deprecated. 
        Property identifier for the product libraries if they exist.
      • ROUTING_DATA_PROPERTY

        public static final java.lang.Object ROUTING_DATA_PROPERTY
        Deprecated. 
        Property identifier for the routing data.
      • SIGNED_ON_JOB_PROPERTY

        public static final java.lang.Object SIGNED_ON_JOB_PROPERTY
        Deprecated. 
        Property identifier for the signed-on job.
      • SORT_SEQUENCE_TABLE_PROPERTY

        public static final java.lang.Object SORT_SEQUENCE_TABLE_PROPERTY
        Deprecated. 
        Property identifier for the sort sequence table.
      • STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY

        public static final java.lang.Object STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY
        Deprecated. 
        Property identifier for the status of the job on the job queue.
      • STATUS_MESSAGE_HANDLING_PROPERTY

        public static final java.lang.Object STATUS_MESSAGE_HANDLING_PROPERTY
        Deprecated. 
        Property identifier for the status message handling.
      • STATUS_PROPERTY

        public static final java.lang.Object STATUS_PROPERTY
        Deprecated. 
        Property identifier for the status.
      • SUBSYSTEM_PROPERTY

        public static final java.lang.Object SUBSYSTEM_PROPERTY
        Deprecated. 
        Property identifier for the subsystem.
      • SUBTYPE_PROPERTY

        public static final java.lang.Object SUBTYPE_PROPERTY
        Deprecated. 
        Property identifier for the subtype.
      • SYSTEM_LIBRARY_LIST_PROPERTY

        public static final java.lang.Object SYSTEM_LIBRARY_LIST_PROPERTY
        Deprecated. 
        Property identifier for the system library list (for each library in the list).
      • TIME_SEPARATOR_PROPERTY

        public static final java.lang.Object TIME_SEPARATOR_PROPERTY
        Deprecated. 
        Property identifier for the time separator.
      • TYPE_PROPERTY

        public static final java.lang.Object TYPE_PROPERTY
        Deprecated. 
        Property identifier for the type.
      • WORK_ID_UNIT_PROPERTY

        public static final java.lang.Object WORK_ID_UNIT_PROPERTY
        Deprecated. 
        Property identifier for the unit of work identifier.
      • USER_LIBRARY_LIST_PROPERTY

        public static final java.lang.Object USER_LIBRARY_LIST_PROPERTY
        Deprecated. 
        Property identifier for the user library list
      • USER_PROPERTY

        public static final java.lang.Object USER_PROPERTY
        Deprecated. 
        Property identifier for the user.
    • Constructor Detail

      • VJob

        public VJob()
        Deprecated. 
        Constructs a VJob object.
      • VJob

        public VJob(AS400 system,
            Job job)
        Deprecated. 
        Constructs a VJob object.
        Parameters:
        system - The system on which the job resides.
        job - The job.
      • VJob

        public VJob(AS400 system,
            RJob job)
        Deprecated. 
        Constructs a VJob object.
        Parameters:
        system - The system on which the job resides.
        job - The job.
      • VJob

        public VJob(VNode parent,
            AS400 system,
            Job job)
        Deprecated. 
        Constructs a VJob object.
        Parameters:
        parent - The parent.
        system - The system on which the job resides.
        job - The job.
      • VJob

        public VJob(VNode parent,
            AS400 system,
            RJob job)
        Deprecated. 
        Constructs a VJob object.
        Parameters:
        parent - The parent.
        system - The system on which the job resides.
        job - The job.
    • Method Detail

      • addErrorListener

        public void addErrorListener(ErrorListener listener)
        Deprecated. 
        Adds a listener to be notified when an error occurs.
        Specified by:
        addErrorListener in interface VObject
        Parameters:
        listener - The listener.
      • addPropertyChangeListener

        public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
        Deprecated. 
        Adds a listener to be notified when the value of any bound property changes.
        Parameters:
        listener - The listener.
      • addVetoableChangeListener

        public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
        Deprecated. 
        Adds a listener to be notified when the value of any constrained property changes.
        Parameters:
        listener - The listener.
      • addVObjectListener

        public void addVObjectListener(VObjectListener listener)
        Deprecated. 
        Adds a listener to be notified when a VObject is changed, created, or deleted.
        Specified by:
        addVObjectListener in interface VObject
        Parameters:
        listener - The listener.
      • addWorkingListener

        public void addWorkingListener(WorkingListener listener)
        Deprecated. 
        Adds a listener to be notified when work starts and stops on potentially long-running operations.
        Specified by:
        addWorkingListener in interface VObject
        Parameters:
        listener - The listener.
      • children

        public java.util.Enumeration children()
        Deprecated. 
        Returns the children of the node.
        Specified by:
        children in interface javax.swing.tree.TreeNode
        Returns:
        The children.
      • getActions

        public VAction[] getActions()
        Deprecated. 
        Returns the list of actions that can be performed.
        Specified by:
        getActions in interface VObject
        Returns:
        The list of actions.
      • getAllowsChildren

        public boolean getAllowsChildren()
        Deprecated. 
        Indiciates if the node allows children.
        Specified by:
        getAllowsChildren in interface javax.swing.tree.TreeNode
        Returns:
        Always false.
      • getChildAt

        public javax.swing.tree.TreeNode getChildAt(int index)
        Deprecated. 
        Returns the child node at the specified index.
        Specified by:
        getChildAt in interface javax.swing.tree.TreeNode
        Parameters:
        index - The index.
        Returns:
        Always null.
      • getChildCount

        public int getChildCount()
        Deprecated. 
        Returns the number of children.
        Specified by:
        getChildCount in interface javax.swing.tree.TreeNode
        Returns:
        Always 0.
      • getDefaultAction

        public VAction getDefaultAction()
        Deprecated. 
        Returns the default action.
        Specified by:
        getDefaultAction in interface VObject
        Returns:
        Always null. There is no default action.
      • getDetailsChildAt

        public VObject getDetailsChildAt(int index)
        Deprecated. 
        Returns the child for the details at the specified index.
        Specified by:
        getDetailsChildAt in interface VNode
        Parameters:
        index - The index.
        Returns:
        The child, or null if the index is not valid.
      • getDetailsChildCount

        public int getDetailsChildCount()
        Deprecated. 
        Returns the number of children for the details.
        Specified by:
        getDetailsChildCount in interface VNode
        Returns:
        The number of children for the details.
      • getDetailsColumnModel

        public javax.swing.table.TableColumnModel getDetailsColumnModel()
        Deprecated. 
        Returns the table column model to use in the details when representing the children. This column model describes the details values for the children.
        Specified by:
        getDetailsColumnModel in interface VNode
        Returns:
        The details column model.
        See Also:
        VObject.getPropertyValue(java.lang.Object)
      • getDetailsIndex

        public int getDetailsIndex(VObject detailsChild)
        Deprecated. 
        Returns the index of the specified child for the details.
        Specified by:
        getDetailsIndex in interface VNode
        Parameters:
        detailsChild - The details child.
        Returns:
        The index, or -1 if the child is not found in the details.
      • getIcon

        public javax.swing.Icon getIcon(int size,
                               boolean open)
        Deprecated. 
        Returns the icon.
        Specified by:
        getIcon in interface VObject
        Parameters:
        size - The icon size, either 16 or 32. If any other value is given, then return a default.
        open - This parameter has no effect.
        Returns:
        The icon.
      • getIndex

        public int getIndex(javax.swing.tree.TreeNode child)
        Deprecated. 
        Returns the index of the specified child.
        Specified by:
        getIndex in interface javax.swing.tree.TreeNode
        Parameters:
        child - The child.
        Returns:
        Always -1.
      • getJob

        public Job getJob()
        Deprecated. 
        Returns the job.
        Returns:
        The job, or null if it has not been set.
      • getRJob

        public RJob getRJob()
        Deprecated. 
        Returns the job.
        Returns:
        The job, or null if it has not been set.
      • getParent

        public javax.swing.tree.TreeNode getParent()
        Deprecated. 
        Returns the parent node.
        Specified by:
        getParent in interface javax.swing.tree.TreeNode
        Returns:
        The parent node, or null if there is no parent.
      • getPropertyValue

        public java.lang.Object getPropertyValue(java.lang.Object propertyIdentifier)
        Deprecated. 
        Returns a property value.
        Specified by:
        getPropertyValue in interface VObject
        Parameters:
        propertyIdentifier - The property identifier. The choices are
        • BREAK_MESSAGE_HANDLING_PROPERTY
        • CCSID_PROPERTY
        • COMPLETION_STATUS_PROPERTY
        • COUNTRY_ID_PROPERTY
        • CPUUSED_PROPERTY
        • CURRENT_LIBRARY_EXISTENCE_PROPERTY
        • CURRENT_LIBRARY_PROPERTY
        • DATE_FORMAT_PROPERTY
        • DATE_JOB_BECAME_ACTIVE_PROPERTY
        • DATE_JOB_ENTERED_SYSTEM_PROPERTY
        • DATE_JOB_SCHEDULE_TO_RUN_PROPERTY
        • DATE_PROPERTY
        • DATE_PUT_ON_JOB_QUEUE_PROPERTY
        • DATE_SEPARATOR_PROPERTY
        • DDM_CONVERSATION_HANDLING_PROPERTY
        • DECIMAL_FORMAT_PROPERTY
        • DEFAULT_CCSID_PROPERTY
        • DESCRIPTION_PROPERTY
        • DEVICE_RECOVERY_ACTION_PROPERTY
        • END_SEVERITY_PROPERTY
        • FUNCTION_PROPERTY
        • INQUIRY_MESSAGE_REPLY_PROPERTY
        • JOB_ACCOUNTING_CODE_PROPERTY
        • JOB_DATE_PROPERTY
        • JOB_DESCRIPTION_PROPERTY
        • JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY
        • JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY
        • JOB_QUEUE_PRIORITY_PROPERTY
        • JOB_QUEUE_PROPERTY
        • JOB_SWITCHES_PROPERTY
        • LANGUAGE_ID_PROPERTY
        • LOGGING_CL_PROGRAMS_PROPERTY
        • LOGGING_LEVEL_PROPERTY
        • LOGGING_SEVERITY_PROPERTY
        • LOGGING_TEXT_PROPERTY
        • MODE_NAME_PROPERTY
        • NAME_PROPERTY
        • NUMBER_PROPERTY
        • NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY
        • NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY
        • NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY
        • OUTPUT_QUEUE_PRIORITY_PROPERTY
        • OUTPUT_QUEUE_PROPERTY
        • PRINT_KEY_FORMAT_PROPERTY
        • PRINT_TEXT_PROPERTY
        • PRINTER_DEVICE_NAME_PROPERTY
        • PRODUCT_LIBRARIES_PROPERTY
        • ROUTING_DATA_PROPERTY
        • SIGNED_ON_JOB_PROPERTY
        • SORT_SEQUENCE_TABLE_PROPERTY
        • STATUS_MESSAGE_HANDLING_PROPERTY
        • STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY
        • STATUS_PROPERTY
        • SUBSYSTEM_PROPERTY
        • SUBTYPE_PROPERTY
        • SYSTEM_LIBRARY_LIST_PROPERTY
        • TIME_SEPARATOR_PROPERTY
        • TYPE_PROPERTY
        • WORK_ID_UNIT_PROPERTY
        • USER_LIBRARY_LIST_PROPERTY
        • USER_PROPERTY
        Returns:
        The property value, or null if the property identifier is not recognized.
      • getSystem

        public AS400 getSystem()
        Deprecated. 
        Returns the system on which the job resides.
        Returns:
        The system on which the job resides.
      • getText

        public java.lang.String getText()
        Deprecated. 
        Returns the text. This is the job name.
        Specified by:
        getText in interface VObject
        Returns:
        The text which is the job name.
      • isLeaf

        public boolean isLeaf()
        Deprecated. 
        Indicates if the node is a leaf.
        Specified by:
        isLeaf in interface javax.swing.tree.TreeNode
        Returns:
        Always true.
      • isSortable

        public boolean isSortable()
        Deprecated. 
        Indicates if the details children are sortable.
        Specified by:
        isSortable in interface VNode
        Returns:
        Always false.
      • load

        public void load()
        Deprecated. 
        Loads information about the object from the system.
        Specified by:
        load in interface VObject
      • removeErrorListener

        public void removeErrorListener(ErrorListener listener)
        Deprecated. 
        Removes an error listener.
        Specified by:
        removeErrorListener in interface VObject
        Parameters:
        listener - The listener.
      • removePropertyChangeListener

        public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
        Deprecated. 
        Removes a property change listener.
        Parameters:
        listener - The listener.
      • removeVetoableChangeListener

        public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
        Deprecated. 
        Removes a vetoable change listener.
        Parameters:
        listener - The listener.
      • removeVObjectListener

        public void removeVObjectListener(VObjectListener listener)
        Deprecated. 
        Removes a VObjectListener.
        Specified by:
        removeVObjectListener in interface VObject
        Parameters:
        listener - The listener.
      • removeWorkingListener

        public void removeWorkingListener(WorkingListener listener)
        Deprecated. 
        Removes a working listener.
        Specified by:
        removeWorkingListener in interface VObject
        Parameters:
        listener - The listener.
      • setJob

        public void setJob(Job job)
                    throws java.beans.PropertyVetoException
        Deprecated. 
        Sets the job.
        Parameters:
        job - The job.
        Throws:
        java.beans.PropertyVetoException - If the change is vetoed.
      • setRJob

        public void setRJob(RJob job)
                     throws java.beans.PropertyVetoException
        Deprecated. 
        Sets the job.
        Parameters:
        job - The job.
        Throws:
        java.beans.PropertyVetoException - If the change is vetoed.
      • setSystem

        public void setSystem(AS400 system)
                       throws java.beans.PropertyVetoException
        Deprecated. 
        Sets the system on which the job resides.
        Parameters:
        system - The system on which the job resides.
        Throws:
        java.beans.PropertyVetoException - If the change is vetoed.
      • sortDetailsChildren

        public void sortDetailsChildren(java.lang.Object[] propertyIdentifiers,
                               boolean[] orders)
        Deprecated. 
        Sorts the children for the details. Since sorting is not supported, this method does nothing.
        Specified by:
        sortDetailsChildren in interface VNode
        Parameters:
        propertyIdentifiers - The property identifiers.
        orders - The sort orders for each property identifier. true for ascending order; false for descending order.
      • toString

        public java.lang.String toString()
        Deprecated. 
        Returns the string representation of the job name.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation of the job name.