List<Project> researchers = applicationService
.getPaginateList(Project.class, sort,
"desc".equals(dir), page, pagesize);
LinkedList<ProjectDTO> objectList = new LinkedList<ProjectDTO>();
for(Project r : researchers) {
ProjectDTO rpd = new ProjectDTO();
rpd.setId(r.getId());
rpd.setUuid(r.getUuid());
rpd.setSourceID(r.getSourceID());
rpd.setTitle(r.getName());
rpd.setStatus(r.getStatus());
rpd.setGrant(r);
if((r.getId()).equals(id)) {
objectList.addFirst(rpd);
}
else {
objectList.add(rpd);