Process Class Relationships

filenet.vw.api
Class VWWorkflowDefinition

java.lang.Object
  |
  +--filenet.vw.api.VWWorkflowDefinition
All Implemented Interfaces:
java.io.Serializable

public final class VWWorkflowDefinition
extends java.lang.Object
implements java.io.Serializable

Use this class to create, delete, and access a workflow definition object and its sub-objects.

A workflow definition object represents a business process in a form that supports workflow process authoring for FileNET's IDM WorkFlow products. The workflow definition contains the following data, which the system needs to manage a workflow:

A workflow definition object is the basis of an authored workflow; a user begins workflow definition by creating this object, then supplies various values and sub-objects that complete the workflow definition. A VWWorkflowDefinition object or one of its sub-objects stores all associated information. An application can save a workflow definition object to a file or restore one from a file.

Since:
VWWS3.10
See Also:
VWMapDefinition, VWFieldDefinition, VWException, Serialized Form

Field Summary
static int LVALUE
          Integer value of 0: this constant can be used to subscript into the pre or post assignment arrays.
static int RVALUE
          Integer value of 1: this constant can be used to subscript into the pre or post assignment arrays.
 
Constructor Summary
VWWorkflowDefinition()
          
 
Method Summary
 java.lang.String AsXMLString()
          Retrieves an XML formatted representation of this workflow definition.
 VWFieldDefinition createFieldUsingObject(java.lang.String theName, java.lang.Object theValue)
          Creates a data field in this workflow definition, with values initialized by an object.
 VWFieldDefinition createFieldUsingString(java.lang.String theName, java.lang.String theValueString, int theType, boolean theIsArray)
          Creates a data field in this workflow definition, with values initialized by a field.
 VWMapDefinition createMap(java.lang.String theName)
          Creates a new map in this workflow definition.
 VWMilestoneDefinition createMilestone(java.lang.String theName)
          Creates a new milestone in this workflow definition.
 void deleteField(java.lang.String theName)
          Deletes a field definition from the workflow definition.
 void deleteMap(int theMapId)
          Deprecated. Replaced by deleteMap(String)
 void deleteMap(java.lang.String theMapName)
          Deletes a map from this workflow definition using the map name passed to this method to find the map to be deleted.
 void deleteMilestone(java.lang.String theName)
          Deletes a milestone from this workflow definition using the milestone name passed to this method to find the milestone to be deleted.
 VWAttributeInfo getAttributeInfo()
          Gets a VWAttribute object containing attributes for this object, as paired labels (keywords) and values in String format.
 java.lang.String getBaseWorkClassName()
          Gets the value of this workflow definition's base work class name.
 long getDeadline()
          Retrieves the value of the deadline property for this workflow definition.
 java.lang.String getDescription()
          Gets the value in the description property of this workflow definition.
 java.lang.String getEventLogName()
          Gets the value of this workflow definition's event log name.
 VWFieldDefinition getField(java.lang.String theName)
          Gets the definition of a data field from this workflow definition.
 VWFieldDefinition[] getFields()
          Gets the set of fields associated with this workflow definition.
 VWStepDefinition getLaunchStep()
          Gets the VWStepDefinition object of the launch step in this workflow definition.
 java.lang.String getMainAttachmentName()
          Gets the name of the main attachment of this workflow definition.
 VWMapDefinition getMainMap()
          Gets the definition object that represents the main map in this workflow definition.
 VWMapDefinition getMap(int theMapId)
          Deprecated. Replaced by getMap(String).

