public List<ContactInformationObject> getContactEntryList(
UniqueCourseObject uco) throws EntityNotFoundException {
Query q = new Query("Cache");
q.addFilter("courseKey", Query.FilterOperator.EQUAL,
getUniqueCourseEntity(uco).getKey());
Entity qe = datastore.prepare(q).asSingleEntity();
List<Entity> ceel = getContactEntryEntityList(qe.getKey());
List<ContactInformationObject> ciol = new ArrayList<ContactInformationObject>();
for (Iterator i = ceel.iterator(); i.hasNext();) {
Entity e = (Entity) i.next();
ciol.add(getContactInformation((Key) e.getProperty("contactKey")));
}
return ciol;
}