Class GcGrouperSyncDependencyGroupUser

java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcGrouperSyncDependencyGroupUser
All Implemented Interfaces:
GcDbVersionable, GcSqlAssignPrimaryKey

public class GcGrouperSyncDependencyGroupUser extends Object implements GcSqlAssignPrimaryKey, GcDbVersionable
tracks user dependencies on another group for provisioning attributes of a user
  • Field Details

    • TABLE_GROUPER_SYNC_DEP_GROUP_USER

      public static final String TABLE_GROUPER_SYNC_DEP_GROUP_USER
      table name
      See Also:
  • Constructor Details

    • GcGrouperSyncDependencyGroupUser

      public GcGrouperSyncDependencyGroupUser()
  • Method Details

    • dbVersionReset

      public void dbVersionReset()
      take a snapshot of the data since this is what is in the db
      Specified by:
      dbVersionReset in interface GcDbVersionable
    • dbVersionDifferent

      public boolean dbVersionDifferent()
      if we need to update this object
      Specified by:
      dbVersionDifferent in interface GcDbVersionable
      Returns:
      if needs to update this object
    • dbVersionDelete

      public void dbVersionDelete()
      db version
      Specified by:
      dbVersionDelete in interface GcDbVersionable
    • clone

      deep clone the fields in this object
      Overrides:
      clone in class Object
    • equalsDeep

      public boolean equalsDeep(Object obj)
    • assignIdIndexForInsert

      public GcGrouperSyncDependencyGroupUser assignIdIndexForInsert(Long theIdIndex)
      if getting id index in bulk and putting in object
      Parameters:
      theIdIndex -
      Returns:
    • getIdIndex

      public Long getIdIndex()
      primary key
      Returns:
    • setIdIndex

      public void setIdIndex(Long idIndex)
      primary key
      Parameters:
      idIndex -
    • getGroupId

      public String getGroupId()
      group uuid of the role group
      Returns:
    • setGroupId

      public void setGroupId(String groupId)
      group uuid of the role group
      Parameters:
      groupId -
    • getFieldId

      public String getFieldId()
      field uuid of the role field (members or a group priv)
      Returns:
    • setFieldId

      public void setFieldId(String fieldId)
      field uuid of the role field (members or a group priv)
      Parameters:
      fieldId -
    • reset

      public static void reset()
      delete all data if table is here
    • getGrouperSyncId

      public String getGrouperSyncId()
      foreign key to grouper_sync_group table
      Returns:
      group id
    • setGrouperSyncId

      public void setGrouperSyncId(String grouperSyncId1)
      foreign key to grouper_sync_group table
      Parameters:
      grouperSyncId1 -
    • getConnectionName

      public String getConnectionName()
      connection name or null for default
      Returns:
      connection name
    • setConnectionName

      public void setConnectionName(String connectionName1)
      connection name or null for default
      Parameters:
      connectionName1 -
    • gcSqlAssignNewPrimaryKeyForInsert

      public boolean gcSqlAssignNewPrimaryKeyForInsert()
      Description copied from interface: GcSqlAssignPrimaryKey
      assign a new primary key for insert. return true if assigned (insert) or false if not needed
      Specified by:
      gcSqlAssignNewPrimaryKeyForInsert in interface GcSqlAssignPrimaryKey
    • storePrepare

      public void storePrepare()
      prepare to store
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getGrouperSync

      public GcGrouperSync getGrouperSync()
      Returns:
      gc grouper sync
    • setGrouperSync

      public void setGrouperSync(GcGrouperSync gcGrouperSync)
      Parameters:
      gcGrouperSync -