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