Note getMap(String) takes a map name as a parameter, rather than a Map ID.

 VWMapDefinition getMap(java.lang.String theName)
          Retrieves a workflow map definition for a specified name.
 VWMapDefinition[] getMaps()
          Gets the set of workflow maps associated with this workflow definition.
 VWMilestoneDefinition getMilestone(java.lang.String theName)
          Gets the definition of a milestone from this workflow definition.
 VWMilestoneDefinition[] getMilestones()
          Retrieves the array of milestones for this workflow definition.
 java.lang.String getName()
          Gets the value of this name property for this workflow definition object.
 long getReminder()
          Retrieves the value of the reminder property for this workflow definition.
 java.lang.String getRosterName()
          Gets the value of this workflow definition's roster work class name.
 java.lang.String getSubject()
          Gets the value in the subject property of this workflow definition.
 java.lang.String getTag()
          Gets the value in the tag expression of this workflow definition.
 VWFieldDefinition insertField(VWFieldDefinition theField)
          Inserts a field in this workflow definition.
 VWMapDefinition insertMap(VWMapDefinition theMap)
          Inserts a map in this workflow definition.
 VWMilestoneDefinition insertMilestone(VWMilestoneDefinition theMilestone)
          Inserts a milestone in this workflow definition.
static VWWorkflowDefinition read(java.io.InputStream theStream)
          Evaluates a workflow definition from an input stream.
static VWWorkflowDefinition readFromFile(java.lang.String theFileName)
          Evaluates a workflow definition from a file.
 void setAttributeInfo(VWAttributeInfo theAttributeInfo)
          Sets a VWAttribute object containing attributes for this object.
 void setBaseWorkClassName(java.lang.String theBaseWorkClassName)
          Changes the value of this workflow definition's base work class name.
 void setDeadline(long theDeadline)
          Changes the value of the deadline property for this workflow definition.
 void setDescription(java.lang.String theDescription)
          Changes the value of the description property of this workflow definition.
 void setEventLogName(java.lang.String theEventLogName)
          Changes the value of this workflow definition's event log name.
 void setMainAttachmentName(java.lang.String theName)
          Modifies the value of the main attachment name property of this workflow definition.
 void setMilestones(VWMilestoneDefinition[] theMilestones)
          Sets the array of milestones for this workflow definition by reordering but not adding or deleting milestones.
 void setName(java.lang.String theName)
          Changes the value of the name property for this workflow definition.
 void setReminder(long theReminder)
          Changes the value of the reminder property for this workflow definition.
 void setRosterName(java.lang.String theRosterName)
          Changes the value of this workflow definition's roster work class name.
 void setSubject(java.lang.String theSubject)
          Modifies the value of the subject property of this workflow definition.
 void setTag(java.lang.String theTag)
          Changes the value of the tag property of this workflow definition.
 java.lang.String toString()
          Gets the string version of the workflow subject.
 void toXML(java.lang.StringBuffer theBuffer)
          Appends an XML string that represents this VWWorkflowDefinition object to the buffer specified by the input parameter.
 VWValidationError[] validate(VWSession theSession, boolean fixupSteps)
          Validates an instance of a VWWorkflowDefinition object.
 void write(java.io.OutputStream theStream)
          Writes this VWWorkflowDefinition object to an output stream.
 void writeToFile(java.lang.String theFileName)
          Writes this VWWorkflowDefinition object to a file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LVALUE

public static final int LVALUE
Integer value of 0: this constant can be used to subscript into the pre or post assignment arrays.

RVALUE

public static final int RVALUE
Integer value of 1: this constant can be used to subscript into the pre or post assignment arrays.
Constructor Detail

VWWorkflowDefinition

public VWWorkflowDefinition()
                     throws VWException
Throws:
VWException - This constructor throws an exception if it fails.
Method Detail

validate

public VWValidationError[] validate(VWSession theSession,
                                    boolean fixupSteps)
                             throws VWException
Validates an instance of a VWWorkflowDefinition object.
Parameters:
theSession - A VWSession object that represents the session to which the user is currently attached/logged on. An application needs this object for various parts of the validation process. The method allows a null input for this parameter; however, if you pass a null value, the system will not validate areas that require a logon.

