Class MigrateLegacyAttributes

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

public class MigrateLegacyAttributes extends Object
  • Constructor Details

    • MigrateLegacyAttributes

      public MigrateLegacyAttributes()
  • Method Details

    • showResults

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

      public MigrateLegacyAttributes saveUpdates(boolean saveUpdates)
      Whether or not to actually save updates
      Parameters:
      saveUpdates -
      Returns:
      MigrateLegacyAttributes
    • logDetails

      public MigrateLegacyAttributes logDetails(boolean logDetails)
      Whether or not to log details
      Parameters:
      logDetails -
      Returns:
      MigrateLegacyAttributes
    • fullMigration

      public long fullMigration()
      Full migration
      Returns:
      number of objects migrated
    • migrateGroupTypes

      public long migrateGroupTypes()
      Migrate group types
      Returns:
      the number of group types migrated or would need migration
    • migrateAttributes

      public long migrateAttributes()
      Migrate attributes
      Returns:
      the number of attributes migrated or would need migration
    • migrateLists

      public long migrateLists()
      Migrate lists
      Returns:
      the number of custom lists migrated or would need migration
    • migrateGroupTypeAssignments

      public long migrateGroupTypeAssignments()
      Migrate group type assignments
      Returns:
      the number of group type assignments migrated or would need migration
    • migrateAttributeAssignments

      public long migrateAttributeAssignments()
      Migrate attribute assignments
      Returns:
      the number of attribute assignments migrated or would need migration