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