Class MigrateLegacyAttributes
java.lang.Object
edu.internet2.middleware.grouper.misc.MigrateLegacyAttributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Full migrationlogDetails
(boolean logDetails) Whether or not to log detailslong
Migrate attribute assignmentslong
Migrate attributeslong
Migrate group type assignmentslong
Migrate group typeslong
Migrate listssaveUpdates
(boolean saveUpdates) Whether or not to actually save updatesshowResults
(boolean showResults) Whether or not to print out results of what's being done
-
Constructor Details
-
MigrateLegacyAttributes
public MigrateLegacyAttributes()
-
-
Method Details
-
showResults
Whether or not to print out results of what's being done- Parameters:
showResults
-- Returns:
- MigrateLegacyAttributes
-
saveUpdates
Whether or not to actually save updates- Parameters:
saveUpdates
-- Returns:
- MigrateLegacyAttributes
-
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
-