}
private SearchResult<PageTemplate> getListFromDb(List<org.apache.rave.model.PageTemplate> fromDb) {
List<PageTemplate> converted = Lists.newArrayList();
for(org.apache.rave.model.PageTemplate template : fromDb) {
converted.add(new PageTemplate(template));
}
return new SearchResult<PageTemplate>(converted, converted.size());
}