public interface AuditManager
Modifier and Type | Method and Description |
---|---|
PageResponse<AuditRecordEntity> |
getRecords(LimitedRequest limitedRequest,
Instant startDate,
Instant endDate,
boolean isSysAdmin,
String searchString)
Fetch AuditRecordEntities from the database according to some search criteria
|
com.atlassian.fugue.Option<AuditRecordEntity> |
storeRecord(AuditRecordEntity auditRecord)
Persist an
AuditRecordEntity to the database. |
com.atlassian.fugue.Option<AuditRecordEntity> storeRecord(AuditRecordEntity auditRecord)
AuditRecordEntity
to the database.auditRecord
- the record to storePageResponse<AuditRecordEntity> getRecords(LimitedRequest limitedRequest, Instant startDate, Instant endDate, boolean isSysAdmin, String searchString)
limitedRequest
- The pagination limits on this requeststartDate
- The earliest date to look back toendDate
- The latest date to look up toisSysAdmin
- Whether or not to include audit entries that were trigger by sysadmin userssearchString
- Filter audit entries based on this search string. Empty string or null indicates no filtering.Copyright © 2003–2017 Atlassian. All rights reserved.
View cookie preferences