Interface IDfProcess
- All Superinterfaces:
IDfPersistentObject
,IDfSysObject
,IDfTypedObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from interface com.documentum.fc.client.IDfPersistentObject
CURRENCY_CHECK_ALWAYS, CURRENCY_CHECK_FIRST_ACCESS, CURRENCY_CHECK_NEVER, CURRENCY_CHECK_ONCE_PER_SCOPE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addActivity
(String actName, IDfId actId, String actType, int actPriority) Adds an activity to the workflow definition.void
addLink
(String linkName, String linkSrcActivity, String linkSrcPortName, String linkDestActivity, String linkDstPortName) Adds a link to a workflow definition.void
appendActPerformer
(int actPerfRule, String actPerfFrom, String actPerfTo) Append values to parallel attributes: act_performer_rule/act_performer_from/act_performer_togetActChooseBy
(int index) Returns the act_choose_by attribute value at the specified index position.int
Returns the number of values in the act_choose_by attribute.getActChooseFor
(int index) Returns the act_choose_for attribute value at the specified index position.int
Returns the number of values in the act_choose_for attribute.getActChooseName
(int index) Returns the act_choose_name attribute value at the specified index.int
Returns the number of values in the act_choose_name attribute.int
Returns the number of activities in the workflow.getActivityDefId
(int actIndex) Returns the object ID of an activity's definition.getActivityIdByName
(String actName) Given an activity name, return the id of the activity.getActivityName
(int actIndex) Returns an activity name.int
getActivityPriority
(int actIndex) Returns an activity's priority.int
getActivityType
(int actIndex) Returns an activity's type.int
getActivityTypeByName
(String actName) Given an activity name, return the type of the activity.int
Return the number of entries of the parallel attributes: act_performer_rule/act_performer_from/act_performer_toint
Returns the state of the workflow definition.getLinkDestActivity
(int linkIndex) Returns a link's destination activity.getLinkDestPort
(int linkIndex) Returns a link's destination port.getLinkName
(int linkIndex) Returns a link name.getLinkSrcActivity
(int linkIndex) Returns a link's source activity.getLinkSrcPort
(int linkIndex) Returns a link's source port.int
Returns the value of the package_control attribute.getPackageSchemaId
(String packageName) Returns the object id of an XML schema if one exists.getPackageSchemaUri
(String packageName) Returns the URL of an externally located schema if one exists.Returns process's performer alias set object id.int
Returns the number of links in the workflow definition.getStartActivities
(String initiateAct) Return the list of start activities linked with the given initiate activity.void
install
(boolean installActivity, boolean resume) Installs a validated workflow definition.void
Moves the validated workflow definition back to the draft state.boolean
Indicates whether the workflow is private or public.void
removeActivity
(String actName) Removes an activity from the workflow definition.void
removeActPerformer
(int index) Remove the act_performer_rule/act_performer_from/act_performer_to values at the corresponding index position.void
removeLink
(String linkName) Removes a link from the workflow definition.void
removePackageSchemaAssociation
(String packageName) Removes the association of an XML schema document to a package.void
setActChooseBy
(int index, String name) Sets the act_choose_by attribute value at the specified index position.void
setActChooseFor
(int index, String name) Sets the act_choose_for attribute at a specified index position.void
setActChooseName
(int index, String name) Sets the act_choose_name attribute at a specified index position.void
setPackageControl
(int packageControl) Sets the package_control attribute.void
setPackageSchemaId
(String packageName, IDfId schemaId) Creates a relation between an XML schema document and a package.void
setPackageSchemaUri
(String packageName, String schemaUri) Creates a relation between an XML schema URI and a package.void
setPerformerAliasId
(IDfId aliasId) Defines the process's performer alias set object id.void
setPrivate
(boolean isPrivate) Defines whether the workflow definition is private or public.void
Moves the installed workflow definition back to the validated state.void
validate()
Validates the workflow definition.void
validateEx
(boolean checkActivity) Validates the workflow definition.void
Validates the workflow defintion and its referenced activities.Methods inherited from interface com.documentum.fc.client.IDfPersistentObject
addChildRelative, addParentRelative, apiExec, apiGet, apiSet, destroy, fetch, fetchWithCaching, getAttrAssistance, getAttrAssistanceWithValues, getAttrAsstDependencies, getChildRelatives, getParentRelatives, getPartition, getType, getValidator, getVStamp, getWidgetType, isDeleted, isDirty, isInstanceOf, isNew, isReplica, lock, lockEx, registerEvent, removeChildRelative, removeParentRelative, revert, save, setPartition, signoff, unRegisterEvent, unRegisterEventEx, validateAllRules, validateAttrRules, validateAttrRulesWithValue, validateAttrRulesWithValues, validateObjRules, validateObjRulesWithValues
Methods inherited from interface com.documentum.fc.client.IDfSysObject
addDigitalSignature, addESignature, addNote, addReference, addRendition, addRenditionEx, addRenditionEx2, addRenditionEx3, appendContent, appendContentEx, appendFile, appendFileEx, appendPart, areAttributesModifiable, assemble, asVirtualDocument, attachPolicy, bindFile, branch, cancelCheckout, cancelCheckoutEx, cancelScheduledDemote, cancelScheduledPromote, cancelScheduledResume, cancelScheduledSuspend, canDemote, canPromote, canResume, canSuspend, checkin, checkinEx, checkout, checkoutEx, demote, destroyAllVersions, detachPolicy, disassemble, freeze, getAccessDate, getAccessorApplicationPermit, getAccessorCount, getAccessorName, getAccessorPermit, getAccessorPermitType, getAccessorXPermit, getAccessorXPermitNames, getACL, getACLDomain, getACLName, getAclRefValid, getAcsRequests, getAliasSet, getAliasSetId, getAntecedentId, getApplicationType, getAssembledFromId, getAuthors, getAuthorsCount, getBranchCount, getCabinetId, getChronicleId, getCollectionForContent, getCollectionForContentEx2, getCollectionForContentEx3, getCollectionForContentEx4, getComponentId, getComponentIdCount, getCompoundArchitecture, getContainId, getContainIdCount, getContent, getContentAvailability, getContentEx, getContentEx2, getContentEx3, getContentsId, getContentSize, getContentSize, getContentState, getContentStateCount, getContentType, getCreationDate, getCreatorName, getCurrentState, getCurrentStateName, getDirectDescendant, getDoubleContentAttr, getExceptionStateName, getFile, getFileEx, getFileEx2, getFolderId, getFolderIdCount, getFormat, getFrozenAssemblyCount, getFullText, getGroupName, getGroupPermit, getHasEvents, getHasFolder, getHasFrozenAssembly, getImplicitVersionLabel, getKeywords, getKeywordsCount, getLatestFlag, getLinkCount, getLinkHighCount, getLocations, getLockDate, getLockMachine, getLockOwner, getLogEntry, getMasterDocbase, getModifier, getModifyDate, getNextStateName, getObjectName, getOtherFileSize, getOwnerName, getOwnerPermit, getPageCount, getPath, getPathEx, getPathEx2, getPermissions, getPermit, getPermitEx, getPolicyId, getPolicyName, getPreviousStateName, getReferenceCount, getRemoteId, getRenditions, getResolutionLabel, getResumeState, getResumeStateName, getRetainerCount, getRetainerId, getRetainUntilDate, getRetentionDate, getRouters, getSpecialApp, getStatus, getStorageType, getStringContentAttr, getSubject, getTimeContentAttr, getTitle, getTypeName, getVdmPath, getVdmPathDQL, getVersionLabel, getVersionLabelCount, getVersionLabels, getVersionPolicy, getVersions, getWorkflows, getWorldPermit, getXPermit, getXPermitList, getXPermitNames, grant, grantPermit, hasPermission, insertContent, insertContentEx, insertFile, insertFileEx, insertPart, isArchived, isCheckedOut, isCheckedOutBy, isContentTransferCapabilityEnabled, isFrozen, isHidden, isImmutable, isLinkResolved, isPublic, isReference, isSuspended, isVirtualDocument, link, mark, mount, print, promote, prune, queue, refreshReference, removeContent, removeNote, removePart, removeRendition, removeRenditionEx, removeRenditionEx2, resolveAlias, resume, revertACL, revoke, revokePermit, saveAsNew, saveLock, scheduleDemote, schedulePromote, scheduleResume, scheduleSuspend, setACL, setACLDomain, setACLName, setApplicationType, setArchived, setAuthors, setCompoundArchitecture, setContent, setContentEx, setContentEx2, setContentType, setDoubleContentAttribute, setFile, setFileEx, setFullText, setGroupName, setGroupPermit, setHidden, setIsVirtualDocument, setKeywords, setLinkResolved, setLogEntry, setObjectName, setOwnerName, setOwnerPermit, setPath, setResolutionLabel, setSpecialApp, setStatus, setStorageType, setStringContentAttribute, setSubject, setTimeContentAttribute, setTitle, setWorldPermit, suspend, unfreeze, unlink, unmark, updatePart, updatePartEx, useACL, verifyESignature
Methods inherited from interface com.documentum.fc.client.IDfTypedObject
appendBoolean, appendDouble, appendId, appendInt, appendString, appendTime, appendValue, dump, enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getId, getInt, getLong, getObjectId, getObjectSession, getOriginalSession, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getSession, getSessionManager, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, insertBoolean, insertDouble, insertId, insertInt, insertString, insertTime, insertValue, isAttrRepeating, isNull, remove, removeAll, setBoolean, setDouble, setId, setInt, setNull, setRepeatingBoolean, setRepeatingDouble, setRepeatingId, setRepeatingInt, setRepeatingString, setRepeatingTime, setRepeatingValue, setSessionManager, setString, setTime, setValue, truncate
-
Field Details
-
ACT_TYPE_STEP
static final int ACT_TYPE_STEP- See Also:
-
ACT_TYPE_BEGIN
static final int ACT_TYPE_BEGIN- See Also:
-
ACT_TYPE_END
static final int ACT_TYPE_END- See Also:
-
ACT_TYPE_EXCEPTION
static final int ACT_TYPE_EXCEPTION- See Also:
-
ACT_TYPE_INITIATE
static final int ACT_TYPE_INITIATE- See Also:
-
-
Method Details
-
validate
Validates the workflow definition.You must have at least Relate permission on the process object or be a user with Sysadmin or Superuser privileges to use this method.
The workflow definition must be in the draft state to be validated. Validating a workflow definition ensures that:
- All referenced activities exist and are in the validated state
- The ports identified as source and destination ports exist and are connectable
- There is only one link defined for each source/destination port pair
- There is one and only one end activity defined
If the activities are not validated, you can use
validateProcessAndActivities()
to validate both the workflow and the activities in one step.For more information about what constitutes a valid workflow definition, refer to Server Fundamentals.
- Throws:
DfException
- if the server returns an error- See Also:
-
validateEx
Validates the workflow definition.You must have at least Relate permission on the process object or be a user with Sysadmin or Superuser privileges to use this method.
The workflow definition must be in the draft state to be validated. Validating a workflow definition ensures that:
- All referenced activities exist and are in the validated state
- The ports identified as source and destination ports exist and are connectable
- There is only one link defined for each source/destination port pair
- There is one and only one end activity defined
If the activities are not validated, you can use
validateProcessAndActivities()
to validate both the workflow and the activities in one step.For more information about what constitutes a valid workflow definition, refer to Server Fundamentals.
- Parameters:
checkActivity
- indicates whether to validate the activites referenced by the process definition.- Throws:
DfException
- if the server returns an error- See Also:
-
invalidate
Moves the validated workflow definition back to the draft state.You must have at least Relate permission on the process object or be a user with Sysadmin or Superuser privileges to use this method.
For more information about validating workflow definitions, refer to Server Fundamentals.
- Throws:
DfException
- if the server returns an error
-
validateProcessAndActivities
Validates the workflow defintion and its referenced activities.You must have at least Relate permission on the process object or be a user with Sysadmin or Superuser privileges to use this method.
Before a workflow definition can be set to the validated state, all of the activities referenced in the definition must be in the validated state. You can do that using
IDfActivity.validate()
when you create the activity definitions or you can use this method to validate the activities and the workflow definition in one step.For information about what constitutes valid activities and workflows, refer to Server Fundamentals.
- Throws:
DfException
- if the server returns an error- See Also:
-
install
Installs a validated workflow definition.You must have at least Relate permission on the process object or be a user with Sysadmin or Superuser privileges to use this method.
Installing a workflow definition moves it to the installed state. All activities referenced in the definition must be in the installed state to install the workflow definition. If you did not install the activities using
IDfActivity.install()
when you created their definitions, you can use theinstallActivity
argument in this method to install them as part of the workflow definition's installation. However, if you use this argument to install activities, note that the method does not validate the draft activities before installing them.If there are runtime instances of the workflow definition, use the
resume
parameter to indicate whether to abort or resume those instances after the definition is installed.- Parameters:
installActivity
-true
to install the referenced activities;false
if the activites are already installedresume
-true
to resume any runtime instances that are based on this workflow definition;false
to abort those runtime instances- Throws:
DfException
- if the server returns an error
-
uninstall
Moves the installed workflow definition back to the validated state.You must have at least Relate permission on the process object or be a user with Sysadmin or Superuser privileges to use this method.
Uninstalling a workflow definition halts all runtime instances of the workflow.
- Throws:
DfException
- if the server returns an error
-
addActivity
Adds an activity to the workflow definition.Before you can add an activity to a workflow definition, you must create the activity's definition. To do this, use the methods in the
IDfActivity
interface.There are no permissions needed to execute addActivity; however, when the workflow definition is saved, the user saving the definition must either have at least Sysadmin privileges or at least Relate permission on the activities in the definition.
- Parameters:
actName
- the name of the activity as specified in the activity's definitionactId
- an IDfId interface object that contains the object ID of the dm_activity object representing the activity's definitionactType
- the type of the activity. One of: begin, step, or end. If you specify this asnull
, step is assumed.actPriority
- the activity's priority- Throws:
DfException
- if the server returns an error
-
removeActivity
Removes an activity from the workflow definition.The workflow definition must be in the uninstalled state.
Removing an activity fails if the activity is referenced by any links in the workflow definition. To remove the activity, you must first remove any links that reference the activity.
There are no permissions checked when removing an activity; however, when the workflow definition is saved, the user saving it must have at least Sysadmin privileges or at least Relate permission on the activities in the definition.
For information about how activities and links are connected in the workflow definition, refer to Server Fundamentals.
- Parameters:
actName
- the name of the activity- Throws:
DfException
- if the server returns an error- See Also:
-
addLink
void addLink(String linkName, String linkSrcActivity, String linkSrcPortName, String linkDestActivity, String linkDstPortName) throws DfException Adds a link to a workflow definition.Links connect an output port of an activity to the input port of another activity in the workflow definition. Each link must have a unique name within the workflow definition.
The activities and ports must exist before you add a link to the definition.
For information about how links and ports function, refer to Server Fundamentals.
- Parameters:
linkName
- the name of the link. This must be unique within the workflow definition.linkSrcActivity
- the name of the source activitylinkSrcPortName
- the name of an output port in the source activitylinkDestActivity
- the name of the destination activitylinkDstPortName
- the name of an input port in the destination activity- Throws:
DfException
- if the server returns an error
-
removeLink
Removes a link from the workflow definition.Links connect an output port of an activity to the input port of another activity in the workflow definition.
For information about how links and ports function, refer to Server Fundamentals.
- Parameters:
linkName
- the name of the link you want to remove- Throws:
DfException
- if the server returns an error
-
isPrivate
Indicates whether the workflow is private or public.A private workflow definition is intended for use only by the user who created the definition. A public definition is intended for use by anyone.
The server does not enforce this constraint. The constraint is purely informational and for the use of client applications.
- Returns:
true
if the definition is intended for use only by the user who created it;false
if it is intended for use by anyone- Throws:
DfException
- if the server returns an error
-
setPrivate
Defines whether the workflow definition is private or public.A private workflow definition is intended for use only by the user who created the definition. A public definition is intended for use by anyone.
The server does not enforce this constraint. The constraint is purely informational and for the use of client applications if desired.
- Parameters:
isPrivate
- set this totrue
to indicate that the definition is private or tofalse
to indicate it is public.- Throws:
DfException
- if the server returns an error
-
getDefinitionState
Returns the state of the workflow definition.- Returns:
- An integer value that corresponds to the state of the
workflow definition. Valid values and their meanings are:
Value Meaning 0 Draft 1 Validated 2 Installed
- Throws:
DfException
- if the server returns an error
-
getActivityCount
Returns the number of activities in the workflow.Activity information is stored in the workflow definition in repeating attributes. The values at any one index position in those attributes represent one activity.
For information about the individual attributes that store activity information, refer to the EMC Documentum Object Reference Manual or Server Fundamentals.
- Returns:
- The number of activities in the workflow definition
- Throws:
DfException
- if the server returns an error
-
getActivityName
Returns an activity name.Activity information is stored in the workflow definition in repeating attributes. The values at any one index position in those attributes represent one activity.
To execute this method, you must identify the activity by its index position in the repeating attributes. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getActivityCount()
.- Parameters:
actIndex
- the index position of the activity- Returns:
- The activity name
- Throws:
DfException
- if the server returns an error
-
getActivityPriority
Returns an activity's priority.Activity information is stored in the workflow definition in repeating attributes. The values at any one index position in those attributes represent one activity.
To execute this method, you must identify the activity by its index position in the repeating attributes. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getActivityCount()
.- Parameters:
actIndex
- the index position of the activity- Returns:
- The activity's priority
- Throws:
DfException
- if the server returns an error
-
getActivityType
Returns an activity's type.Activity information is stored in the workflow definition in repeating attributes. The values at any one index position in those attributes represent one activity.
To execute this method, you must identify the activity by its index position in the repeating attributes. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getActivityCount()
.- Parameters:
actIndex
- the index position of the activity- Returns:
- An integer value corresponding to the activity's type. Valid
values and their meanings are:
Value Meaning 0 Step 1 Begin 2 End
- Throws:
DfException
- if the server returns an error
-
getActivityTypeByName
Given an activity name, return the type of the activity.- Parameters:
actName
-- Returns:
- The type of the activity would be one of the following constants: IDfProcess.ACT_TYPE_STEP IDfProcess.ACT_TYPE_BEGIN IDfProcess.ACT_TYPE_END IDfProcess.ACT_TYPE_EXCEPTION IDfProcess.ACT_TYPE_INITIATE
- Throws:
DfException
-
getActivityIdByName
Given an activity name, return the id of the activity.- Parameters:
actName
-- Returns:
- The id of the activity
- Throws:
DfException
-
getActivityDefId
Returns the object ID of an activity's definition.An activity definition is stored in the repository in a dm_activity object. This method returns the object ID of the activity object representing a specified activity.
To execute this method, you must provide the activity's index position in the workflow definition's repeating attributes. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getActivityCount()
.- Parameters:
actIndex
- the index position of the activity- Returns:
- An IDfId interface object that contains the object ID of the activity's definition
- Throws:
DfException
- if the server returns an error
-
getProcessLinkCount
Returns the number of links in the workflow definition.Links connect an output port of an activity to the input port of another activity in the workflow definition.
For more information about links, refer to Server Fundamentals.
- Returns:
- The number of links in the workflow definition
- Throws:
DfException
- if the server returns an error
-
getLinkName
Returns a link name.Link definitions are stored in repeating attributes in the workflow definition. The values at one index position across the attributes represent one link.
To execute this method, you must provide the link's index position in the repeating attributes that store link definitions. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getProcessLinkCount()
.- Parameters:
linkIndex
- the index position of the link.- Returns:
- The name of the link
- Throws:
DfException
- if the server returns an error
-
getLinkSrcActivity
Returns a link's source activity.Links connect an output port of an activity to the input port of another activity. This method returns name of the activity that contains the output port for a specified link. That activity is called the link's source activity.
To execute this method, you must identify the link by its index position in the repeating attributes that store link definitions. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getProcessLinkCount()
.- Parameters:
linkIndex
- the index position of the link- Returns:
- The name of the link's source activity
- Throws:
DfException
- if the server returns an error
-
getLinkSrcPort
Returns a link's source port.Links connect an output port of an activity to the input port of another activity. This method returns the name of the output port in the source activity for a specified link.
To execute this method, you must identify the link by its index position in the repeating attributes that store link defintions. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getProcessLinkCount()
.- Parameters:
linkIndex
- the index position of the link- Returns:
- The name of the source activity's output port
- Throws:
DfException
- if the server returns an error
-
getLinkDestActivity
Returns a link's destination activity.Links connect an output port of an activity to the input port of another activity. This method returns the name of the activity that contains the input port for a specified link. That activity is called the link's destination activity.
To execute this method, you must identify the link by its index position in the repeating attributes that store link definitions. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getProcessLinkCount()
.- Parameters:
linkIndex
- the index position of the link- Returns:
- The name of the destination activity
- Throws:
DfException
- if the server returns an error
-
getLinkDestPort
Returns a link's destination port.Links connect an output port of an activity to the input port of another activity. This method returns the name of the inpout port in the destination activity for a specified link.
To execute this method, you must identify the link by its index position in the repeating attributes that store link defintions. Index positions begin at 0 and increment by 1 for each value in the attribute, up to n-1 where n is the total number of values in the attribute. To obtain the total number of values, use
getProcessLinkCount()
.- Parameters:
linkIndex
- the index position of the link- Returns:
- The name of the destination activity's input port
- Throws:
DfException
- if the server returns an error
-
getPerformerAliasId
Returns process's performer alias set object id.- Returns:
- The object id of the performer alias set of the process
- Throws:
DfException
- if the server returns an error
-
setPerformerAliasId
Defines the process's performer alias set object id.- Parameters:
aliasId
- the object id of the alias set- Throws:
DfException
- if the server returns an error
-
getActChooseNameCount
Returns the number of values in the act_choose_name attribute.- Returns:
- value count of the attribute act_choose_name
- Throws:
DfException
- if server error occurs- See Also:
-
getActChooseName
Returns the act_choose_name attribute value at the specified index.- Parameters:
index
- Index position of the value to be returned- Returns:
- act_choose_name value at specified index position
- Throws:
DfException
- if server error occurs- See Also:
-
setActChooseName
Sets the act_choose_name attribute at a specified index position.- Parameters:
index
- Index position at which to set the valuename
- Name to be set- Throws:
DfException
- if server error occurs- See Also:
-
getActChooseByCount
Returns the number of values in the act_choose_by attribute.- Returns:
- value count of the attribute act_choose_by
- Throws:
DfException
- if server error occurs- See Also:
-
getActChooseBy
Returns the act_choose_by attribute value at the specified index position.- Parameters:
index
- Index position of the value to be returned- Returns:
- act_choose_by value at the specified index position
- Throws:
DfException
- if server error occurs- See Also:
-
setActChooseBy
Sets the act_choose_by attribute value at the specified index position.- Parameters:
index
- Index position at which to set the valuename
- Name to be set- Throws:
DfException
- if server error occurs- See Also:
-
getActChooseForCount
Returns the number of values in the act_choose_for attribute.- Returns:
- value count of the attribute act_choose_for
- Throws:
DfException
- if server error occurs- See Also:
-
getActChooseFor
Returns the act_choose_for attribute value at the specified index position.- Parameters:
index
- Index position of the value to be returned- Returns:
- act_choose_for value at the specified index position
- Throws:
DfException
- if server error occurs- See Also:
-
setActChooseFor
Sets the act_choose_for attribute at a specified index position.- Parameters:
index
- Index position at which to set the valuename
- Name to be set- Throws:
DfException
- if server error occurs- See Also:
-
getPackageControl
Returns the value of the package_control attribute.This attribute setting enables or disables package control at the workflow level. Package control determines whether the server sets the r_component_name attribute of dmi_package objects generated from this workflow template.
Note: Package control may also be enabled or disabled at the repository level. For more information about package control, refer to the Content Server Fundamentals.
- Returns:
0
, meaning package control is disabled;1
, meaning the package control is enabled- Throws:
DfException
-
setPackageControl
Sets the package_control attribute.This attribute setting enables or disables package control at the workflow level. Package control determines whether the server sets the r_component_name attribute of dmi_package objects generated from this workflow template.
Note: Package control may also be enabled or disabled at the repository level. For more information about package control, refer to the Content Server Fundamentals.
- Parameters:
packageControl
-0
disables package control at workflow level;1
enables package control at workflow level- Throws:
DfException
-
setPackageSchemaUri
Creates a relation between an XML schema URI and a package. If a schema is already associated with this package, that association is replaced with this new association.- Parameters:
packageName
- the name of the package to which the schema is relatedschemaUri
- URL to an externally located schema- Throws:
DfException
- if a server error occurs
-
setPackageSchemaId
Creates a relation between an XML schema document and a package. If a schema is already associated with this package, that association is replaced with this new association.- Parameters:
packageName
- the name of the package to which the schema is relatedschemaId
- the id of a sysobject containing the XML schema as content- Throws:
DfException
- if a server error occurs
-
removePackageSchemaAssociation
Removes the association of an XML schema document to a package. If no association exists the call is ignored.- Parameters:
packageName
- the name of the package to which the schema is related- Throws:
DfException
- if a server error occurs
-
getPackageSchemaUri
Returns the URL of an externally located schema if one exists.- Parameters:
packageName
- the name of the package to which the schema is related- Returns:
- the URL of an externally located schema, if one exists, otherwise
null
- Throws:
DfException
- if a server error occurs
-
getPackageSchemaId
Returns the object id of an XML schema if one exists.- Parameters:
packageName
- the name of the package to which the schema is related- Returns:
- the object id of an XML schema, if one exists, otherwise
null
- Throws:
DfException
- if a server error occurs
-
appendActPerformer
Append values to parallel attributes: act_performer_rule/act_performer_from/act_performer_to- Parameters:
actPerfRule
- the rule to select performersactPerfFrom
- Name of the activity from which the performers are selectedactPerfTo
- Name of the activity whose performers are selected- Throws:
DfException
-
removeActPerformer
Remove the act_performer_rule/act_performer_from/act_performer_to values at the corresponding index position.- Parameters:
index
- Index position at which to remove the values- Throws:
DfException
-
getActPerformerCount
Return the number of entries of the parallel attributes: act_performer_rule/act_performer_from/act_performer_to- Throws:
DfException
-
getStartActivities
Return the list of start activities linked with the given initiate activity. If the initiateAct passed in is null, then return all start activities.- Parameters:
initiateAct
-- Returns:
- A string list. Returns null if the given initiate activity does not exist.
- Throws:
DfException
-