}
return ids;
}
private ActivityEntry getActivity(Set<String> fields, String uid, Map<String, Person> peopleById, String id) {
ActivityStreamsEntry entry = repository.get(id);
if (entry!=null){
if (entry.getUserId().equalsIgnoreCase(uid)) {
populatePersonObjects(entry, peopleById);
return filterFields(entry, fields);
}
}
return null;