@org.osgi.annotation.versioning.ProviderType interface AuditService
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract AuditRecord |
createAuditRecord(RunScriptResponse response)Create an audit record for the given script execution response. |
|
abstract void |
deleteAllAuditRecords(String userId)Delete all audit records. |
|
abstract void |
deleteAuditRecord(String userId, String relativePath)Delete an audit record. |
|
abstract List<AuditRecord> |
getAllAuditRecords(String userId)Get all audit records. |
|
abstract List<AuditRecord> |
getAllScheduledJobAuditRecords()Get all audit records for scheduled jobs. |
|
abstract AuditRecord |
getAuditRecord(String jobId)Get the audit record for the given job ID. |
|
abstract AuditRecord |
getAuditRecord(String userId, String relativePath)Get the audit record at the given relative path. |
|
abstract List<AuditRecord> |
getAuditRecords(String userId, Calendar startDate, Calendar endDate)Get a list of audit records for the given date range. |
|
abstract List<AuditRecord> |
getScheduledJobAuditRecords(Calendar startDate, Calendar endDate)Get a list of scheduled job audit records for the given date range. |
Create an audit record for the given script execution response.
response - response containing execution result or exceptionDelete all audit records.
userId - user that owns the audit recordsDelete an audit record.
userId - user that owns the audit recordrelativePath - relative path to audit record from parent audit resourceGet all audit records.
userId - user that owns the audit recordsGet all audit records for scheduled jobs.
Get the audit record for the given job ID.
jobId - Sling-generated ID for the jobGet the audit record at the given relative path.
userId - user that owns the audit recordrelativePath - relative path to audit record from parent audit nodeGet a list of audit records for the given date range.
userId - user that owns the audit recordsstartDate - start dateendDate - end dateGet a list of scheduled job audit records for the given date range.
startDate - start dateendDate - end date