Package io.vertigo.social.comment
Interface CommentManager
- 
- All Superinterfaces:
- io.vertigo.core.node.component.Component,- io.vertigo.core.node.component.CoreComponent
 - All Known Implementing Classes:
- CommentManagerImpl
 
 public interface CommentManager extends io.vertigo.core.node.component.Component- Author:
- pchretien
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Comment>getComments(UID<? extends KeyConcept> keyConceptUID)Gets a list of sorted comments published on this keyConcept.voidpublish(UID<Account> accountUID, Comment comment, UID<? extends KeyConcept> keyConceptUID)Publishes a comment on a key concept.voidupdate(UID<Account> accountUID, Comment comment)Updates a comment.
 
- 
- 
- 
Method Detail- 
getCommentsList<Comment> getComments(UID<? extends KeyConcept> keyConceptUID) Gets a list of sorted comments published on this keyConcept.- Parameters:
- keyConceptUID- the UID of the keyConcept
- Returns:
- the list of sorted comments
 
 - 
publishvoid publish(UID<Account> accountUID, Comment comment, UID<? extends KeyConcept> keyConceptUID) Publishes a comment on a key concept.- Parameters:
- accountUID- the account defined by its UID
- comment- the comment
- keyConceptUID- the UID of the keyConcept
 
 
- 
 
-