/** * Get the latest numResults entity audit events in decreasing order of timestamp for the given entity id * @param entityId entity id * @param numResults number of results to be returned * @return list of audit events for the entity id * @throws AtlasServiceException */ public List<EntityAuditEvent> getEntityAuditEvents(String entityId, short numResults) throws AtlasServiceException { return getEntityAuditEvents(entityId, null, numResults); }
/** * Get the latest numResults entity audit events in decreasing order of timestamp for the given entity id * @param entityId entity id * @param numResults number of results to be returned * @return list of audit events for the entity id * @throws AtlasServiceException */ public List<EntityAuditEvent> getEntityAuditEvents(String entityId, short numResults) throws AtlasServiceException { return getEntityAuditEvents(entityId, null, numResults); }
/** * Get the latest numResults entity audit events in decreasing order of timestamp for the given entity id * @param entityId entity id * @param numResults number of results to be returned * @return list of audit events for the entity id * @throws AtlasServiceException */ public List<EntityAuditEvent> getEntityAuditEvents(String entityId, short numResults) throws AtlasServiceException { return getEntityAuditEvents(entityId, null, numResults); }