128 Building Java Applications for the iSeries Server with VisualAge for Java 3.5
򐂰 User space
The UserSpace class represents a user space on the iSeries server. Required parameters
are the name of the user space and the AS400 object that represents the iSeries server
that has the user space. Methods exist in a user space class to perform the following
functions:
Create a user space
Delete a user space
Read from a user space
Write to user space
Get the attributes of a user space (a Java program can get the initial value, length
value, and automatic extendible attributes of a user space.)
Set the attributes of a user space (a Java program can set the initial value, length
value, and automatic extendible attributes of a user space.)
With the GUI classes, you can visually represent your iSeries data and resources. Refer to
4.7, Introduction to GUI component classes on page 219, for more information and
examples of using the GUI classes.
4.2.2 V4R4 enhancements
The IBM Toolbox for Java Modification 2 (5769-JC1 V4R2) adds significant enhancements
and new features to the IBM Toolbox for Java. The following sections briefly summarize the
enhancements.
Additional or modified visual classes
The visual classes were enhanced to include:
򐂰 Spooled file viewer
The SpooledFileViewer is a new class that can be used to dynamically convert an iSeries
spooled file into a graphical image that can be viewed on a client. However, be aware that
this class requires the OS/400 level to be V4R4 or later and have the AFP Utilities licensed
product installed.
򐂰 Jobs
VJobList and VJob objects can be added to iSeries panes (such as the
AS400ExplorerPane) to display many different views of the jobs on a specified iSeries
server.
򐂰 Permission
Permission classes enable a Java application to set or get various security information
related to an iSeries object. The visual permissions information can be obtained with
VIFSFile and VIFSDirectory classes through an iSeries plane.
򐂰 System values
Adding a VSystemValue object to an iSeries pane allows the user to view and change
system values. Different views of system values can be obtained by adding them to
different types of iSeries panes.
򐂰 Users and groups
Groups and individual users can be viewed and modified with the VUserAndGroup and
VUserList classes. Some potentially useful methods are setUserInfo() and
setGroupInfo(), which are available with VUsersAndGroup objects.

Get Building Java Applications for the iSeries Server with VisualAge for Java 3.5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.