public interface AuditLogDao extends BambooObjectDao<AuditLogEntry>
AuditLogEntry
objects to and from
the AUDIT_LOG
table.Modifier and Type | Method and Description |
---|---|
long |
countAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate)
Retrieve the number of audit log messages recorded against the specified plan between the
startDate and endDate (inclusive).
|
void |
deleteAllAuditLogMessages() |
Collection<? extends AuditLogEntry> |
findAll() |
List<AuditLogEntry> |
getAgentAuditLogsMessagesByAgentName(String agentName) |
List<AuditLogEntry> |
getAuditLogMessagesForPlan(ImmutablePlan plan) |
List<AuditLogEntry> |
getAuditLogMessagesForPlan(ImmutablePlan plan,
long startDate,
long endDate) |
List<AuditLogEntry> |
getGlobalAuditLogMessages() |
long |
scrollAuditLogsForExport(Consumer<AuditLogEntry> consumer)
Scroll through all AuditLogEntry records and pass them to consumer
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
List<AuditLogEntry> getAuditLogMessagesForPlan(ImmutablePlan plan)
List<AuditLogEntry> getAuditLogMessagesForPlan(ImmutablePlan plan, long startDate, long endDate)
long countAuditLogMessagesForPlan(@NotNull ImmutablePlan plan, long startDate, long endDate)
getAuditLogMessagesForPlan(ImmutablePlan, long, long)
.startDate
- only messages at or after this time will be retrieved. Represented as milliseconds
after January 1, 1970 00:00:00 GMT. Passing 0 or a negative number will not set a start range.endDate
- only messages at or before this time will be retrieved. Represented as milliseconds
after January 1, 1970 00:00:00 GMT. Passing 0 or a negative number will not set an end range.List<AuditLogEntry> getGlobalAuditLogMessages()
void deleteAllAuditLogMessages()
@NotNull Collection<? extends AuditLogEntry> findAll()
List<AuditLogEntry> getAgentAuditLogsMessagesByAgentName(String agentName)
long scrollAuditLogsForExport(Consumer<AuditLogEntry> consumer)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.