Class RepositoryHousekeeping

java.lang.Object
ch.admin.bit.jeap.errorhandling.domain.housekeeping.RepositoryHousekeeping

@Component public class RepositoryHousekeeping extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • deleteErrorsOlderThan

      @Transactional(propagation=REQUIRES_NEW) public boolean deleteErrorsOlderThan(ZonedDateTime olderThan)
      Returns:
      true if there are more errors to delete, false otherwise
    • deleteCausingEventsWithoutRelatedErrors

      @Transactional(propagation=REQUIRES_NEW) public boolean deleteCausingEventsWithoutRelatedErrors()
      Returns:
      true if there are more causing events to delete, false otherwise
    • deleteErrorGroupsNotReferencedByAnyError

      @Transactional(propagation=REQUIRES_NEW) public boolean deleteErrorGroupsNotReferencedByAnyError()
      Returns:
      true if there are more error groups to delete, false otherwise