|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.varienaja.comments.CommentService
public class CommentService
Service that is used for getting/processing Comments for Bands, Playlists, etc..
| Constructor Summary | |
|---|---|
CommentService()
|
|
| Method Summary | |
|---|---|
protected void |
enhanceComment(Comment review,
Playlist playlist)
Uses the information of the Playlist to enhance its Reviews. |
java.util.Set<Comment> |
getComments(Band band)
Gets the Comments for a certain Band. |
java.util.Set<Comment> |
getComments(Playlist playlist)
Gets the Comments for a certain Playlist. |
Dao |
getDao()
|
boolean |
refreshComments(Playlist playlist)
Refreshes the Comments for a Playlist. |
void |
setDao(Dao dao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommentService()
| Method Detail |
|---|
public void setDao(Dao dao)
public Dao getDao()
public java.util.Set<Comment> getComments(Playlist playlist)
playlist - The Playlist to get Comments for.
public java.util.Set<Comment> getComments(Band band)
band - The Band to get Comments for.
public boolean refreshComments(Playlist playlist)
playlist - The Playlist to refresh the Comments for.
protected void enhanceComment(Comment review,
Playlist playlist)
review - A Reviewplaylist - The playist we're enhancing reviews for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||