try {
RecordsData recordsData = new RecordsData();
dao.fillLastUpdatedTopicList(user, recordsData, lform.getBlock());
Iterator it = recordsData.getRecords().iterator();
while (it.hasNext()) {
NewTopic nt = (NewTopic) it.next();
Message mess = nt.getLastMessage();