|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SongSelector
| Method Summary | |
|---|---|
void |
addBandPlay(long bandid)
Informs the SongSelector that a song of a certain Band has been played. |
void |
addBandSkip(long bandid)
Informs the SongSelector that a song of a certain Band has been skipped. |
void |
addKeywordPlay(long keywordid)
Informs the SongSelector that a song of a certain Keyword has been played. |
void |
addKeywordSkip(long keywordid)
Informs the SongSelector that a song of a certain Keyword has been skipped. |
Song |
selectSong(java.util.List<Song> candidates,
LastPlayedContainer lpc,
IUser user)
Returns one Song, which is selected using the Advanced Random algorithm. |
| Method Detail |
|---|
Song selectSong(java.util.List<Song> candidates,
LastPlayedContainer lpc,
IUser user)
candidates - The list of Songs that are requested. If this parameter
is null, the result is null. If the set of candidates is empty the
result is null.lpc - The collection of the last songs playeduser - The User
void addBandPlay(long bandid)
bandid - void addBandSkip(long bandid)
bandid - void addKeywordPlay(long keywordid)
keywordid - void addKeywordSkip(long keywordid)
keywordid -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||