Index     DocHome     Next     
Process Manager 6.0 Programmer's Guide



Contents


Introduction
About This Book
Developing Process Manager Applications
Interacting with Clusters and Deployed Applications
Assumptions
Conventions Used in This Guide
Viewing Documentation Online
For More Information
Chapter 1 Writing Custom Activities
Introduction
Comparison to Automated Activities
Usage Overview
Implementing ISimpleWorkPerformer
Methods of ISimpleWorkPerformer
Sample Java Class
Writing the XML Description File
File Format
Sample XML Description File
Packaging a Custom Activity
Adding a Custom Activity to the Process Map
Adding a Custom Activity from a Custom Palette
Adding a Custom Activity without Using a Custom Palette
Working with a Custom Activity
Implementation Tips
Avoid Instance Data
Use Consistent Data Types
Avoid Non-default Constructors
When to Use a Custom Activity
Chapter 2 Writing Custom Data Fields
Introduction
Steps for Creating a Custom Field
Defining Field Properties in a JSB File
JSB_DESCRIPTOR Tag
JSB_PROPERTY Tag
Writing the Java Classes
Consider the Design Issues
Define a Subclass of BasicCustomField
The Methods in Detail
Specifying Images for Use in Process Builder
Packaging a Custom Field
Adding a Custom Field to an Application
Example Custom Data Field
Appearance of the Data Field
The Data Objects
The Data Field Properties
How the Data Field Works
The Code
Development Hints and Tips
Deploy the Custom Field to Test It
Develop and Test on a Server Where Process Manager is Installed
Debugging Hints
Class Reference
BasicCustomField
loadDataElementProperties()
IDataElement
archive()
load()
create()
store()
IPMElement
getName()
getPrettyName()
IPresentationElement
display()
update
IPMRequest
getAuthenticatedUserId
getParameter
isParameterDefined
Chapter 3 Cluster Management
Introduction
IPMClusterManager
createCluster
getCluster
joinCluster
unjoinCluster
deleteCluster
checkLDAPConnection
checkLDAPEntry
checkDBConnection
IPMCluster
getClusterProperty
changeCluster
log
getLog
getInstalledApplications
getVersion
isDefined
getApplicationsPath
getCorporateDirectory
getFinder
getDeploymentManager
IPMClusterProperty
Getting and Setting Property Values
getValue
setValue
getProperties
PMClusterPropertyFactory
create
Code Samples
Mount the Cluster Manager and Get the Default Cluster
Create a Cluster
Get and Set Cluster Properties
Chapter 4 Deployment Manager
Deployment States
STAGE
MODE
STATUS
TESTING
IDeploymentManager Interface
Where are the Classes and Interfaces?
Method Reference
removeApplication
getInstalledApplications
IDeploymentDescriptor Interface
Code Example
Where are the Classes and Interfaces?
Method Reference
isApplicationOff
isApplicationOn
isModeClosed
isModeOpen
isStageDevelopment
isStageProduction
isTesting
save
setApplicationOff
setApplicationOn
setModeClosed
setModeOpen
setTesting
Chapter 5 Working with Applications, Process Instances and Work Items
IPMApplication
IProcessInstance
IWorkItem
IFinder Interface
Index


Index     DocHome     Next     
Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.

Last Updated May 02, 2000