Alert Audit Methods

Method Description
getAlertAudit Gets an AuditBase from the system.

If the audit ID is not found, a null is returned.

The user calling this method must have ViewAuditRight, AdministratorRight, or HelpDeskRight.

removeAlertAudit Removes an audit record from the system, and writes the entire audit record to the audit directory specified in the web.xml file.

The user calling this method must have DeleteAuditRight or AdministratorRight and not belong to a department.

removeAlertAuditsOlderThanDate Removes all audit records whose date created field is older than the date specified, and writes the entire audit records to the audit directory specified in the web.xml file.

The user calling this method must have DeleteAuditRight or AdministratorRight and not belong to a department.

removeAlertAuditsOlderThanDays Removes all audit records whose date created field is older than the number of days specified, and writes the entire audit records to the audit directory specified in the web.xml file.

The user calling this method must have DeleteAuditRight or AdministratorRight and not belong to a department.

retrieveAllAlertAudits Retrieves all audit records from the system as an array of AuditBases.

The last element of the array is null. If no AuditBases are found, an array of one element is returned with a value of null. This method returns 100 audits at a time, you must keep track of the last audit ID and the last auditFT ID returned if you want to get the next 100 audits. The first time you call this method, pass an empty string for lastFileId and lastAuditFTId.

If you do not want Internet Server audit records, set lastAuditId to null. If you do not want Platform Server audit records, set lastAuditFTId to null.

The user calling this method must have ViewAuditRight, AdministratorRight, or HelpDeskRight.

searchAlertAudits Retrieves all audit records that a match the search criteria specified in the AuditBase object.
Searches are only done on the following fields:
  • Audit Id
  • Local Transaction Id
  • Client File Name
  • Server File Name
  • Node Name
  • Transfer User Id
  • Transfer Status
  • From Date
  • To Date
  • Number Of Days
  • Department
Set the fields in the AuditBase object that you want to search on. All other fields will be ignored. You can set from one to all the fields. Use the percent sign (%) as a wildcard character. Put the From Date in the TransferStartTime member of the AuditBase object. Put the To Date in the TransferEndTime member of the AuditBase object. Put the Number Of Days in the NumberOfDays member of the AuditBase object.

The results are returned as an array of AuditBase objects. The last element of the array is null. If no audits are found, an array of one element is returned with a value of null. This method returns 100 audits at a time, you must keep track of the last audit ID returned and the last auditFT ID returned if you want to get the next 100 audits.

The first time you call this method, pass an empty string for lastAuditId and lastAuditFTId. If you do not want Internet Server audit records, set lastAuditId to null. If you do not want Platform Server audit records, set lastAuditFTId to null.

The user calling this method must have ViewAuditRight, AdministratorRight, or HelpDeskRight.