|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addProcessTaskInstance(long plTaskKey,
long plOrcKey)
Provides the ability to add/execute a task where the task's manual insert property is enabled. |
long |
createObjectInstanceWithObjectAndChildFormData(long plTargetKey,
long plObjectKey,
java.util.Map mhMap,
java.util.Map childMap)
Updates the details of a specified task instance. |
long |
createObjectInstanceWithObjectFormData(long plTargetKey,
long plObjectKey,
java.util.Map mhMap)
Creates resource instance along with the resource data. |
Thor.API.tcResultSet |
getApprovalProcessInformation(long plObjectInstanceKey)
Returns information about the approval process associated with an object instance in the system. |
Thor.API.tcResultSet |
getAssignedProvisioningTasks(long userKey,
java.util.Map attributeList,
java.lang.String[] statuses)
This method return a list of all the provisioning tasks (and their details) that are assigned to the given user or to the groups to which the user belongs to. |
int |
getNumberOfProvisioningTasksAssignedToUser(long userKey,
java.lang.String[] statuses)
This method returns the number of provisioning tasks are assigned to a given user based on the given statuses. |
Thor.API.tcResultSet |
getOrganizationProvisioningProcessInformation(long plObjectInstanceForOrganizationKey)
Returns information about the provisioning process associated with an object instance for an organization in the system. |
Thor.API.tcResultSet |
getProcessDetail(long plProcessInstanceKey)
Returns detailed task information about the process specified. |
java.util.Date |
getProvisioingProcessOfflinedDate(long processInstanceKey)
API to find out if a given provisioned instance for a user is in off-lined stage or not |
Thor.API.tcResultSet |
getProvisioningTaskDetails(long taskInstanceKey)
Returns information about the provisioning process task instance. |
Thor.API.tcResultSet |
getProvisioningTasksAssignedToManagedUsers(long userKey,
java.util.Map attributeList,
java.lang.String[] statuses)
This method returns a list of all the provisioning tasks (and their details) that are assigned to the users for whom the specified user is a manager of. |
Thor.API.tcResultSet |
getResponsesForInstanceTask(long instanceKey)
This method returns all the responses for a given a task instance. |
Thor.API.tcResultSet |
getUserProvisioningProcessInformation(long plObjectInstanceForUserKey)
Returns information about the provisioning process associated with an object instance for a user in the system. |
boolean |
isTaskUpdatable(long plTaskInstanceKey,
long plUserKey)
Verifies if the user has the permission to updates the details of a specified task instance. |
void |
reassignTasksToGroup(long[] taskInstanceKeys,
long groupKey)
This method re-assigns the selected provisioning tasks to the specified group. |
void |
reassignTasksToUser(long[] taskInstanceKeys,
long userKey)
This method re-assigns the selected tasks to the specified user. |
java.lang.String |
retryTask(long plTaskInstanceKey)
Provides the ability to re-execute a task if any of its prior executions have failed. |
java.util.Map |
retryTasks(long[] taskInstanceKeys)
This method provides the ability to re-execute the list of specified tasks if any of their prior executions have failed. |
void |
setTasksCompletedManually(long[] taskInstanceKeys)
This method provides the ability to set the task instance as manually completed given a list of specified tasks. |
void |
updateTask(long plTaskInstanceKey,
java.util.Map phAttributeList)
Updates the details of a specified task instance. |
| Method Detail |
public Thor.API.tcResultSet getUserProvisioningProcessInformation(long plObjectInstanceForUserKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcNotProvisionedException,
tcAPIException
plObjectInstanceForUserKey - The key of the object instance for a user in the system.
tcAPIException
tcNotProvisionedException
public Thor.API.tcResultSet getOrganizationProvisioningProcessInformation(long plObjectInstanceForOrganizationKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcNotProvisionedException,
tcAPIException
plObjectInstanceForOrganizationKey - The key of the object instance for an organization in the system.
tcAPIException
tcNotProvisionedException
public Thor.API.tcResultSet getApprovalProcessInformation(long plObjectInstanceKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcNoApprovalException,
tcAPIException
plObjectInstanceKey - The key of the object instance in the system.
tcAPIException
tcNoApprovalException
public Thor.API.tcResultSet getProcessDetail(long plProcessInstanceKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcNotAtomicProcessException,
tcAPIException
plProcessInstanceKey - The key of the process instance in the system.
tcAPIException
tcNotAtomicProcessException
public void addProcessTaskInstance(long plTaskKey,
long plOrcKey)
throws Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plTaskKey - The key of the process task defined in process definitionplOrcKey - The key of the process order instance
tcTaskNotFoundException - thrown when the task key passed is invalid
tcAPIException - thrown if any errors occur while adding the task instance
public java.lang.String retryTask(long plTaskInstanceKey)
throws Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plTaskInstanceKey - The key of the task instance to be re-executed
tcTaskNotFoundException
tcAPIException
public void updateTask(long plTaskInstanceKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcAwaitingObjectDataCompletionException,
Thor.API.Exceptions.tcAwaitingApprovalDataCompletionException,
tcAPIException
plTaskInstanceKey - The key of the task instance to be updatedphAttributeList - A Map of name-value pairs. The Map key should contain the following metadata codes: Map value should contain the respective update data.
tcTaskNotFoundException
tcAPIException
tcAwaitingObjectDataCompletionException
tcAwaitingApprovalDataCompletionException
public boolean isTaskUpdatable(long plTaskInstanceKey,
long plUserKey)
throws Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plTaskInstanceKey - The key of the task instance to be updatedplUserKey - The key of user whose permissions need to be checked.
tcTaskNotFoundException
tcAPIException
public Thor.API.tcResultSet getProvisioningTaskDetails(long taskInstanceKey)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
taskInstanceKey - The key of the task instance for a provisioning process.
tcAPIException
tcNotProvisionedException
public Thor.API.tcResultSet getAssignedProvisioningTasks(long userKey,
java.util.Map attributeList,
java.lang.String[] statuses)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcUserNotFoundException,
Thor.API.Exceptions.tcAttributeNotFoundException,
tcAPIException
userKey - User to get the assigned provisioning tasks.attributeList - List of attributes to filter the requested information.statuses - an array of status strings to filter the result set
tcAPIException - raise if a problem occurred in the API
tcUserNotFoundException - raise if the user is not valid
tcAttributeNotFoundException - raise if an attribute is not valid
public Thor.API.tcResultSet getProvisioningTasksAssignedToManagedUsers(long userKey,
java.util.Map attributeList,
java.lang.String[] statuses)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcUserNotFoundException,
Thor.API.Exceptions.tcAttributeNotFoundException,
tcAPIException
userKey - User to get the assigned provisioning tasks.attributeList - List of attributes to filter the requested information.statuses - an array of status strings to filter the result set
tcAPIException - raise if a problem occurred in the API
tcUserNotFoundException - raise if the user is not valid
tcAttributeNotFoundException - raise if an attribute is not valid
public void reassignTasksToUser(long[] taskInstanceKeys,
long userKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcUserNotFoundException,
Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
taskInstanceKeys - array of task instances that need to be re-assigneduserKey - the user key that all the task instance will re-assign to
tcAPIException - raise if a problem occurred when retrieving the information.
tcUserNotFoundException - raise if the user is not a valid user.
tcTaskNotFoundException - raise if one or more task are not valid.
tcBulkException - raise if a problem occurred on any of the re-assigments of the task instance.
public void reassignTasksToGroup(long[] taskInstanceKeys,
long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
taskInstanceKeys - array of task instances that need to be re-assignedgroupKey - the group key that all the task instance will re-assign to
tcAPIException - raise if a problem occurred when retrieving the information.
tcGroupNotFoundException - raise if the group is not a valid group.
tcTaskNotFoundException - raise if one or more task are not valid.
tcBulkException - raise if a problem occurred on any of the re-assigments of the task instance.
public java.util.Map retryTasks(long[] taskInstanceKeys)
throws Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcBulkException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
taskInstanceKeys - array of task instances to retry
tcTaskNotFoundException - raised if one or more task instances are not valid. isMessage will contain the list of invalid task instance keys separated by commas.
tcBulkException - raised if one or many task instance had errors retrying. getReturnValue() from this exception returns a Map of successfully retried tasks and isKeys is an array of task which retry caused problems.
tcAPIException - raise if a problem occurred when retrying the task.
public int getNumberOfProvisioningTasksAssignedToUser(long userKey,
java.lang.String[] statuses)
throws Thor.API.Exceptions.tcUserNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
userKey - The User Key of the user for whom to get the number of approval tasks.statuses - An array of statuses to filter the tasks by. If multiple statuses are specified, they are evaluated using the OR operator. If no status is specified then it looks for all tasks irrespective of status.
tcUserNotFoundException - raise if the user is not a valid user in the system.
tcAPIException - raise if there is a problem during the execution of the API.
public void setTasksCompletedManually(long[] taskInstanceKeys)
throws Thor.API.Exceptions.tcTaskNotFoundException,
Thor.API.Exceptions.tcBulkException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
taskInstanceKeys - array of task instances to retry
tcTaskNotFoundException - raised if one or more task instances are not valid. isMessage will contain the list of invalid task instance keys separated by commas.
tcBulkException - raised if one or many task instance had errors retrying.
tcAPIException - raise if a problem occurred when retrying the task.
public long createObjectInstanceWithObjectFormData(long plTargetKey,
long plObjectKey,
java.util.Map mhMap)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
plTargetKey - either user key or organization key.plObjectKey - resource instance key.mhMap - form data.
tcAPIException
public long createObjectInstanceWithObjectAndChildFormData(long plTargetKey,
long plObjectKey,
java.util.Map mhMap,
java.util.Map childMap)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
plTargetKey - either user key or organization key.plObjectKey - resource instance key.mhMap - parent form data.childMap - child form data.
tcAPIException
public Thor.API.tcResultSet getResponsesForInstanceTask(long instanceKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcTaskNotFoundException,
tcAPIException
instanceKey - the task instance
tcAPIException - raise if a problem is found.
tcTaskNotFoundException - raise if the task instance is not valid.
public java.util.Date getProvisioingProcessOfflinedDate(long processInstanceKey)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException, - if an error occurs while finding the off-lined stage of provisioned instance
Thor.API.Exceptions.tcAPIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||