Class RegistryReset

java.lang.Object
edu.internet2.middleware.grouper.registry.RegistryReset

public class RegistryReset extends Object
Perform low-level operations on the Groups Registry.

WARNING: Do not run the methods expose by this class against your Grouper installation unless you know what you are doing. It will delete data.

Version:
$Id: RegistryReset.java,v 1.13 2009-10-23 15:28:31 tzeller Exp $
  • Constructor Details

    • RegistryReset

      public RegistryReset()
  • Method Details

    • main

      public static void main(String[] args)
      Reset the Groups Registry.

      WARNING: This is a destructive act and will delete all groups, stems, members, memberships and subjects from your Groups Registry. Do not run this unless that is what you want.

       % java edu.internet2.middleware.grouper.RegistryReset
       
      Parameters:
      args -
    • reset

      public static void reset()
      Attempt to reset the Groups Registry to a pristine state.
    • reset

      public static void reset(boolean promptUser, boolean includeTypesAndFields)
      Attempt to reset the Groups Registry to a pristine state.
      Parameters:
      promptUser -
      includeTypesAndFields -
    • internal_addTestSubjects

      protected static void internal_addTestSubjects()
    • internal_resetRegistryAndAddTestSubjects

      public static void internal_resetRegistryAndAddTestSubjects()
    • internal_resetRegistryAndAddTestSubjects

      public static void internal_resetRegistryAndAddTestSubjects(boolean includeTypesAndFields)
      Parameters:
      includeTypesAndFields -
    • _addSubjects

      public void _addSubjects() throws GrouperException
      Throws:
      GrouperException
    • _addSubjects

      public static void _addSubjects(int start, int end) throws GrouperException
      Throws:
      GrouperException