public final class CommentServicesImpl extends Object implements CommentServices
| Constructor and Description |
|---|
CommentServicesImpl(CommentPlugin commentsPlugin)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Comment> |
getComments(io.vertigo.dynamo.domain.model.UID<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
Gets a list of sorted comments published on this keyConcept.
|
void |
publish(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
Comment comment,
io.vertigo.dynamo.domain.model.UID<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
Publishes a comment on a key concept.
|
void |
update(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
Comment comment)
Updates a comment.
|
@Inject public CommentServicesImpl(CommentPlugin commentsPlugin)
commentsPlugin - Comment pluginpublic void publish(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
Comment comment,
io.vertigo.dynamo.domain.model.UID<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
publish in interface CommentServicesaccountURI - the account defined by its UIDcomment - the commentkeyConceptUri - the UID of the keyConceptpublic List<Comment> getComments(io.vertigo.dynamo.domain.model.UID<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
getComments in interface CommentServiceskeyConceptUri - the UID of the keyConceptpublic void update(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
Comment comment)
update in interface CommentServicesaccountURI - the account defined by its UIDcomment - the updated commentCopyright © 2019. All Rights Reserved.