fixupSteps - A Boolean value. Specify true to set the joinStepId values for steps that are AND-splits. Specify false to cause the system not set the join step IDs or, for example, to cause the system to assume that the caller has already set the join step Ids.
Returns:
An array of objects that describe the validation errors encountered if the workflow is invalid. If the workflow definition is valid, the method returns null.
Throws:
VWException -  

createFieldUsingObject

public VWFieldDefinition createFieldUsingObject(java.lang.String theName,
                                                java.lang.Object theValue)
                                         throws VWException
Creates a data field in this workflow definition, with values initialized by an object.
Parameters:
theName - The name of the field to create.

theValue - An object containing the value to place in the newly created field. The type can be one of the following types, or the value can be a single dimensional array, whose elements are of one of the following types:

  • Integer
  • String
  • Boolean
  • Double
  • Date
  • VWAttachment
  • VWParticipant
Returns:
A VWFieldDefinition object that represents the newly created data field.
Throws:
VWException -  
See Also:
VWFieldType, VWFieldDefinition

createFieldUsingString

public VWFieldDefinition createFieldUsingString(java.lang.String theName,
                                                java.lang.String theValueString,
                                                int theType,
                                                boolean theIsArray)
                                         throws VWException
Creates a data field in this workflow definition, with values initialized by a field.
Parameters:
theName - The name of the field to create.

theValueString - The initial value for the data field.

theType - An integer value specifying the data type to which the value expression should evaluate.

theIsArray - A Boolean value. Specify true to indicate that the value expression is to evaluate to an array; otherwise, specify false.
Returns:
A VWFieldDefinition object that represents the newly created data field.
Throws:
VWException -  
See Also:
VWFieldType, VWFieldDefinition

deleteField

public void deleteField(java.lang.String theName)
                 throws VWException
Deletes a field definition from the workflow definition.
Parameters:
theName - The name of the field definition to delete. The name can be passed to this method from a set of field definitions associated with this workflow definition.
Throws:
VWException - Thrown if the system encounters an error while attempting to delete the field, or if the system cannot find the specified field.
See Also:
VWFieldDefinition

createMap

public VWMapDefinition createMap(java.lang.String theName)
                          throws VWException
Creates a new map in this workflow definition.
Parameters:
theName - The name of the new map.
Returns:
The newly created map definition.
Throws:
VWException -  
See Also:
VWMapDefinition

insertMap

public VWMapDefinition insertMap(VWMapDefinition theMap)
                          throws VWException
Inserts a map in this workflow definition. This method can be useful for copying maps from one VWWorkflowDefinition to another.
Parameters:
theMap - a map to be inserted into this workflow definition.
Returns:
The newly inserted map definition.
Throws:
VWException - Thrown if a map with the same name as the map being inserted already exists in this workflow definition.
See Also:
VWMapDefinition

insertField

public VWFieldDefinition insertField(VWFieldDefinition theField)
                              throws VWException
Inserts a field in this workflow definition. This method can be useful for copying fields from one VWWorkflowDefinition to another.
Parameters:
theField - a field to be inserted into this workflow definition.
Returns:
The newly inserted field definition.
Throws:
VWException - Thrown if a field with the same name as the field being inserted already exists in this workflow definition.
See Also:
VWFieldDefinition

insertMilestone

public VWMilestoneDefinition insertMilestone(VWMilestoneDefinition theMilestone)
                                      throws VWException
Inserts a milestone in this workflow definition. This method can be useful for copying milestones from one VWWorkflowDefinition to another.
Parameters:
theMilestone - a milestone to be inserted into this workflow definition.
Returns:
The newly inserted milestone definition.
Throws:
VWException - Thrown if a milestone with the same name as the milestone being inserted already exists in this workflow definition.
See Also:
VWMilestoneDefinition

deleteMap

public void deleteMap(int theMapId)
               throws VWException
Deprecated. Replaced by deleteMap(String)

