Index DocHome Next |
iPlanet Process Manager Programming Guide Version 6.0 Service Pack 2 |
Process Manager Programming Guide
Contents
IntroductionAbout This Book
Developing Process Manager Applications
Assumptions
Interacting with Clusters and Deployed Applications
Conventions Used in This Guide
For More Information
Chapter 1 Writing Custom ActivitiesIntroduction
Comparison to Automated Activities
Implementing ISimpleWorkPerformer
Overview of Creating a Custom Activity
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
Example Custom Activity
Use Consistent Data Types
Avoid Non-default Constructors
Use One Implementation of a Java Class Per Server
When to Use a Custom Activity
Chapter 2 Writing Custom Data FieldsIntroduction
Steps for Creating a Custom Field
Defining Field Properties in a JSB File
JSB_DESCRIPTOR Tag
Writing the Java Classes
JSB_PROPERTY Tag
Define a Subclass of BasicCustomField
Specifying Images for Use in Process Builder
The Methods in Detail
Packaging a Custom Field
Adding a Custom Field to an Application
Example Custom Data Field
Development Hints and Tips
Avoid Non-default Constructors
Class Reference
Avoid Instance Data
Use Entity Keys
Deploy the Custom Field to Test It
Develop and Test on a Server Where Process Manager is Installed
Use One Implementation of a Java Class Per Server
Debugging Hints
BasicCustomField
archive()
IPMRequest
create()
display()
getName()
getPMApplication()
getPrettyName()
load()
loadDataElementProperties()
store()
update
getAuthenticatedUserId
getParameter
isParameterDefined
Chapter 3 Advanced Office Setup ApplicationChanges in the Advanced Office Setup Application
The Custom Data Field
Overview
The Custom Activity
The Code in Detail
Complete Source Code
Overview
The Code in Detail
Complete Source Code
Chapter 4 Cluster ManagementIntroduction
IPMClusterManager
IPMCluster
IPMClusterProperty
Getting and Setting Property Values
PMClusterPropertyFactory
Code Samples
Mount the Cluster Manager and Get the Default Cluster
Create a Cluster
Get and Set Cluster Properties
Chapter 5 Deployment ManagerDeployment States
STAGE
IDeploymentManager Interface
MODE
STATUS
TESTING
Where are the Classes and Interfaces?
IDeploymentDescriptor Interface
Code Example
Chapter 6 Working with Applications, Process Instances and Work ItemsIPMApplication
Index
IProcessInstance
IWorkItem
IFinder
Index DocHome Next
Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated March 13, 2001