public List<ArtistWs2> getFirstArtistListPage() { if (getArea() == null) return null; getIncludes().setArtists(true); if (artistBrowse == null) initBrowses(); if (artistBrowse == null) return null; List<ArtistWs2> list = artistBrowse.getFirstPage(); for (ArtistWs2 rel : list) { getArea().addArtist(rel); } return list; }
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; }
public boolean hasMoreArtists() { if (getArea() == null) return true; if (artistBrowse == null) return true; return artistBrowse.hasMore(); }