We're updating the issue view to help you get more done. 

Add methods for counting events that match specified criteria the AuditStore

Description

Add and implement a 'count' method for each 'get' method provided by the AuditStore:

1 2 3 4 5 6 7 8 9 long countEventsForEntity(@Nonnull DocumentReference entity, @Nullable String type); long countEventsForUser(@Nullable User user); long countEventsForUser(@Nullable User user, @Nullable String ip); long countEventsForUser(@Nullable User user, @Nullable String ip, @Nullable String type); long countEvents(@Nullable AuditEvent template, @Nullable Calendar fromTime, @Nullable Calendar toTime)

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Marta Girdea

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Priority

Medium