|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ExperimentalApi public interface AuditingService
Service for managing auditing records
Method Summary | |
---|---|
ServiceOutcome<Records> |
getRecords(ApplicationUser user,
Integer offset,
Integer maxResults,
AuditingFilter filter)
|
Long |
getTotalNumberOfRecords()
Returns total number of audit records |
ErrorCollection |
storeRecord(ApplicationUser user,
String category,
String summary,
AssociatedItem objectItem,
Iterable<ChangedValue> values,
Iterable<AssociatedItem> associatedItems)
Store record in Auditing |
Method Detail |
---|
@Nonnull ServiceOutcome<Records> getRecords(@Nonnull ApplicationUser user, @Nullable Integer offset, @Nullable Integer maxResults, @Nullable AuditingFilter filter)
user
- authenticated user that has permission to get recordsoffset
- the offset from which search startsmaxResults
- maximum number of returned resultsfilter
- defines how records should be filtered out before being returned, if null records will not be filtered
@Nonnull ErrorCollection storeRecord(@Nullable ApplicationUser user, @Nullable String category, @Nullable String summary, @Nullable AssociatedItem objectItem, @Nullable Iterable<ChangedValue> values, @Nullable Iterable<AssociatedItem> associatedItems)
associatedItems
- @return@Nonnull Long getTotalNumberOfRecords()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |