|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addAdministrators(long processDefKey,
com.thortech.xl.vo.AdminPermissions[] admins)
Add a list of groups to have administrative controls over a specified attestation process |
long |
createAttestationDefinition(com.thortech.xl.vo.AttestationProcessDefinition definition)
Creates a new Attestation Process |
void |
deleteAttestationDefinition(long processDefKey)
Deletes an attestation process definition |
void |
disableAttestationDefinition(long processDefKey)
Disables an enabled attestation process definition |
void |
enableAttestationDefinition(long processDefKey)
Enables a disabled attestation process definition |
Thor.API.tcResultSet |
findAttestationProcesses(java.util.Map attributes)
Returns a list of attestation processes that match the provided attributes list |
Thor.API.tcResultSet |
getAdministrators(long processDefKey)
Returns the list of administrators for a given attestation process. |
com.thortech.xl.vo.AttestationProcessDefinition |
getAttestationProcessDefinition(long processDefKey)
Returns the attestation process definition given a process definition key |
Thor.API.tcResultSet |
getUnassignedAdministrators(long processDefKey)
Returns the list of unassigned administrative groups for a given attestation process. |
void |
removeAdministrators(long processDefKey,
long[] adminGroupKeys)
Removes a list of groups from having administrative control over a specified attestation process |
void |
updateAdministrators(long processDefKey,
com.thortech.xl.vo.AdminPermissions[] admins)
Updates the administrative controls over a specified attestation process |
void |
updateAttestationDefinition(long processDefKey,
com.thortech.xl.vo.AttestationProcessDefinition definition)
Updates a given attestation process definition. |
| Method Detail |
public long createAttestationDefinition(com.thortech.xl.vo.AttestationProcessDefinition definition)
throws Thor.API.Exceptions.DuplicateAttestationProcessException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
DuplicateAttestationProcessException, - if a process with same name or code exists
tcAPIException, - If an error occurs while querying or saving the process data
Thor.API.Exceptions.DuplicateAttestationProcessException
Thor.API.Exceptions.tcAPIException
public void enableAttestationDefinition(long processDefKey)
throws Thor.API.Exceptions.tcInvalidPermissionsException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
tcInvalidPermissionsException, - If any non administrator users attempts to enable the process
tcAPIException, - If process is not Disabled or next start time is in the past
Thor.API.Exceptions.tcInvalidPermissionsException
Thor.API.Exceptions.tcAPIException
public void disableAttestationDefinition(long processDefKey)
throws Thor.API.Exceptions.tcInvalidPermissionsException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
processDefKey - Attestation Process that needs to be disabled
tcInvalidPermissionsException, - If any non administrator users attempts to disable the process
tcAPIException, - If process is not in Active status
Thor.API.Exceptions.tcInvalidPermissionsException
Thor.API.Exceptions.tcAPIException
public void deleteAttestationDefinition(long processDefKey)
throws Thor.API.Exceptions.tcInvalidPermissionsException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
processDefKey - Attestation Process that needs to be deleted
tcInvalidPermissionsException, - If any non administrator users attempts to delete the process
tcAPIException, - If process is already deleted
Thor.API.Exceptions.tcInvalidPermissionsException
Thor.API.Exceptions.tcAPIException
public Thor.API.tcResultSet getAdministrators(long processDefKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
tcAPIException
processDefKey - Attestation process definition key
tcResultSet that contains the following information: tcAPIException, - If an error occurs while getting the administrators
tcAttestationProcessNotFoundException, - if the specified process key does not exist in the system
Thor.API.Exceptions.tcAPIException
Thor.API.Exceptions.AttestationProcessNotFoundException
public Thor.API.tcResultSet getUnassignedAdministrators(long processDefKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
tcAPIException
processDefKey - Attestation process definition key
tcResultSet that contains the following information: tcAPIException, - If an error occurs while getting the administrators
tcAttestationProcessNotFoundException, - if the specified process key does not exist in the system
Thor.API.Exceptions.tcAPIException
Thor.API.Exceptions.AttestationProcessNotFoundException
public void addAdministrators(long processDefKey,
com.thortech.xl.vo.AdminPermissions[] admins)
throws Thor.API.Exceptions.tcBulkException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
tcBulkException
AttestationProcessNotFoundException, - if the specified attestation process does not exist
tcAdminNotFoundException, - if one or more administrators specified do not exist
tcAPIException, - if any errors occur while validating the process and administrators provided
Thor.API.Exceptions.AttestationProcessNotFoundException
Thor.API.Exceptions.tcAdminNotFoundException
Thor.API.Exceptions.tcAPIException
public void updateAdministrators(long processDefKey,
com.thortech.xl.vo.AdminPermissions[] admins)
throws Thor.API.Exceptions.tcBulkException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
tcBulkException
AttestationProcessNotFoundException, - if the specified attestation process does not exist
tcAdminNotFoundException, - if one or more administrators specified do not exist
tcAPIException, - if any errors occur while validating the process and administrators provided
Thor.API.Exceptions.AttestationProcessNotFoundException
Thor.API.Exceptions.tcAdminNotFoundException
Thor.API.Exceptions.tcAPIException
public void updateAttestationDefinition(long processDefKey,
com.thortech.xl.vo.AttestationProcessDefinition definition)
throws Thor.API.Exceptions.DuplicateAttestationProcessException,
Thor.API.Exceptions.tcInvalidPermissionsException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
tcAPIException
DuplicateAttestationProcessException, - If any other attestation process has the same process name or code
tcInvalidPermissionsException, - If user calling the API does not belong to the administrative group of the process
tcAPIException, - If an error occurs while querying or saving the process data or attepmting to change start time after process is instantiated
AttestationProcessNotFoundException, - if the provided process definition key does not exists
Thor.API.Exceptions.DuplicateAttestationProcessException
Thor.API.Exceptions.tcInvalidPermissionsException
Thor.API.Exceptions.tcAPIException
Thor.API.Exceptions.AttestationProcessNotFoundException
public void removeAdministrators(long processDefKey,
long[] adminGroupKeys)
throws Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
processDefKey - - The key of the Attestation processadminGroupKeys - - The keys of the admin groups
tcAdminNotFoundException - thrown if one or many adminGroupKeys do not exist
AttestationProcessNotFoundException - thrown if processDefKey does not exist
tcAPIException - thrown if data set errors occur OR while deleting OR Group key doesn't correspond to Administrator Group keys
tcBulkException - DOCUMENT ME!
public Thor.API.tcResultSet findAttestationProcesses(java.util.Map attributes)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
attributes - A Map of attribute-value pairs with each entry containing criteria to find attestation processes. The Map key should contain a String representation of the metadata codes. The Map value can contain a String representation of the criteria to find the desired requests. Note that the Map values can include wild cards(*). tcResultSet that contains the following information: tcAPIException, - If an error occurs while querying the process data
Thor.API.Exceptions.tcAPIException
public com.thortech.xl.vo.AttestationProcessDefinition getAttestationProcessDefinition(long processDefKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.AttestationProcessNotFoundException,
tcAPIException
tcAPIException, - If an error occurs while retrieving the data
AttestationProcessNotFoundException, - if the specified process definition key does not exists
Thor.API.Exceptions.tcAPIException
Thor.API.Exceptions.AttestationProcessNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||