Class GrouperDaemonDeleteOldRecords

java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
edu.internet2.middleware.grouper.app.loader.GrouperDaemonDeleteOldRecords
All Implemented Interfaces:
org.quartz.Job

public class GrouperDaemonDeleteOldRecords extends OtherJobBase
  • Field Details

  • Constructor Details

    • GrouperDaemonDeleteOldRecords

      public GrouperDaemonDeleteOldRecords()
  • Method Details

    • run

      Description copied from class: OtherJobBase
      implement this method for the logic of the OtherJob
      Specified by:
      run in class OtherJobBase
      Returns:
      the output
    • maintenanceDeleteOldRecords

      public static void maintenanceDeleteOldRecords(Hib3GrouperLoaderLog hib3GrouploaderLog)
      Parameters:
      hib3GrouploaderLog -
    • deleteOldAuditEntryNoLoggedInUser

      public static long deleteOldAuditEntryNoLoggedInUser()
      Returns:
      records deleted
    • deleteOldAuditEntryNoLoggedInUser

      public static long deleteOldAuditEntryNoLoggedInUser(StringBuilder jobMessage)
      Parameters:
      jobMessage -
      Returns:
      recordsDeleted
    • deleteOldDeletedPointInTimeObjects

      public static long deleteOldDeletedPointInTimeObjects(StringBuilder jobMessage, int daysToKeepLogs)
      Parameters:
      jobMessage -
      daysToKeepLogs -
      Returns:
      records deleted
    • deleteOldAuditEntryNoLoggedInUser

      public static long deleteOldAuditEntryNoLoggedInUser(int daysToKeepLogs)
      Parameters:
      daysToKeepLogs -
      Returns:
      records deleted
    • deleteOldAuditEntryNoLoggedInUser

      public static long deleteOldAuditEntryNoLoggedInUser(StringBuilder jobMessage, int daysToKeepLogs)
      Parameters:
      jobMessage -
      daysToKeepLogs -
      Returns:
      records deleted
    • deleteOldAuditEntry

      public static long deleteOldAuditEntry()
      Returns:
      records deleted
    • deleteOldAuditEntry

      public static long deleteOldAuditEntry(int daysToKeepLogs)
      Parameters:
      daysToKeepLogs -
      Returns:
      records deleted
    • deleteOldAuditEntry

      public static long deleteOldAuditEntry(StringBuilder jobMessage)
      Parameters:
      jobMessage -
      Returns:
      recordsDeleted
    • deleteOldAuditEntry

      public static long deleteOldAuditEntry(StringBuilder jobMessage, int daysToKeepLogs)
      Parameters:
      jobMessage -
      daysToKeepLogs -
      Returns:
      records deleted
    • deleteOldDeletedPointInTimeObjects

      public static long deleteOldDeletedPointInTimeObjects()
      Returns:
      records deleted
    • deleteOldDeletedPointInTimeObjects

      public static long deleteOldDeletedPointInTimeObjects(int daysToKeepLogs)
      Parameters:
      daysToKeepLogs -
      Returns:
      records deleted
    • deleteOldDeletedPointInTimeObjects

      public static long deleteOldDeletedPointInTimeObjects(StringBuilder jobMessage)
      Parameters:
      jobMessage -
      Returns:
      recordsDeleted
    • obliterateOldStemsDirectlyInStem

      public static long obliterateOldStemsDirectlyInStem()
      Returns:
      records deleted
    • obliterateOldStemsDirectlyInStem

      public static long obliterateOldStemsDirectlyInStem(Set<GrouperDaemonDeleteOldRecords.DeleteOldStems> deleteOldStems)
      Parameters:
      deleteOldStems -
      Returns:
      records deleted
    • obliterateOldStemsDirectlyInStem

      public static long obliterateOldStemsDirectlyInStem(StringBuilder jobMessage, boolean[] error)
      Parameters:
      jobMessage -
      error -
      Returns:
      recordsDeleted
    • obliterateOldStemsDirectlyInStem

      public static long obliterateOldStemsDirectlyInStem(StringBuilder jobMessage, Set<GrouperDaemonDeleteOldRecords.DeleteOldStems> deleteOldStemsSet)
      Parameters:
      jobMessage -
      deleteOldStemsSet -
      Returns:
      records deleted
    • obliterateOldStemsDirectlyInStem

      public static long obliterateOldStemsDirectlyInStem(StringBuilder jobMessage, Set<GrouperDaemonDeleteOldRecords.DeleteOldStems> deleteOldStemsSet, boolean[] error)
      Parameters:
      jobMessage -
      deleteOldStemsSet -
      error - put if error if something there
      Returns:
      folders deleted
    • verifyTableIdIndexes

      public static void verifyTableIdIndexes(StringBuilder jobMessage)
      verify that table id indexes