Package Thor.API.Operations
Interface tcWorkflowDefinitionOperationsIntf
- All Superinterfaces:
tcUtilityOperationsIntf
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdministrator
(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) Deprecated.Adds a group to the list of groups that have administrative access over the specified workflow.void
addAdministrators
(long plWorkflowKey, long[] plGroupKeys, boolean[] pbWrite, boolean[] pbDelete) Deprecated.Adds groups to the list of groups that have administrative access over the specified workflow.void
createProcess
(ProcessDefinition process) Deprecated.Method to create a new workflowThor.API.tcResultSet
getAdapterMappings
(String adpType, long adpKey) Deprecated.Method to get the adapter mappings for an adapterThor.API.tcResultSet
Deprecated.This method will retrieve the list of rules in the systemThor.API.tcResultSet
Deprecated.Method to get all the available adapters in the systemThor.API.tcResultSet
Deprecated.Method to get all the available event handlers in the systemThor.API.tcResultSet
Deprecated.Method to get all the available task assignment adapters in the systemThor.API.tcResultSet
getChildForms
(long parentFormKey, int parentCurrentFormVersion) Deprecated.Method to get all the child forms for a given parent formgetColumnLength
(String psTable, String psColName) Deprecated.This method will retrieve the column length in the tableThor.API.tcResultSet
getForms()
Deprecated.Method to get all the available forms in the systemThor.API.tcResultSet
getObjectStatuses
(long objectKey) Deprecated.This method will retrieve the object statuses defined on a objectDeprecated.This method will retrieve the organization attributes from org profile to be used for trusted source reconciliation mappingsThor.API.tcResultSet
Deprecated.Method to get all the task assignment rules in the systemThor.API.tcResultSet
Deprecated.This method will retrieve different task assignment typesThor.API.tcResultSet
Deprecated.This method will retrieve the mapping of status key and corresponding status mappingDeprecated.This method will retrieve the user attributes from user profile to be used for trusted source reconciliation mappingsThor.API.tcResultSet
getUserDefinedFields
(String formName) Deprecated.Method to get all the user defined fields for a formgetWorkflowDefinition
(long workflowDefKey) Deprecated.This method will retrieve the definition of a workflow based on the provided workflow definition key.getWorkflowDefinition
(String workflowName) Deprecated.This method will retrieve the definition of a workflow based on the provided workflow name.getWorkflowDefinitionXML
(long workflowDefKey) Deprecated.This method will retrieve the XML definition of a workflow based on the provided workflow definition key.getWorkflowDefinitionXML
(String workflowName) Deprecated.This method will retrieve the definition of a workflow based on the provided workflow name in the form of an XML document.boolean
Deprecated.This method will return if the logged in user has permissions to create new workflowsboolean
Deprecated.This method will return if the logged in user has permissions to update existing workflowsvoid
removeAdministrator
(long plWorkflowKey, long plGroupKey) Deprecated.Removes a group from the list of groups that have administrative access over the specified workflow.void
removeAdministrators
(long plWorkflowKey, long[] plGroupKeys) Deprecated.Removes groups from the list of groups that have administrative access over the specified workflow.void
updateAdministrator
(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) Deprecated.Updates the access permissions an administrative group has over the specified workflow.void
updateAdministrators
(long plProcessKey, long[] plGroupKeys, boolean[] pbWrites, boolean[] pbDeletes) Deprecated.Updates the access permissions administrative groups have over the specified workflow.void
updateWorkflow
(WorkflowDefinition workflow) Deprecated.Updates and saves a workflowMethods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant
-
Method Details
-
getWorkflowDefinitionXML
@Deprecated String getWorkflowDefinitionXML(String workflowName) throws tcAPIException, tcAPIException Deprecated.This method will retrieve the definition of a workflow based on the provided workflow name in the form of an XML document.- Parameters:
psWorkflowName
- is the name of the workflow definition- Returns:
- The workflow definition XML
- Throws:
tcAPIException
-
getWorkflowDefinition
@Deprecated WorkflowDefinition getWorkflowDefinition(String workflowName) throws tcAPIException, tcAPIException Deprecated.This method will retrieve the definition of a workflow based on the provided workflow name.- Parameters:
psWorkflowName
- is the name of the workflow definition- Returns:
- The workflow definition value object
- Throws:
tcAPIException
-
getWorkflowDefinitionXML
@Deprecated String getWorkflowDefinitionXML(long workflowDefKey) throws tcAPIException, tcAPIException Deprecated.This method will retrieve the XML definition of a workflow based on the provided workflow definition key.- Parameters:
workflowDefKey
- is the key of the workflow definition- Returns:
- The workflow definition XML
- Throws:
tcAPIException
-
getWorkflowDefinition
@Deprecated WorkflowDefinition getWorkflowDefinition(long workflowDefKey) throws tcAPIException, tcAPIException Deprecated.This method will retrieve the definition of a workflow based on the provided workflow definition key.- Parameters:
workflowDefKey
- is the key of the workflow definition- Returns:
- The workflow definition value object
- Throws:
tcAPIException
tcPropertyNotFoundException
tcDuplicatePropertyException
-
createProcess
Deprecated.Method to create a new workflow- Parameters:
process
- ProcessDefinition object used to create a new workflow- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getForms
Deprecated.Method to get all the available forms in the system- Returns:
- A tcResultSet containing multiple rows, each holding information about the forms
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getChildForms
@Deprecated Thor.API.tcResultSet getChildForms(long parentFormKey, int parentCurrentFormVersion) throws tcAPIException, tcAPIException Deprecated.Method to get all the child forms for a given parent form- Parameters:
parentFormKey
- key of the parent formparentCurrentFormVersion
- current version of the parent form- Returns:
- A tcResultSet containing multiple rows, each holding information about the forms
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getAdapterMappings
@Deprecated Thor.API.tcResultSet getAdapterMappings(String adpType, long adpKey) throws tcAPIException, tcAPIException Deprecated.Method to get the adapter mappings for an adapter- Parameters:
adpType
- Type of the adapter "T" for Task Adapter and "A" for Task Assignment AdapteradpKey
- key of the adapter- Returns:
- A tcResultSet containing multiple rows, each holding information about the adapter mappings
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getAvailableEventHandlers
Deprecated.Method to get all the available event handlers in the system- Returns:
- A tcResultSet containing multiple rows, each holding information about the event handlers
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getAvailableAdapters
Deprecated.Method to get all the available adapters in the system- Returns:
- A tcResultSet containing multiple rows, each holding information about the adapters
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getAvailableTaskAssignmentAdapters
@Deprecated Thor.API.tcResultSet getAvailableTaskAssignmentAdapters() throws tcAPIException, tcAPIExceptionDeprecated.Method to get all the available task assignment adapters in the system- Returns:
- A tcResultSet containing multiple rows, each holding information about the task assignment adapters
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getUserDefinedFields
@Deprecated Thor.API.tcResultSet getUserDefinedFields(String formName) throws tcAPIException, tcAPIException Deprecated.Method to get all the user defined fields for a form- Returns:
- A tcResultSet containing multiple rows, each holding information about the user defined fields
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getTaskAssignmentRule
Deprecated.Method to get all the task assignment rules in the system- Returns:
- A tcResultSet containing multiple rows, each holding information about the task assignment rules
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
updateWorkflow
Deprecated.Updates and saves a workflow- Parameters:
workflow
- The workflow definition, an instance of WorkflowDefinition- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getTaskStatusKeyMapping
Deprecated.This method will retrieve the mapping of status key and corresponding status mapping- Returns:
- The mapping of status and its key value
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getObjectStatuses
@Deprecated Thor.API.tcResultSet getObjectStatuses(long objectKey) throws tcAPIException, tcAPIException Deprecated.This method will retrieve the object statuses defined on a object- Returns:
- The object status key and value
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getAllRules
Deprecated.This method will retrieve the list of rules in the system- Returns:
- The object rule name, rule type and rule key
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getTaskAssignmentTypes
Deprecated.This method will retrieve different task assignment types- Returns:
- The task assignment types
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
isWorkflowCreationPermitted
Deprecated.This method will return if the logged in user has permissions to create new workflows- Returns:
- boolean true if permitted, false otherwise
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
isWorkflowUpdatePermitted
Deprecated.This method will return if the logged in user has permissions to update existing workflows- Returns:
- boolean true if permitted, false otherwise
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
addAdministrators
@Deprecated void addAdministrators(long plWorkflowKey, long[] plGroupKeys, boolean[] pbWrite, boolean[] pbDelete) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException Deprecated.Adds groups to the list of groups that have administrative access over the specified workflow.- Parameters:
plWorkflowKey
- String holding the workflow Key (corresponds to value in the PKG_KEY column)plGroupKeys
- holding the Group Key (corresponds to value in the UGP_KEY column)pbWrite
- [] Whether the group has write access to the workflowpbDelete
- [] Whether the group has delete access to the workflow- Throws:
tcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
- Since:
- 9.1.0.0
-
addAdministrator
@Deprecated void addAdministrator(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException Deprecated.Adds a group to the list of groups that have administrative access over the specified workflow.- Parameters:
plWorkflowKey
- String holding the workflow Key (corresponds to value in the PKG_KEY column)plGroupKey
- String holding the Group Key (corresponds to value in the UGP_KEY column)pbWrite
- Whether the group has write access to the workflowpbDelete
- Whether the group has delete access to the workflow- Throws:
tcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
- Since:
- 9.1.0.0
-
removeAdministrators
@Deprecated void removeAdministrators(long plWorkflowKey, long[] plGroupKeys) throws tcAPIException, tcAdminNotFoundException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException Deprecated.Removes groups from the list of groups that have administrative access over the specified workflow.- Parameters:
plWorkflowKey
- String holding the workflow Key (corresponds to value in the PKG_KEY column)plGroupKey
- [] holding the Group Keys (corresponds to value in the UGP_KEY column)- Throws:
tcAPIException
tcAdminNotFoundException
tcProcessNotFoundException
tcGroupNotFoundException
- Since:
- 9.1.0.0
-
removeAdministrator
@Deprecated void removeAdministrator(long plWorkflowKey, long plGroupKey) throws tcAPIException, tcAdminNotFoundException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException Deprecated.Removes a group from the list of groups that have administrative access over the specified workflow.- Parameters:
plWorkflowKey
- String holding the workflow Key (corresponds to value in the PKG_KEY column)plGroupKey
- String holding the Group Key (corresponds to value in the UGP_KEY column)- Throws:
tcAPIException
tcAdminNotFoundException
tcProcessNotFoundException
tcGroupNotFoundException
- Since:
- 9.1.0.0
-
updateAdministrators
@Deprecated void updateAdministrators(long plProcessKey, long[] plGroupKeys, boolean[] pbWrites, boolean[] pbDeletes) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException Deprecated.Updates the access permissions administrative groups have over the specified workflow.- Parameters:
plWorkflowKey
- String holding the workflow KeyplGroupKey
- [] holding the Group KeyspbWrite
- [] Whether the group has write access to the workflowpbDelete
- [] Whether the group has delete access to the workflow- Throws:
tcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
- Since:
- 9.1.0.0
-
updateAdministrator
@Deprecated void updateAdministrator(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException Deprecated.Updates the access permissions an administrative group has over the specified workflow.- Parameters:
plWorkflowKey
- String holding the Workflow KeyplGroupKey
- String holding the Group KeypbWrite
- Whether the group has write access to the workflowpbDelete
- Whether the group has delete access to the workflow- Throws:
tcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
- Since:
- 9.1.0.0
-
getUserAttributesForTrustedSourceReconMapping
@Deprecated Vector getUserAttributesForTrustedSourceReconMapping() throws tcAPIException, tcAPIExceptionDeprecated.This method will retrieve the user attributes from user profile to be used for trusted source reconciliation mappings- Returns:
- The vector containing the user attributes
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getOrgAttributesForTrustedSourceReconMapping
@Deprecated Vector getOrgAttributesForTrustedSourceReconMapping() throws tcAPIException, tcAPIExceptionDeprecated.This method will retrieve the organization attributes from org profile to be used for trusted source reconciliation mappings- Returns:
- The vector containing the org attributes
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getColumnLength
@Deprecated String getColumnLength(String psTable, String psColName) throws tcAPIException, tcAPIException Deprecated.This method will retrieve the column length in the table- Returns:
- The String containing the column length
- Throws:
tcAPIException
- Since:
- 9.1.0.0
-