// As we want the tag cloud to render differences between the authors, we give
// as different weight to each author by adding it a random # of times in the list
// We read the author names from the database
ArrayList<String> users = new ArrayList<String>();
View authorView = db.getView("AllContacts");
authorView.refresh();
try {
int maxAuthors = 15;
int nAuthor = 0;
ViewEntryCollection authorCol = authorView.getAllEntries();
for (ViewEntry e = authorCol.getFirstEntry(); e != null && nAuthor < maxAuthors; e = authorCol