Note: Currently unsupported, this method throws an exception if called at run time. This method was originally intended to delete a workflow map definition, specified by map ID.
Parameters:
theMapId - An integer that contains the ID of the map to delete.
Throws:
VWException - IMPORTANT NOTE: Thrown always!
See Also:
VWMapDefinition

deleteMap

public void deleteMap(java.lang.String theMapName)
               throws VWException
Deletes a map from this workflow definition using the map name passed to this method to find the map to be deleted. Note that the "main" map, whose name is "Workflow", can never be deleted.
Parameters:
theMapName - The name of the map to be deleted.
Throws:
VWException - Thrown if the passed map name is "Workflow".
See Also:
VWMapDefinition

getName

public java.lang.String getName()
Gets the value of this name property for this workflow definition object.
Returns:
The name of this workflow definition.

setName

public void setName(java.lang.String theName)
             throws VWException
Changes the value of the name property for this workflow definition.
Parameters:
theName - The name of this workflow definition. The name cannot begin with a sequence of two tildes ("~~"), because "~~" is reserved for use in transfer results and is used to distinguish workclass names from transfer results (VWVersion) when injecting work objects (passed to VWSession.createWorkflow(String)).
Throws:
VWException - Thrown if the name specified in the theName parameter is invalid.
See Also:
VWSession.createWorkflow(java.lang.String)

getBaseWorkClassName

public java.lang.String getBaseWorkClassName()
Gets the value of this workflow definition's base work class name. Base work class name is the name of the WorkClass that this workflow definition will inherit from at transfer/run time.
Returns:
The base class name of this workflow definition. Will return "WorkObjectEx" unless a call has been made to setBaseWorkclassname to change the base WorkcClass name to a different value.

setBaseWorkClassName

public void setBaseWorkClassName(java.lang.String theBaseWorkClassName)
                          throws VWException
Changes the value of this workflow definition's base work class name. The Base work class name is the name of the WorkClass from which this workflow definition will inherit at transfer/run time.
Parameters:
theBaseWorkClassName - The new name of the WorkClass from which this workflow definition will inherit at transfer/run time.
Throws:
VWException - Thrown if the name does not indicate a valid base work class.

getRosterName

public java.lang.String getRosterName()
Gets the value of this workflow definition's roster work class name. The roster name is the name of the roster that this workflow definition will use at transfer/run time.
Returns:
The roster name for this workflow definition. A null value is valid.

setRosterName

public void setRosterName(java.lang.String theRosterName)
                   throws VWException
Changes the value of this workflow definition's roster work class name. The roster name is the name of the roster that this workflow definition will use at transfer/run time.
Parameters:
theRosterName - The new name of the roster that this workflow definition will use at transfer/run time.
Throws:
VWException - Thrown if the roster name is invalid.

getEventLogName

public java.lang.String getEventLogName()
Gets the value of this workflow definition's event log name. The event log name is the name of the event log that this workflow definition will use at transfer/run time.
Returns:
The event log name for this workflow definition. A null value is valid.

setEventLogName

public void setEventLogName(java.lang.String theEventLogName)
                     throws VWException
Changes the value of this workflow definition's event log name. The event log name is the name of the event log that this workflow definition will use at transfer/run time.
Parameters:
theEventLogName - the new name of the event log that this workflow definition will use at transfer/run time
Throws:
VWException - Thrown if the roster name is invalid.

getTag

public java.lang.String getTag()
Gets the value in the tag expression of this workflow definition.
Returns:
The tag expression.

setTag

public void setTag(java.lang.String theTag)
Changes the value of the tag property of this workflow definition.
Parameters:
theTag - The new tag expression workflow definition. The expression can be of any valid type. The expression must meet specific guidelines for expressions; for detailed information about expression guidelines refer to the Expressions book, in the Reference section, of the Designer online help.

getDescription

public java.lang.String getDescription()
Gets the value in the description property of this workflow definition.
Returns:
The contents of the description property for this workflow definition.

setDescription

