|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface tcWorkflowDefinitionOperationsIntf
Method Summary | |
---|---|
void |
addAdministrator(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) 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) Adds groups to the list of groups that have administrative access over the specified workflow. |
void |
createProcess(com.thortech.xl.vo.workflow.ProcessDefinition process) Method to create a new workflow |
Thor.API.tcResultSet |
getAdapterMappings(java.lang.String adpType, long adpKey) Method to get the adapter mappings for an adapter |
Thor.API.tcResultSet |
getAllRules() This method will retrieve the list of rules in the system |
Thor.API.tcResultSet |
getAvailableAdapters() Method to get all the available adapters in the system |
Thor.API.tcResultSet |
getAvailableEventHandlers() Method to get all the available event handlers in the system |
Thor.API.tcResultSet |
getAvailableTaskAssignmentAdapters() Method to get all the available task assignment adapters in the system |
Thor.API.tcResultSet |
getChildForms(long parentFormKey, int parentCurrentFormVersion) Method to get all the child forms for a given parent form |
java.lang.String |
getColumnLength(java.lang.String psTable, java.lang.String psColName) This method will retrieve the column length in the table |
Thor.API.tcResultSet |
getForms() Method to get all the available forms in the system |
Thor.API.tcResultSet |
getObjectStatuses(long objectKey) This method will retrieve the object statuses defined on a object |
java.util.Vector |
getOrgAttributesForTrustedSourceReconMapping() This method will retrieve the organization attributes from org profile to be used for trusted source reconciliation mappings |
Thor.API.tcResultSet |
getTaskAssignmentRule() Method to get all the task assignment rules in the system |
Thor.API.tcResultSet |
getTaskAssignmentTypes() This method will retrieve different task assignment types |
Thor.API.tcResultSet |
getTaskStatusKeyMapping() This method will retrieve the mapping of status key and corresponding status mapping |
java.util.Vector |
getUserAttributesForTrustedSourceReconMapping() This method will retrieve the user attributes from user profile to be used for trusted source reconciliation mappings |
Thor.API.tcResultSet |
getUserDefinedFields(java.lang.String formName) Method to get all the user defined fields for a form |
com.thortech.xl.vo.workflow.WorkflowDefinition |
getWorkflowDefinition(long workflowDefKey) This method will retrieve the definition of a workflow based on the provided workflow definition key. |
com.thortech.xl.vo.workflow.WorkflowDefinition |
getWorkflowDefinition(java.lang.String workflowName) This method will retrieve the definition of a workflow based on the provided workflow name. |
java.lang.String |
getWorkflowDefinitionXML(long workflowDefKey) This method will retrieve the XML definition of a workflow based on the provided workflow definition key. |
java.lang.String |
getWorkflowDefinitionXML(java.lang.String workflowName) This method will retrieve the definition of a workflow based on the provided workflow name in the form of an XML document. |
boolean |
isWorkflowCreationPermitted() This method will return if the logged in user has permissions to create new workflows |
boolean |
isWorkflowUpdatePermitted() This method will return if the logged in user has permissions to update existing workflows |
void |
removeAdministrator(long plWorkflowKey, long plGroupKey) Removes a group from the list of groups that have administrative access over the specified workflow. |
void |
removeAdministrators(long plWorkflowKey, long[] plGroupKeys) 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) Updates the access permissions an administrative group has over the specified workflow. |
void |
updateAdministrators(long plProcessKey, long[] plGroupKeys, boolean[] pbWrites, boolean[] pbDeletes) Updates the access permissions administrative groups have over the specified workflow. |
void |
updateWorkflow(com.thortech.xl.vo.workflow.WorkflowDefinition workflow) Updates and saves a workflow |
Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf |
---|
close, getName, setCountry, setLanguage, setVariant |
Method Detail |
---|
java.lang.String getWorkflowDefinitionXML(java.lang.String workflowName) throws tcAPIException, tcAPIException
psWorkflowName
- is the name of the workflow definitiontcAPIException
com.thortech.xl.vo.workflow.WorkflowDefinition getWorkflowDefinition(java.lang.String workflowName) throws tcAPIException, tcAPIException
psWorkflowName
- is the name of the workflow definitiontcAPIException
java.lang.String getWorkflowDefinitionXML(long workflowDefKey) throws tcAPIException, tcAPIException
workflowDefKey
- is the key of the workflow definitiontcAPIException
com.thortech.xl.vo.workflow.WorkflowDefinition getWorkflowDefinition(long workflowDefKey) throws tcAPIException, tcAPIException
workflowDefKey
- is the key of the workflow definitiontcAPIException
tcPropertyNotFoundException
tcDuplicatePropertyException
void createProcess(com.thortech.xl.vo.workflow.ProcessDefinition process) throws tcAPIException, tcAPIException
process
- ProcessDefinition object used to create a new workflowtcAPIException
Thor.API.tcResultSet getForms() throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getChildForms(long parentFormKey, int parentCurrentFormVersion) throws tcAPIException, tcAPIException
parentFormKey
- key of the parent formparentCurrentFormVersion
- current version of the parent formtcAPIException
Thor.API.tcResultSet getAdapterMappings(java.lang.String adpType, long adpKey) throws tcAPIException, tcAPIException
adpType
- Type of the adapter "T" for Task Adapter and "A" for Task Assignment AdapteradpKey
- key of the adaptertcAPIException
Thor.API.tcResultSet getAvailableEventHandlers() throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getAvailableAdapters() throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getAvailableTaskAssignmentAdapters() throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getUserDefinedFields(java.lang.String formName) throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getTaskAssignmentRule() throws tcAPIException, tcAPIException
tcAPIException
void updateWorkflow(com.thortech.xl.vo.workflow.WorkflowDefinition workflow) throws tcAPIException, tcAPIException
workflow
- The workflow definition, an instance of WorkflowDefinitiontcAPIException
Thor.API.tcResultSet getTaskStatusKeyMapping() throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getObjectStatuses(long objectKey) throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getAllRules() throws tcAPIException, tcAPIException
tcAPIException
Thor.API.tcResultSet getTaskAssignmentTypes() throws tcAPIException, tcAPIException
tcAPIException
boolean isWorkflowCreationPermitted() throws tcAPIException, tcAPIException
tcAPIException
boolean isWorkflowUpdatePermitted() throws tcAPIException, tcAPIException
tcAPIException
void addAdministrators(long plWorkflowKey, long[] plGroupKeys, boolean[] pbWrite, boolean[] pbDelete) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException
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 workflowtcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
void addAdministrator(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException
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 workflowtcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
void removeAdministrators(long plWorkflowKey, long[] plGroupKeys) throws tcAPIException, tcAdminNotFoundException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException
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)tcAPIException
tcAdminNotFoundException
tcProcessNotFoundException
tcGroupNotFoundException
void removeAdministrator(long plWorkflowKey, long plGroupKey) throws tcAPIException, tcAdminNotFoundException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException
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)tcAPIException
tcAdminNotFoundException
tcProcessNotFoundException
tcGroupNotFoundException
void updateAdministrators(long plProcessKey, long[] plGroupKeys, boolean[] pbWrites, boolean[] pbDeletes) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException
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 workflowtcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
void updateAdministrator(long plWorkflowKey, long plGroupKey, boolean pbWrite, boolean pbDelete) throws tcAdminNotFoundException, tcAPIException, tcProcessNotFoundException, tcGroupNotFoundException, tcAPIException
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 workflowtcAdminNotFoundException
tcAPIException
tcProcessNotFoundException
tcGroupNotFoundException
java.util.Vector getUserAttributesForTrustedSourceReconMapping() throws tcAPIException, tcAPIException
tcAPIException
java.util.Vector getOrgAttributesForTrustedSourceReconMapping() throws tcAPIException, tcAPIException
tcAPIException
java.lang.String getColumnLength(java.lang.String psTable, java.lang.String psColName) throws tcAPIException, tcAPIException
tcAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |