Enum Class LdapSyncSubtype

java.lang.Object
java.lang.Enum<LdapSyncSubtype>
edu.internet2.middleware.grouper.app.ldapProvisioning.LdapSyncSubtype
All Implemented Interfaces:
Serializable, Comparable<LdapSyncSubtype>, Constable

public enum LdapSyncSubtype extends Enum<LdapSyncSubtype>
type of table sync
  • Enum Constant Details

    • fullSyncFull

      public static final LdapSyncSubtype fullSyncFull
      full sync all columns
    • incrementalPrimaryKey

      public static final LdapSyncSubtype incrementalPrimaryKey
      get all incremental rows, which have the primary keys of rows that need updating
  • Method Details

    • values

      public static LdapSyncSubtype[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LdapSyncSubtype valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isFullSync

      public abstract boolean isFullSync()
      see if full sync
      Returns:
      true if full sync or false if incremental
    • valueOfIgnoreCase

      public static LdapSyncSubtype valueOfIgnoreCase(String string, boolean exceptionOnNull)
      do a case-insensitive matching
      Parameters:
      string -
      exceptionOnNull - will not allow null or blank entries
      Returns:
      the enum or null or exception if not found
    • retrieveData

      public abstract void retrieveData(Map<String,Object> debugMap, LdapSync gcTableSync)
      do the initial select query for the sync
      Parameters:
      debugMap - , gcTableSync
    • syncData

      public abstract Integer syncData(Map<String,Object> debugMap, LdapSync gcTableSync)
      do the initial compare step
      Parameters:
      debugMap - , gcTableSync
      Returns:
      records changed or null if not applicable