public void setDescription(java.lang.String theDescription)
Changes the value of the description property of this workflow definition.
Parameters:
theDescription - The new description for this workflow definition.

getMainAttachmentName

public java.lang.String getMainAttachmentName()
Gets the name of the main attachment of this workflow definition.
Returns:
The name of the main attachment associated with this workflow definition. Pass this returned name to VWWorkflowDefinition.getField() to get the VWFieldDefinition object that represents the main attachment. If no associated main attachment exists, this method returns null.
See Also:
getField(java.lang.String), VWFieldDefinition, VWAttachment

setMainAttachmentName

public void setMainAttachmentName(java.lang.String theName)
                           throws VWException
Modifies the value of the main attachment name property of this workflow definition.
Parameters:
theName - The new main attachment name associated with this workflow definition. The name must be that of a field in this workflow definition, and the type of the field must be VWFieldType.FIELD_TYPE_ATTACHMENT. This value is available at run time in the launch step as a string parameter called F_MAINATTACHMENT. Since the run time parameter is a string, the theName parameter must be a quoted string.
Throws:
VWException - Thrown if the name is not that of a field of type attachment (VWFieldType .FIELD_TYPE_ATTACHMENT).
See Also:
VWFieldDefinition, VWFieldType

getField

public VWFieldDefinition getField(java.lang.String theName)
                           throws VWException
Gets the definition of a data field from this workflow definition.
Parameters:
theName - Name of the field that the returned definition describes.
Returns:
A VWFieldDefinition object that represents the data field specified in the theName parameter.
Throws:
VWException - Thrown if the system cannot find the field specified in the theName parameter.
See Also:
VWFieldDefinition

getFields

public VWFieldDefinition[] getFields()
                              throws VWException
Gets the set of fields associated with this workflow definition.
Returns:
An array of VWFieldDefinition objects that represent the data fields specified in the workflow definition.
Throws:
VWException - Thrown if it cannot get the set of fields associated with this workflow definition.
See Also:
VWFieldDefinition

getMainMap

public VWMapDefinition getMainMap()
                           throws VWException
Gets the definition object that represents the main map in this workflow definition. The map name is "Workflow", and the map has an ID of zero (0). The main map cannot be deleted.
Returns:
A VWDefinition object that represents the main map in this workflow definition.
Throws:
VWException - Thrown if the system cannot get the main map.
See Also:
VWMapDefinition

getLaunchStep

public VWStepDefinition getLaunchStep()
                               throws VWException
Gets the VWStepDefinition object of the launch step in this workflow definition. The launch step ID is zero (0), the step name is "LaunchStep", and it is contained in the map named "Workflow". It cannot be deleted, it cannot be the destination of any route, and it is the first step executed when the workflow is launched.
Returns:
A VWDefinition object that represents the launch step in this workflow definition.
Throws:
VWException - Thrown if the system fails to get the launch step.
See Also:
VWMapDefinition, getMainMap(), VWMapDefinition.getStartStep()

getSubject

public java.lang.String getSubject()
Gets the value in the subject property of this workflow definition.
Returns:
The value in the subject property of this workflow definition.

setSubject

public void setSubject(java.lang.String theSubject)
Modifies the value of the subject property of this workflow definition.
Parameters:
theSubject - The new value of the subject property of this workflow definition.
Note: The subject is a String that must contain a valid String expression, so it requires internal quotes. An example of this would be as follows:

VWWorkflowDefinitionInstance.setSubject("\"my subject\"");


getMap

public VWMapDefinition getMap(int theMapId)
                       throws VWException
Deprecated. Replaced by getMap(String).

Note getMap(String) takes a map name as a parameter, rather than a Map ID.

Note: Currently unsupported, this method throws an exception if called at run time. This method was originally intended to retrieve a workflow map definition, specified by map ID.
Parameters:
theMapId - An integer representing the ID of the map the returned definition describes.
Returns:
A VWMapDefinition object that represents the workflow map definition.
Throws:
VWException - WARNING: An exception is always thrown!
See Also:
VWMapDefinition

