int nn = 1;
for (DBObject film : filmDao.getFullList())
{
FilmShortView filmView = new FilmShortView();
filmView.setOid(film.get("_id").toString());
logger.debug("Film _id: {}", filmView.getOid());
filmView.setNn(nn);
filmView.setName(film.get("name").toString());
logger.debug("Film name: {}", filmView.getName());
filmView.setSecondName("");
if (film.get("second_name") != null)
{
filmView.setSecondName(film.get("second_name").toString());
logger.debug("Film second_name: {}", filmView.getSecondName());
}
filmsViews.add(filmView);
nn++;
}