Class CommentManager

    • Constructor Detail

      • CommentManager

        public CommentManager()
    • Method Detail

      • findCommentsByTaskId

        public List<Comment> findCommentsByTaskId​(String taskId)
      • findEventsByTaskId

        public List<Event> findEventsByTaskId​(String taskId)
      • deleteCommentsByTaskId

        public void deleteCommentsByTaskId​(String taskId)
      • deleteCommentsByProcessInstanceIds

        public void deleteCommentsByProcessInstanceIds​(List<String> processInstanceIds)
      • deleteCommentsByTaskProcessInstanceIds

        public void deleteCommentsByTaskProcessInstanceIds​(List<String> processInstanceIds)
      • deleteCommentsByTaskCaseInstanceIds

        public void deleteCommentsByTaskCaseInstanceIds​(List<String> caseInstanceIds)
      • deleteComments

        protected void deleteComments​(Map<String,​Object> parameters)
      • findCommentsByProcessInstanceId

        public List<Comment> findCommentsByProcessInstanceId​(String processInstanceId)
      • findCommentByTaskIdAndCommentId

        public CommentEntity findCommentByTaskIdAndCommentId​(String taskId,
                                                             String commentId)
      • addRemovalTimeToCommentsByRootProcessInstanceId

        public void addRemovalTimeToCommentsByRootProcessInstanceId​(String rootProcessInstanceId,
                                                                    Date removalTime)
      • addRemovalTimeToCommentsByProcessInstanceId

        public void addRemovalTimeToCommentsByProcessInstanceId​(String processInstanceId,
                                                                Date removalTime)
      • deleteCommentsByRemovalTime

        public DbOperation deleteCommentsByRemovalTime​(Date removalTime,
                                                       int minuteFrom,
                                                       int minuteTo,
                                                       int batchSize)