com.bff.music
Interface PlaylistDAO
- All Known Implementing Classes:
- AbstractPlaylistDAO, PlaylistMPD
public interface PlaylistDAO
insertSong
boolean insertSong(Song song)
deleteSong
boolean deleteSong(Song song)
insertArtist
boolean insertArtist(java.lang.String artist)
insertAlbum
boolean insertAlbum(java.lang.String artist,
java.lang.String album)
removeArtist
boolean removeArtist(java.lang.String artist)
removeAlbum
boolean removeAlbum(java.lang.String artist,
java.lang.String album)
swapSongs
void swapSongs(Song song1,
Song song2)
listAllSongs
java.util.Collection listAllSongs()
getPlaylist
Playlist getPlaylist()
setPlaylist
void setPlaylist(Playlist playlist)
setRandom
void setRandom(boolean random)
isRandom
boolean isRandom()
setLoopPlaylist
void setLoopPlaylist(boolean loop)
appendPlaylist
boolean appendPlaylist(Playlist playlist)
replacePlaylist
boolean replacePlaylist(Playlist playlist)