getMap

public VWMapDefinition getMap(java.lang.String theName)
                       throws VWException
Retrieves a workflow map definition for a specified name. The system searches the workflow maps associated with this workflow definition for the map that has the specified name.
Parameters:
theName - The name of the workflow map to retrieve.
Returns:
A VWMapDefinition object that represents the map of the workflow definition specified in the theName parameter.
Throws:
VWException - Thrown if the system cannot find the map with the name specified in the theName parameter.
See Also:
VWMapDefinition

getMaps

public VWMapDefinition[] getMaps()
                          throws VWException
Gets the set of workflow maps associated with this workflow definition.
Returns:
An array of VWMapDefinition objects that represent all of the workflow maps associated with this workflow definition.
Throws:
VWException - Thrown if an error occurs retrieving the maps for this workflow definition.
See Also:
VWMapDefinition

getDeadline

public long getDeadline()
Retrieves the value of the deadline property for this workflow definition. The deadline value represents the number of minutes between launching of the workflow and the expiration of the deadline timer at run time.
Returns:
A number indicating the deadline value expressed in minutes. A returned deadline value of 0 (zero) means the workflow has no deadline.

setDeadline

public void setDeadline(long theDeadline)
                 throws VWException
Changes the value of the deadline property for this workflow definition.
Parameters:
theDeadline - A positive, long integer that is the number of minutes between launching of the workflow and the expiration of the workflow's deadline timer at run time. A deadline value of 0 means the workflow has no deadline.
Throws:
Thrown - if the deadline value specified in the theDeadline parameter is negative.

getReminder

public long getReminder()
Retrieves the value of the reminder property for this workflow definition.
Returns:
A positive, long integer indicating the number of seconds prior to expiration of the deadline timer that the reminder timer will expire at run time. A reminder value of 0 (zero) means the step has no reminder.

setReminder

public void setReminder(long theReminder)
                 throws VWException
Changes the value of the reminder property for this workflow definition.
Parameters:
theReminder - A positive, long integer specifying the number of seconds prior to expiration of the deadline timer that the reminder timer will expire at run time. A reminder value of 0 (zero) means the step has no reminder.
Throws:
VWException - Thrown if the reminder value specified in the theReminder parameter is negative.

read

public static VWWorkflowDefinition read(java.io.InputStream theStream)
                                 throws VWException
Evaluates a workflow definition from an input stream. The system creates the new VWWorkflowDefinition using values it reads from the input stream.
Parameters:
theStream - An input stream from which to read the VWWorkflowDefinition object definition.
Returns:
A VWWorkflowDefinition object representing an instance of the data read from the stream specified in the theStream parameter.
Throws:
VWException - Thrown if it cannot evaluate a workflow definition from an input stream.
See Also:
write(java.io.OutputStream)

readFromFile

public static VWWorkflowDefinition readFromFile(java.lang.String theFileName)
                                         throws VWException
Evaluates a workflow definition from a file. The system creates the new VWWorkflowDefinition using values it reads from the named file.
Parameters:
theFileName - The name of the file from which to read the VWWorkflowDefinition object definition.
Returns:
A VWWorkflowDefinition object representing an instance of the data read from the file specified in the theFileName parameter.
Throws:
VWException -  
See Also:
writeToFile(java.lang.String), read(java.io.InputStream)

write

public void write(java.io.OutputStream theStream)
           throws VWException
Writes this VWWorkflowDefinition object to an output stream.
Parameters:
theStream - An object output stream to which to write this workflow definition.
Throws:
VWException - Thrown if it cannot write this VWWorkflowDefinition object to an output stream.
See Also:
read(java.io.InputStream)

writeToFile

public void writeToFile(java.lang.String theFileName)
                 throws VWException
