}
return allApprovedEntries;
}
public Interests getTopicInterests(Topic topic) {
Interests interests = new Interests(topic);
try {
User user;
for (Iterator x = iterator(); x.hasNext();) {
user = (User) x.next();
Interest interest = user.getInterest(topic);
if (interest != null) {
interests.add(interest);
}
}
} catch (ActionException e) {
log.error("Error in Users.getTopicInterests: " + e.getMessage());
}