// topicVersion.setAuthorDisplay(rs.getString("wiki_user_display"));
// return topicVersion;
// }
private RecentChange initRecentChange(RecentChangeEntity rs) {
RecentChange change = new RecentChange();
change.setTopicVersionId(rs.getTopicVersionId());
change.setPreviousTopicVersionId(rs.getPreviousTopicVersionId());
Key<Topic> topicId = rs.getTopicKey();
change.setTopicOKey(topicId);
Topic topic = rs.getTopicId();
change.setTopicName(topic.getName());
change.setCharactersChanged(rs.getCharactersChanged());
change.setChangeDate(rs.getChangeDate());
change.setChangeComment(rs.getChangeComment());
change.setAuthorId(rs.getAuthorId());
change.setAuthorName(rs.getAuthorName());
int editType = rs.getEditType();
if (editType > 0) {
change.setEditType(editType);
// change.initChangeWikiMessageForVersion(editType,
// .getString("log_params"));
}
// int logType = rs.getInt("log_type");
// if (logType > 0) {
// change.setLogType(logType);
// change.initChangeWikiMessageForLog(logType, rs.getString("log_params"));
// }
change.setVirtualWiki(topic.getVirtualWiki());
return change;
}