Examples of FilmShortView


Examples of su.mauser.view.FilmShortView

    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++;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.