public class CommentServiceImpl extends CommonEngineServiceImpl<PlatformEngineConfiguration> implements CommentService
commandExecutor
configuration
Constructor and Description |
---|
CommentServiceImpl(PlatformEngineConfiguration platformEngineConfiguration) |
Modifier and Type | Method and Description |
---|---|
CommentBuilder |
createCommentBuilder() |
CommentQuery |
createCommentQuery() |
void |
deleteComment(String id) |
Comment |
findById(String id) |
List<Comment> |
findByScopeIdAndScopeType(String scopeId,
String scopeType) |
Comment |
updateComment(String commentId,
String content) |
getCommandExecutor, setCommandExecutor
getConfiguration
public CommentServiceImpl(PlatformEngineConfiguration platformEngineConfiguration)
public CommentQuery createCommentQuery()
createCommentQuery
in interface CommentService
public CommentBuilder createCommentBuilder()
createCommentBuilder
in interface CommentService
public Comment findById(String id)
findById
in interface CommentService
public List<Comment> findByScopeIdAndScopeType(String scopeId, String scopeType)
findByScopeIdAndScopeType
in interface CommentService
public Comment updateComment(String commentId, String content)
updateComment
in interface CommentService
public void deleteComment(String id)
deleteComment
in interface CommentService