|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.vaccess.VJob
public class VJob
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:
Field Summary | |
---|---|
static Object |
BREAK_MESSAGE_HANDLING_PROPERTY
Deprecated. Property identifier for the break message handling. |
static Object |
CCSID_PROPERTY
Deprecated. Property identifier for the coded character set identifier. |
static Object |
COMPLETION_STATUS_PROPERTY
Deprecated. Property identifier for the completion status. |
static Object |
COUNTRY_ID_PROPERTY
Deprecated. Property identifier for the country identifier. |
static Object |
CPUUSED_PROPERTY
Deprecated. Property identifier for the CPU used. |
static Object |
CURRENT_LIBRARY_EXISTENCE_PROPERTY
Deprecated. Property identifier for the current library existence. |
static Object |
CURRENT_LIBRARY_PROPERTY
Deprecated. Property identifier for the current library if one exists. |
static Object |
DATE_FORMAT_PROPERTY
Deprecated. Property identifier for the date format. |
static Object |
DATE_JOB_BECAME_ACTIVE_PROPERTY
Deprecated. Property identifier for the date and time the job become active. |
static Object |
DATE_JOB_ENTERED_SYSTEM_PROPERTY
Deprecated. Property identifier for the date and time the job entered system. |
static Object |
DATE_JOB_SCHEDULE_TO_RUN_PROPERTY
Deprecated. Property identifier for the date and time the job is scheduled to run. |
static Object |
DATE_PROPERTY
Deprecated. Property identifier for the date. |
static Object |
DATE_PUT_ON_JOB_QUEUE_PROPERTY
Deprecated. Property identifier for the date and time the job was put on this job queue. |
static Object |
DATE_SEPARATOR_PROPERTY
Deprecated. Property identifier for the date separator. |
static Object |
DDM_CONVERSATION_HANDLING_PROPERTY
Deprecated. Property identifier for the DDM conversation handling. |
static Object |
DECIMAL_FORMAT_PROPERTY
Deprecated. Property identifier for the decimal format. |
static Object |
DEFAULT_CCSID_PROPERTY
Deprecated. Property identifier for the default coded character set identifier. |
static Object |
DEVICE_RECOVERY_ACTION_PROPERTY
Deprecated. Property identifier for the device recovery action. |
static Object |
END_SEVERITY_PROPERTY
Deprecated. Property identifier for the end severity. |
static Object |
FUNCTION_PROPERTY
Deprecated. Property identifier for the function. |
static Object |
INQUIRY_MESSAGE_REPLY_PROPERTY
Deprecated. Property identifier for the inquiry message reply. |
static Object |
JOB_ACCOUNTING_CODE_PROPERTY
Deprecated. Property identifier for the job accounting code. |
static Object |
JOB_DATE_PROPERTY
Deprecated. Property identifier for the job date. |
static Object |
JOB_DESCRIPTION_PROPERTY
Deprecated. Property identifier for the job description. |
static Object |
JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY
Deprecated. Property identifier for the job message queue action. |
static Object |
JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY
Deprecated. Property identifier for the job message maximum size. |
static Object |
JOB_QUEUE_PRIORITY_PROPERTY
Deprecated. Property identifier for the job queue priority. |
static Object |
JOB_QUEUE_PROPERTY
Deprecated. Property identifier for the job queue. |
static Object |
JOB_SWITCHES_PROPERTY
Deprecated. Property identifier for the job switches. |
static Object |
LANGUAGE_ID_PROPERTY
Deprecated. Property identifier for the language identifier. |
static Object |
LOGGING_CL_PROGRAMS_PROPERTY
Deprecated. Property identifier for the logging of CL programs . |
static Object |
LOGGING_LEVEL_PROPERTY
Deprecated. Property identifier for the logging level. |
static Object |
LOGGING_SEVERITY_PROPERTY
Deprecated. Property identifier for the logging severity. |
static Object |
LOGGING_TEXT_PROPERTY
Deprecated. Property identifier for the logging text. |
static Object |
MODE_NAME_PROPERTY
Deprecated. Property identifier for the mode name. |
static Object |
NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY
Deprecated. Property identifier for the number of libraries in SYSLIBL. |
static Object |
NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY
Deprecated. Property identifier for the number of libraries in USRLIBL. |
static Object |
NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY
Deprecated. Property identifier for the number of product libaries. |
static Object |
NUMBER_PROPERTY
Deprecated. Property identifier for the number. |
static Object |
OUTPUT_QUEUE_PRIORITY_PROPERTY
Deprecated. Property identifier for the output queue priority. |
static Object |
OUTPUT_QUEUE_PROPERTY
Deprecated. Property identifier for the output queue. |
static Object |
PRINT_KEY_FORMAT_PROPERTY
Deprecated. Property identifier for the print key format. |
static Object |
PRINT_TEXT_PROPERTY
Deprecated. Property identifier for the print text. |
static Object |
PRINTER_DEVICE_NAME_PROPERTY
Deprecated. Property identifier for the printer device name. |
static Object |
PRODUCT_LIBRARIES_PROPERTY
Deprecated. Property identifier for the product libraries if they exist. |
static Object |
ROUTING_DATA_PROPERTY
Deprecated. Property identifier for the routing data. |
static Object |
SIGNED_ON_JOB_PROPERTY
Deprecated. Property identifier for the signed-on job. |
static Object |
SORT_SEQUENCE_TABLE_PROPERTY
Deprecated. Property identifier for the sort sequence table. |
static Object |
STATUS_MESSAGE_HANDLING_PROPERTY
Deprecated. Property identifier for the status message handling. |
static Object |
STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY
Deprecated. Property identifier for the status of the job on the job queue. |
static Object |
STATUS_PROPERTY
Deprecated. Property identifier for the status. |
static Object |
SUBSYSTEM_PROPERTY
Deprecated. Property identifier for the subsystem. |
static Object |
SUBTYPE_PROPERTY
Deprecated. Property identifier for the subtype. |
static Object |
SYSTEM_LIBRARY_LIST_PROPERTY
Deprecated. Property identifier for the system library list (for each library in the list). |
static Object |
TIME_SEPARATOR_PROPERTY
Deprecated. Property identifier for the time separator. |
static Object |
TYPE_PROPERTY
Deprecated. Property identifier for the type. |
static Object |
USER_LIBRARY_LIST_PROPERTY
Deprecated. Property identifier for the user library list |
static Object |
USER_PROPERTY
Deprecated. Property identifier for the user. |
static Object |
WORK_ID_UNIT_PROPERTY
Deprecated. Property identifier for the unit of work identifier. |
Fields inherited from interface com.ibm.as400.vaccess.VObject |
---|
DESCRIPTION_PROPERTY, NAME_PROPERTY |
Constructor Summary | |
---|---|
VJob()
Deprecated. Constructs a VJob object. |
|
VJob(AS400 system,
Job job)
Deprecated. Constructs a VJob object. |
|
VJob(AS400 system,
RJob job)
Deprecated. Constructs a VJob object. |
|
VJob(VNode parent,
AS400 system,
Job job)
Deprecated. Constructs a VJob object. |
|
VJob(VNode parent,
AS400 system,
RJob job)
Deprecated. Constructs a VJob object. |
Method Summary | |
---|---|
void |
addErrorListener(ErrorListener listener)
Deprecated. Adds a listener to be notified when an error occurs. |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Deprecated. Adds a listener to be notified when the value of any bound property changes. |
void |
addVetoableChangeListener(VetoableChangeListener listener)
Deprecated. Adds a listener to be notified when the value of any constrained property changes. |
void |
addVObjectListener(VObjectListener listener)
Deprecated. Adds a listener to be notified when a VObject is changed, created, or deleted. |
void |
addWorkingListener(WorkingListener listener)
Deprecated. Adds a listener to be notified when work starts and stops on potentially long-running operations. |
Enumeration |
children()
Deprecated. Returns the children of the node. |
VAction[] |
getActions()
Deprecated. Returns the list of actions that can be performed. |
boolean |
getAllowsChildren()
Deprecated. Indiciates if the node allows children. |
TreeNode |
getChildAt(int index)
Deprecated. Returns the child node at the specified index. |
int |
getChildCount()
Deprecated. Returns the number of children. |
VAction |
getDefaultAction()
Deprecated. Returns the default action. |
VObject |
getDetailsChildAt(int index)
Deprecated. Returns the child for the details at the specified index. |
int |
getDetailsChildCount()
Deprecated. Returns the number of children for the details. |
TableColumnModel |
getDetailsColumnModel()
Deprecated. Returns the table column model to use in the details when representing the children. |
int |
getDetailsIndex(VObject detailsChild)
Deprecated. Returns the index of the specified child for the details. |
Icon |
getIcon(int size,
boolean open)
Deprecated. Returns the icon. |
int |
getIndex(TreeNode child)
Deprecated. Returns the index of the specified child. |
Job |
getJob()
Deprecated. Returns the job. |
TreeNode |
getParent()
Deprecated. Returns the parent node. |
VPropertiesPane |
getPropertiesPane()
Deprecated. Returns the properties pane. |
Object |
getPropertyValue(Object propertyIdentifier)
Deprecated. Returns a property value. |
RJob |
getRJob()
Deprecated. Returns the job. |
AS400 |
getSystem()
Deprecated. Returns the system on which the job resides. |
String |
getText()
Deprecated. Returns the text. |
boolean |
isLeaf()
Deprecated. Indicates if the node is a leaf. |
boolean |
isSortable()
Deprecated. Indicates if the details children are sortable. |
void |
load()
Deprecated. Loads information about the object from the system. |
void |
removeErrorListener(ErrorListener listener)
Deprecated. Removes an error listener. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Deprecated. Removes a property change listener. |
void |
removeVetoableChangeListener(VetoableChangeListener listener)
Deprecated. Removes a vetoable change listener. |
void |
removeVObjectListener(VObjectListener listener)
Deprecated. Removes a VObjectListener. |
void |
removeWorkingListener(WorkingListener listener)
Deprecated. Removes a working listener. |
void |
setJob(Job job)
Deprecated. Sets the job. |
void |
setRJob(RJob job)
Deprecated. Sets the job. |
void |
setSystem(AS400 system)
Deprecated. Sets the system on which the job resides. |
void |
sortDetailsChildren(Object[] propertyIdentifiers,
boolean[] orders)
Deprecated. Sorts the children for the details. |
String |
toString()
Deprecated. Returns the string representation of the job name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Object BREAK_MESSAGE_HANDLING_PROPERTY
public static final Object CCSID_PROPERTY
public static final Object COMPLETION_STATUS_PROPERTY
public static final Object COUNTRY_ID_PROPERTY
public static final Object CPUUSED_PROPERTY
public static final Object CURRENT_LIBRARY_EXISTENCE_PROPERTY
public static final Object CURRENT_LIBRARY_PROPERTY
public static final Object DATE_FORMAT_PROPERTY
public static final Object DATE_JOB_BECAME_ACTIVE_PROPERTY
public static final Object DATE_JOB_ENTERED_SYSTEM_PROPERTY
public static final Object DATE_JOB_SCHEDULE_TO_RUN_PROPERTY
public static final Object DATE_PROPERTY
public static final Object DATE_PUT_ON_JOB_QUEUE_PROPERTY
public static final Object DATE_SEPARATOR_PROPERTY
public static final Object DDM_CONVERSATION_HANDLING_PROPERTY
public static final Object DECIMAL_FORMAT_PROPERTY
public static final Object DEFAULT_CCSID_PROPERTY
public static final Object DEVICE_RECOVERY_ACTION_PROPERTY
public static final Object END_SEVERITY_PROPERTY
public static final Object FUNCTION_PROPERTY
public static final Object INQUIRY_MESSAGE_REPLY_PROPERTY
public static final Object JOB_ACCOUNTING_CODE_PROPERTY
public static final Object JOB_DATE_PROPERTY
public static final Object JOB_DESCRIPTION_PROPERTY
public static final Object JOB_MESSAGE_QUEUE_FULL_ACTION_PROPERTY
public static final Object JOB_MESSAGE_QUEUE_MAXIMUM_SIZE_PROPERTY
public static final Object JOB_QUEUE_PRIORITY_PROPERTY
public static final Object JOB_QUEUE_PROPERTY
public static final Object JOB_SWITCHES_PROPERTY
public static final Object LANGUAGE_ID_PROPERTY
public static final Object LOGGING_CL_PROGRAMS_PROPERTY
public static final Object LOGGING_LEVEL_PROPERTY
public static final Object LOGGING_SEVERITY_PROPERTY
public static final Object LOGGING_TEXT_PROPERTY
public static final Object MODE_NAME_PROPERTY
public static final Object NUMBER_PROPERTY
public static final Object NUMBER_OF_LIBRARIES_IN_SYSLIBL_PROPERTY
public static final Object NUMBER_OF_LIBRARIES_IN_USRLIBL_PROPERTY
public static final Object NUMBER_OF_PRODUCT_LIBRARIES_PROPERTY
public static final Object OUTPUT_QUEUE_PRIORITY_PROPERTY
public static final Object OUTPUT_QUEUE_PROPERTY
public static final Object PRINT_KEY_FORMAT_PROPERTY
public static final Object PRINT_TEXT_PROPERTY
public static final Object PRINTER_DEVICE_NAME_PROPERTY
public static final Object PRODUCT_LIBRARIES_PROPERTY
public static final Object ROUTING_DATA_PROPERTY
public static final Object SIGNED_ON_JOB_PROPERTY
public static final Object SORT_SEQUENCE_TABLE_PROPERTY
public static final Object STATUS_OF_JOB_ON_JOB_QUEUE_PROPERTY
public static final Object STATUS_MESSAGE_HANDLING_PROPERTY
public static final Object STATUS_PROPERTY
public static final Object SUBSYSTEM_PROPERTY
public static final Object SUBTYPE_PROPERTY
public static final Object SYSTEM_LIBRARY_LIST_PROPERTY
public static final Object TIME_SEPARATOR_PROPERTY
public static final Object TYPE_PROPERTY
public static final Object WORK_ID_UNIT_PROPERTY
public static final Object USER_LIBRARY_LIST_PROPERTY
public static final Object USER_PROPERTY
Constructor Detail |
---|
public VJob()
public VJob(AS400 system, Job job)
system
- The system on which the job resides.job
- The job.public VJob(AS400 system, RJob job)
system
- The system on which the job resides.job
- The job.public VJob(VNode parent, AS400 system, Job job)
parent
- The parent.system
- The system on which the job resides.job
- The job.public VJob(VNode parent, AS400 system, RJob job)
parent
- The parent.system
- The system on which the job resides.job
- The job.Method Detail |
---|
public void addErrorListener(ErrorListener listener)
addErrorListener
in interface VObject
listener
- The listener.public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- The listener.public void addVetoableChangeListener(VetoableChangeListener listener)
listener
- The listener.public void addVObjectListener(VObjectListener listener)
addVObjectListener
in interface VObject
listener
- The listener.public void addWorkingListener(WorkingListener listener)
addWorkingListener
in interface VObject
listener
- The listener.public Enumeration children()
children
in interface TreeNode
public VAction[] getActions()
getActions
in interface VObject
public boolean getAllowsChildren()
getAllowsChildren
in interface TreeNode
public TreeNode getChildAt(int index)
getChildAt
in interface TreeNode
index
- The index.
public int getChildCount()
getChildCount
in interface TreeNode
public VAction getDefaultAction()
getDefaultAction
in interface VObject
public VObject getDetailsChildAt(int index)
getDetailsChildAt
in interface VNode
index
- The index.
public int getDetailsChildCount()
getDetailsChildCount
in interface VNode
public TableColumnModel getDetailsColumnModel()
getDetailsColumnModel
in interface VNode
VObject.getPropertyValue(java.lang.Object)
public int getDetailsIndex(VObject detailsChild)
getDetailsIndex
in interface VNode
detailsChild
- The details child.
public Icon getIcon(int size, boolean open)
getIcon
in interface VObject
size
- The icon size, either 16 or 32. If any other
value is given, then return a default.open
- This parameter has no effect.
public int getIndex(TreeNode child)
getIndex
in interface TreeNode
child
- The child.
public Job getJob()
public RJob getRJob()
public TreeNode getParent()
getParent
in interface TreeNode
public VPropertiesPane getPropertiesPane()
getPropertiesPane
in interface VObject
public Object getPropertyValue(Object propertyIdentifier)
getPropertyValue
in interface VObject
propertyIdentifier
- The property identifier. The choices are
public AS400 getSystem()
public String getText()
getText
in interface VObject
public boolean isLeaf()
isLeaf
in interface TreeNode
public boolean isSortable()
isSortable
in interface VNode
public void load()
load
in interface VObject
public void removeErrorListener(ErrorListener listener)
removeErrorListener
in interface VObject
listener
- The listener.public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The listener.public void removeVetoableChangeListener(VetoableChangeListener listener)
listener
- The listener.public void removeVObjectListener(VObjectListener listener)
removeVObjectListener
in interface VObject
listener
- The listener.public void removeWorkingListener(WorkingListener listener)
removeWorkingListener
in interface VObject
listener
- The listener.public void setJob(Job job) throws PropertyVetoException
job
- The job.
PropertyVetoException
- If the change is vetoed.public void setRJob(RJob job) throws PropertyVetoException
job
- The job.
PropertyVetoException
- If the change is vetoed.public void setSystem(AS400 system) throws PropertyVetoException
system
- The system on which the job resides.
PropertyVetoException
- If the change is vetoed.public void sortDetailsChildren(Object[] propertyIdentifiers, boolean[] orders)
sortDetailsChildren
in interface VNode
propertyIdentifiers
- The property identifiers.orders
- The sort orders for each property
identifier. true for ascending order;
false for descending order.public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |