Package com.github.hakko.musiccabinet.domain.model.music

Examples of com.github.hakko.musiccabinet.domain.model.music.Album


        String albumName = rs.getString(1);
        ai.setMediumImageUrl(rs.getString(2));
        ai.setLargeImageUrl(rs.getString(3));
        ai.setExtraLargeImageUrl(rs.getString(4));
        String artistName = rs.getString(5);
        ai.setAlbum(new Album(artistName, albumName));
        return ai;
      }
    });

    return albums;
View Full Code Here


          String albumName = rs.getString(1);
          ai.setMediumImageUrl(rs.getString(2));
          ai.setLargeImageUrl(rs.getString(3));
          ai.setExtraLargeImageUrl(rs.getString(4));
          int albumId = rs.getInt(5);
          ai.setAlbum(new Album(albumName));
          albumInfos.put(albumId, ai);
        }
      });
    } catch (DataAccessException e) {
      LOG.warn("Could not fetch album infos for paths " + paths + "!", e);
View Full Code Here

        + " order by a.id limit 3000";

    List<Album> albums = jdbcTemplate.query(sql, new RowMapper<Album>() {
      @Override
      public Album mapRow(ResultSet rs, int rowNum) throws SQLException {
        return new Album(rs.getString(1), rs.getString(2));
      }
    });

    return albums;
  }
View Full Code Here

TOP

Related Classes of com.github.hakko.musiccabinet.domain.model.music.Album

Copyright © 2018 www.massapicom. 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.