edu.internet2.middleware.grouper.misc
Class SyncStemSets

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

public class SyncStemSets
extends Object

Author:
shilen

Constructor Summary
SyncStemSets()
           
 
Method Summary
 long addMissingSelfStemSets()
          Add missing self stem sets
 long fixExistingStemSets()
          Find issues with existing stem sets
 long fullSync()
          Full sync
 SyncStemSets logDetails(boolean logDetails)
          Whether or not to log details
 SyncStemSets saveUpdates(boolean saveUpdates)
          Whether or not to actually save updates
 SyncStemSets 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

SyncStemSets

public SyncStemSets()
Method Detail

showResults

public SyncStemSets showResults(boolean showResults)
Whether or not to print out results of what's being done

Parameters:
showResults -
Returns:
SyncStemSets

saveUpdates

public SyncStemSets saveUpdates(boolean saveUpdates)
Whether or not to actually save updates

Parameters:
saveUpdates -
Returns:
SyncStemSets

logDetails

public SyncStemSets logDetails(boolean logDetails)
Whether or not to log details

Parameters:
logDetails -
Returns:
SyncStemSets

fullSync

public long fullSync()
Full sync

Returns:
the number of stems with stemSet issues

fixExistingStemSets

public long fixExistingStemSets()
Find issues with existing stem sets

Returns:
the number of stems with stemSet issues

addMissingSelfStemSets

public long addMissingSelfStemSets()
Add missing self stem sets

Returns:
the number of stems with missing self stem sets