com.bff.music
Interface PlaylistDAO

All Known Implementing Classes:
AbstractPlaylistDAO, PlaylistMPD

public interface PlaylistDAO


Method Summary
 boolean appendPlaylist(Playlist playlist)
           
 boolean deleteSong(Song song)
           
 Playlist getPlaylist()
           
 boolean insertAlbum(java.lang.String artist, java.lang.String album)
           
 boolean insertArtist(java.lang.String artist)
           
 boolean insertSong(Song song)
           
 boolean isRandom()
           
 java.util.Collection listAllSongs()
           
 boolean removeAlbum(java.lang.String artist, java.lang.String album)
           
 boolean removeArtist(java.lang.String artist)
           
 boolean replacePlaylist(Playlist playlist)
           
 void setLoopPlaylist(boolean loop)
           
 void setPlaylist(Playlist playlist)
           
 void setRandom(boolean random)
           
 void swapSongs(Song song1, Song song2)
           
 

Method Detail

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)