public interface AuditService
| Modifier and Type | Method and Description |
|---|---|
AuditLogConfiguration |
getConfiguration()
Returns current auditing configuration
|
boolean |
isEnabled() |
void |
saveAudit(AuditLogChangeset changeset)
Persists an audit log changeset and all of its entries.
|
void |
saveConfiguration(AuditLogConfiguration auditLogConfiguration)
Sets the new configuration for auditing
|
List<AuditLogChangeset> |
searchAuditLog(EntityQuery<AuditLogChangeset> query)
Queries the audit log.
|
void saveAudit(AuditLogChangeset changeset)
changeset - the changeset that will be persistedList<AuditLogChangeset> searchAuditLog(EntityQuery<AuditLogChangeset> query)
List of AuditLogChangesets, which match the criteria specified in
the query. The results will be sorted according to the column and order specified in the query.query - the search queryboolean isEnabled()
void saveConfiguration(AuditLogConfiguration auditLogConfiguration)
auditLogConfiguration - new configurationAuditLogConfiguration getConfiguration()
Copyright © 2018 Atlassian. All rights reserved.