Index     DocHome     Next     
Process Manager 6.0 (SP1) Programmer's Guide



Contents


Introduction
About This Book
Developing Process Manager Applications
Interacting with Clusters and Deployed Applications
Assumptions
Conventions Used in This Guide
For More Information
Chapter 1 Writing Custom Activities
Introduction
Comparison to Automated Activities
Overview of Creating a Custom Activity
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
Example 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
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
Development Hints and Tips
Avoid Non-default Constructors
Avoid Instance Data
Use Entity Keys
Deploy the Custom Field to Test It
Develop and Test on a Server Where Process Manager is Installed
Debugging Hints
Class Reference
BasicCustomField
archive()
create()
display()
getName()
getPMApplication()
getPrettyName()
load()
loadDataElementProperties()
store()
update
IPMRequest
getAuthenticatedUserId
getParameter
isParameterDefined
Chapter 3 Advanced Office Setup Application
Changes in the Advanced Office Setup Application
The Custom Data Field
Overview
The Code in Detail
Complete Source Code
The Custom Activity
Overview
The Code in Detail
Complete Source Code
Chapter 4 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 5 Deployment Manager
Deployment States
STAGE
MODE
STATUS
TESTING
IDeploymentManager Interface
Where are the Classes and Interfaces?
Method Reference
removeApplication
getInstalledApplications
IDeploymentDescriptor Interface
Code Example
Method Reference
isApplicationStopped
isApplicationStarted
isModeClosed
isModeOpen
isStageDevelopment
isStageProduction
isTesting
save
setApplicationStopped
setApplicationStarted
setModeClosed
setModeOpen
setTesting
Chapter 6 Working with Applications, Process Instances and Work Items
IPMApplication
IProcessInstance
IWorkItem
addAssignee
assignees
expire
extend
moveTo
getChildPrimaryKey
getComment
getConclusion
getCreationDate
getErrorMessage
getExceptionNodeName
getExpirationDate
getNodeName
getPrimaryKey
getProcessInstance
getRedirectionURL
getState
hasExpired
hasSiblings
isAutomated
isUserAssignee
removeAssignee
removeAssignees
resume
save
setComment
setConclusion
setExpirationDate
suspend
IFinder
Index


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

Last Updated November 02, 2000