}
return ciol;
}
public List<SectionInformationObject> querySectionByPrefix(String deptId, String courseId, String prefix) {
Query q = new Query(SECTION_KIND);
q.addFilter(DEPARTMENT_ID_PROPERTY, FilterOperator.EQUAL, deptId);
q.addFilter(COURSE_ID_PROPERTY, FilterOperator.EQUAL, courseId);
q.addFilter(SECTION_ID_PROPERTY, FilterOperator.GREATER_THAN_OR_EQUAL, prefix);
q.addSort(DEPARTMENT_ID_PROPERTY, SortDirection.ASCENDING);
q.addSort(COURSE_ID_PROPERTY, SortDirection.ASCENDING);
q.addSort(SECTION_ID_PROPERTY, SortDirection.ASCENDING);
PreparedQuery pq = datastore.prepare(q);
List<Entity> results = pq.asList(FetchOptions.Builder.withLimit(10));
List<SectionInformationObject> siol = new ArrayList<SectionInformationObject>();
for(Iterator<Entity> i = results.iterator(); i.hasNext();){
Entity e = i.next();