public interface CommentService extends BaseFinder<Comment,Long>
Modifier and Type | Method and Description |
---|---|
Long |
createComment(Comment comment)
Tworzy komentarz z wywołaniem eventów
|
Long |
createComment(Comment comment,
boolean fireEvent)
Tworzy komentarz
|
void |
deleteById(Long commentId)
Usuwa komentarz o podanym id
|
List<Comment> |
getCommentsForActivity(String activityId)
Pobiera komentarze dla konkretnego zadania
|
List<Comment> |
getCommentsForProcess(String processId)
Pobiera wszystkie komentarze dla procesu
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult
List<Comment> getCommentsForProcess(String processId)
processId
- Id procesuvoid deleteById(Long commentId)
commentId
- Id komentarzaList<Comment> getCommentsForActivity(String activityId)
activityId
- Id zadaniaLong createComment(Comment comment)
comment
- Definicja komentarzaCopyright © 2019 Suncode. All rights reserved.