Writes this VWWorkflowDefinition object to a file.
Parameters:
theFileName - Name of the file to which to write this workflow definition.
Throws:
VWException - Thrown if it cannot write this VWWorkflowDefinition object to a file.
See Also:
readFromFile(java.lang.String), write(java.io.OutputStream)

toString

public java.lang.String toString()
Gets the string version of the workflow subject.
Overrides:
toString in class java.lang.Object
Returns:
The subject for the workflow definition.

AsXMLString

public java.lang.String AsXMLString()
                             throws VWException
Retrieves an XML formatted representation of this workflow definition.
Returns:
A string containing containing a well-formed XML representation of this workflow definition.
Throws:
VWException - Thrown if it cannot retrieve an XML formatted representation of this workflow. definition.
See Also:
write(java.io.OutputStream)

toXML

public void toXML(java.lang.StringBuffer theBuffer)
           throws VWException
Appends an XML string that represents this VWWorkflowDefinition object to the buffer specified by the input parameter.
Parameters:
theBuffer - A string buffer that this method will append with XML content.
Throws:
VWException -  
See Also:
VWXMLUtil

getMilestone

public VWMilestoneDefinition getMilestone(java.lang.String theName)
                                   throws VWException
Gets the definition of a milestone from this workflow definition.
Parameters:
theName - The name of the milestone that the returned definition describes.
Returns:
A VWMilestoneDefinition object that represents the milestone specified in the theName parameter.
Throws:
VWException - Thrown if the system cannot find the milestone specified in the theName parameter.
See Also:
VWMilestoneDefinition

getMilestones

public VWMilestoneDefinition[] getMilestones()
                                      throws VWException
Retrieves the array of milestones for this workflow definition.
Returns:
An array of VWMilestoneDefinitions for this workflow definition. Null means there are no milestones associated with this workflow.
Throws:
VWException - Thrown if there is low-level array access error.

setMilestones

public void setMilestones(VWMilestoneDefinition[] theMilestones)
                   throws VWException
Sets the array of milestones for this workflow definition by reordering but not adding or deleting milestones. RESTRICTION:

The length of the TheMilestones array parameter must be equal to the number of milestones currently in the workflow definition.

Parameters:
theMilestones - An array of VWMilestoneDefinition objects for this workflow definition,lwhose length equals the number of milestones currently in the workflow definition. Null entries are invalid.
Throws:
VWException - Thrown if the array parameter length is incorrect, if the array contains null entries or if a low level array access error occurs.

createMilestone

public VWMilestoneDefinition createMilestone(java.lang.String theName)
                                      throws VWException
Creates a new milestone in this workflow definition.
Parameters:
theName - The name of the new milestone.
Returns:
The newly created milestone definition as a VWMilestoneDefinition.
Throws:
VWException - Thrown if an error occurs creating the milestone.
See Also:
VWMilestoneDefinition

deleteMilestone

public void deleteMilestone(java.lang.String theName)
                     throws VWException
Deletes a milestone from this workflow definition using the milestone name passed to this method to find the milestone to be deleted.
Parameters:
theName - The name of the milestone to be deleted.
Throws:
VWException - Thrown if an error occurs while deleting the milestone.
See Also:
VWMilestoneDefinition

getAttributeInfo

public VWAttributeInfo getAttributeInfo()
                                 throws VWException
Gets a VWAttribute object containing attributes for this object, as paired labels (keywords) and values in String format.
Returns:
A VWAttribute object containing attributes for this object, as paired labels (keywords) and values in String format.
See Also:
setAttributeInfo(filenet.vw.api.VWAttributeInfo)

setAttributeInfo

public void setAttributeInfo(VWAttributeInfo theAttributeInfo)
                      throws VWException
Sets a VWAttribute object containing attributes for this object.
Parameters:
theAttributeInfo - A VWAttribute object containing attributes for this object, as paired labels (keywords) and values in String format.
Throws:
VWException -  
See Also:
getAttributeInfo()

Process Class Relationships

Copyright © 2002 FileNET Corporation. All rights reserved.