Ejemplo n.º 1
0
  public List<ArtistWs2> getNextArtistListPage() {

    if (getArea() == null) return null;
    getIncludes().setArtists(true);
    if (artistBrowse == null) initBrowses();
    if (artistBrowse == null) return null;
    if (!hasMoreArtists()) return new ArrayList<ArtistWs2>();

    List<ArtistWs2> list = artistBrowse.getNextPage();

    for (ArtistWs2 rel : list) {
      getArea().addArtist(rel);
    }

    return list;
  }