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.URI<? 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.URI<io.vertigo.account.identity.Account> accountURI,
Comment comment,
io.vertigo.dynamo.domain.model.URI<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
Publishes a comment on a key concept.
|
void |
update(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI,
Comment comment)
Updates a comment.
|
@Inject public CommentServicesImpl(CommentPlugin commentsPlugin)
commentsPlugin - Comment pluginpublic void publish(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI,
Comment comment,
io.vertigo.dynamo.domain.model.URI<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
publish in interface CommentServicesaccountURI - the account defined by its URIcomment - the commentkeyConceptUri - the URI of the keyConceptpublic List<Comment> getComments(io.vertigo.dynamo.domain.model.URI<? extends io.vertigo.dynamo.domain.model.KeyConcept> keyConceptUri)
getComments in interface CommentServiceskeyConceptUri - the URI of the keyConceptpublic void update(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI,
Comment comment)
update in interface CommentServicesaccountURI - the account defined by its URIcomment - the updated commentCopyright © 2017. All Rights Reserved.