com.bff.music
Interface SongDAO
- All Known Implementing Classes:
- SongDAOMPD
public interface SongDAO
listAllSongs
java.util.Collection<Song> listAllSongs()
throws java.lang.Exception
- Throws:
java.lang.Exception
listAllAlbums
java.util.Collection<java.lang.String> listAllAlbums()
throws java.lang.Exception
- Throws:
java.lang.Exception
listAllArtists
java.util.Collection<java.lang.String> listAllArtists()
throws java.lang.Exception
- Throws:
java.lang.Exception
listAllGenres
java.util.Collection<java.lang.String> listAllGenres()
throws java.lang.Exception
- Throws:
java.lang.Exception
listAllYears
java.util.Collection<java.lang.String> listAllYears()
throws java.lang.Exception
- Throws:
java.lang.Exception
listAlbumsByArtist
java.util.Collection<java.lang.String> listAlbumsByArtist(java.lang.String artist)
throws java.lang.Exception
- Throws:
java.lang.Exception
listSongsByArtist
java.util.Collection<Song> listSongsByArtist(java.lang.String artist)
throws java.lang.Exception
- Throws:
java.lang.Exception
listSongsByAlbum
java.util.Collection<Song> listSongsByAlbum(java.lang.String artist,
java.lang.String album)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchSongs
java.util.Collection<Song> searchSongs(Song songCriteria)
searchSongs
java.util.Collection<Song> searchSongs(Song songCriteria,
int startYear,
int endYear)
getSongCount
int getSongCount()
getArtistCount
int getArtistCount()
getAlbumCount
int getAlbumCount()
getPlaytime
long getPlaytime()
getLastUpdateTime
long getLastUpdateTime()