Class CommentManager

All Implemented Interfaces:
Session

public class CommentManager extends AbstractHistoricManager
Author:
Tom Baeyens
  • Constructor Details

    • CommentManager

      public CommentManager()
  • Method Details

    • delete

      public void delete(DbEntity dbEntity)
      Overrides:
      delete in class AbstractManager
    • insert

      public void insert(DbEntity dbEntity)
      Overrides:
      insert in class AbstractManager
    • 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 DbOperation addRemovalTimeToCommentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize)
    • addRemovalTimeToCommentsByProcessInstanceId

      public DbOperation addRemovalTimeToCommentsByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize)
    • deleteCommentsByRemovalTime

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