Class SyncPITTables

java.lang.Object
edu.internet2.middleware.grouper.misc.SyncPITTables

public class SyncPITTables extends Object
  • Constructor Details

    • SyncPITTables

      public SyncPITTables()
  • Method Details

    • showResults

      public SyncPITTables showResults(boolean showResults)
      Whether or not to print out results of what's being done. Defaults to true.
      Parameters:
      showResults -
      Returns:
      SyncPITTables
    • saveUpdates

      public SyncPITTables saveUpdates(boolean saveUpdates)
      Whether or not to actually save updates. Defaults to true.
      Parameters:
      saveUpdates -
      Returns:
      SyncPITTables
    • logDetails

      public SyncPITTables logDetails(boolean logDetails)
      Whether or not to log details. Defaults to true.
      Parameters:
      logDetails -
      Returns:
      SyncPITTables
    • createReport

      public SyncPITTables createReport(boolean createReport)
      Whether or not to create a report. Defaults to false.
      Parameters:
      createReport -
      Returns:
      SyncPITTables
    • sendFlattenedNotifications

      public SyncPITTables sendFlattenedNotifications(boolean sendNotifications)
      Deprecated.
      No longer applicable. Changes get sent to the temp change log.
      Parameters:
      sendNotifications -
      Returns:
      SyncPITTables
    • sendPermissionNotifications

      public SyncPITTables sendPermissionNotifications(boolean sendNotifications)
      Deprecated.
      No longer applicable. Changes get sent to the temp change log.
      Parameters:
      sendNotifications -
      Returns:
      SyncPITTables
    • syncAllPITTables

      public long syncAllPITTables()
      Sync all point in time tables
      Returns:
      the number of updates made
    • getDetailedOutput

      public String getDetailedOutput()
      Returns:
      detailed output of the sync
    • clearReport

      public void clearReport()
      clear report
    • processMissingActivePITMemberships

      public long processMissingActivePITMemberships()
      Add missing point in time memberships.
      Returns:
      the number of missing point in time memberships
    • processMissingActivePITAttributeAssigns

      public long processMissingActivePITAttributeAssigns()
      Add missing point in time attribute assign.
      Returns:
      the number of missing point in time attribute assigns
    • processMissingActivePITAttributeAssignValues

      public long processMissingActivePITAttributeAssignValues()
      Add missing point in time attribute assign values.
      Returns:
      the number of missing point in time attribute assign values
    • processMissingActivePITAttributeDefs

      public long processMissingActivePITAttributeDefs()
      Add missing point in time attribute defs.
      Returns:
      the number of missing point in time attribute defs
    • processMissingActivePITAttributeDefNames

      public long processMissingActivePITAttributeDefNames()
      Add missing point in time attribute def names.
      Returns:
      the number of missing point in time attribute def names
    • processMissingActivePITAttributeDefNameSets

      public long processMissingActivePITAttributeDefNameSets()
      Add missing point in time attribute def name sets.
      Returns:
      the number of missing point in time attribute def name sets
    • processMissingActivePITGroups

      public long processMissingActivePITGroups()
      Add missing point in time groups.
      Returns:
      the number of missing point in time groups
    • processMissingActivePITGroupSets

      public long processMissingActivePITGroupSets()
      Add missing point in time group sets.
      Returns:
      the number of missing point in time group sets
    • processMissingActivePITRoleSets

      public long processMissingActivePITRoleSets()
      Add missing point in time role sets.
      Returns:
      the number of missing point in time role sets
    • processMissingActivePITFields

      public long processMissingActivePITFields()
      Add missing point in time fields.
      Returns:
      the number of missing point in time fields
    • processMissingActivePITMembers

      public long processMissingActivePITMembers()
      Add missing point in time members.
      Returns:
      the number of missing point in time members
    • processMissingActivePITConfigs

      public long processMissingActivePITConfigs()
      Add missing point in time grouper configs.
      Returns:
      the number of missing point in time configs
    • processMissingActivePITStems

      public long processMissingActivePITStems()
      Add missing point in time stems.
      Returns:
      the number of missing point in time stems
    • processMissingActivePITAttributeAssignActions

      public long processMissingActivePITAttributeAssignActions()
      Add missing point in time actions.
      Returns:
      the number of missing point in time actions
    • processMissingActivePITAttributeAssignActionSets

      public long processMissingActivePITAttributeAssignActionSets()
      Add missing point in time action sets.
      Returns:
      the number of missing point in time action sets
    • processMissingInactivePITMemberships

      public long processMissingInactivePITMemberships()
      End point in time memberships that are currently active but should be inactive.
      Returns:
      the number of point in time memberships to end
    • processMissingInactivePITAttributeAssigns

      public long processMissingInactivePITAttributeAssigns()
      End point in time attribute assigns that are currently active but should be inactive.
      Returns:
      the number of point in time attribute assigns to end
    • processMissingInactivePITAttributeAssignValues

      public long processMissingInactivePITAttributeAssignValues()
      End point in time attribute assign values that are currently active but should be inactive.
      Returns:
      the number of point in time attribute assign values to end
    • processMissingInactivePITAttributeDefs

      public long processMissingInactivePITAttributeDefs()
      End point in time attribute defs that are currently active but should be inactive.
      Returns:
      the number of point in time attribute defs to end
    • processMissingInactivePITAttributeDefNames

      public long processMissingInactivePITAttributeDefNames()
      End point in time attribute def names that are currently active but should be inactive.
      Returns:
      the number of point in time attribute def names to end
    • processMissingInactivePITAttributeDefNameSets

      public long processMissingInactivePITAttributeDefNameSets()
      End point in time attribute def name sets that are currently active but should be inactive.
      Returns:
      the number of point in time attribute def name sets to end
    • processMissingInactivePITGroups

      public long processMissingInactivePITGroups()
      End point in time groups that are currently active but should be inactive.
      Returns:
      the number of point in time groups to end
    • processMissingInactivePITGroupSets

      public long processMissingInactivePITGroupSets()
      End point in time group sets that are currently active but should be inactive.
      Returns:
      the number of point in time group sets to end
    • processMissingInactivePITRoleSets

      public long processMissingInactivePITRoleSets()
      End point in time role sets that are currently active but should be inactive.
      Returns:
      the number of point in time role sets to end
    • processMissingInactivePITFields

      public long processMissingInactivePITFields()
      End point in time fields that are currently active but should be inactive.
      Returns:
      the number of point in time fields to end
    • processMissingInactivePITMembers

      public long processMissingInactivePITMembers()
      End point in time members that are currently active but should be inactive.
      Returns:
      the number of point in time members to end
    • processMissingInactivePITConfigs

      public long processMissingInactivePITConfigs()
      End point in time configs that are currently active but should be inactive.
      Returns:
      the number of point in time configs to end
    • processMissingInactivePITStems

      public long processMissingInactivePITStems()
      End point in time stems that are currently active but should be inactive.
      Returns:
      the number of point in time stems to end
    • processMissingInactivePITAttributeAssignActions

      public long processMissingInactivePITAttributeAssignActions()
      End point in time actions that are currently active but should be inactive.
      Returns:
      the number of point in time actions to end
    • processMissingInactivePITAttributeAssignActionSets

      public long processMissingInactivePITAttributeAssignActionSets()
      End point in time action sets that are currently active but should be inactive.
      Returns:
      the number of point in time action sets to end
    • processAllDuplicates

      public long processAllDuplicates()
      Find and delete active entries in point in time tables that are duplicates. This will keep the oldest entry based on the start time.
      Returns:
      number of duplicates
    • processDuplicates

      public long processDuplicates(GrouperDAO dao)
      Parameters:
      dao -
      Returns:
      number of duplicates
    • getOutput

      public String getOutput()
    • captureOutput

      public void captureOutput(boolean b)
    • getFullOutput

      public String getFullOutput()
      output and report
      Returns: