edu.internet2.middleware.grouper.misc
Class MigrateLegacyAttributes

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

public class MigrateLegacyAttributes
extends Object

Author:
shilen

Constructor Summary
MigrateLegacyAttributes()
           
 
Method Summary
 long fullMigration()
          Full migration
 MigrateLegacyAttributes logDetails(boolean logDetails)
          Whether or not to log details
 long migrateAttributeAssignments()
          Migrate attribute assignments
 long migrateAttributes()
          Migrate attributes
 long migrateGroupTypeAssignments()
          Migrate group type assignments
 long migrateGroupTypes()
          Migrate group types
 long migrateLists()
          Migrate lists
 MigrateLegacyAttributes saveUpdates(boolean saveUpdates)
          Whether or not to actually save updates
 MigrateLegacyAttributes showResults(boolean showResults)
          Whether or not to print out results of what's being done
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrateLegacyAttributes

public MigrateLegacyAttributes()
Method Detail

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