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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignIdIndexForInsert
(Long theIdIndex) if getting id index in bulk and putting in objectclone()
deep clone the fields in this objectvoid
db versionboolean
if we need to update this objectvoid
take a snapshot of the data since this is what is in the dbboolean
equalsDeep
(Object obj) boolean
assign a new primary key for insert.connection name or null for defaultfield uuid of the role field (members or a group priv)foreign key to grouper_sync_group tablegroup uuid of the role groupprimary keystatic void
reset()
delete all data if table is herevoid
setConnectionName
(String connectionName1) connection name or null for defaultvoid
setFieldId
(String fieldId) field uuid of the role field (members or a group priv)void
setGrouperSync
(GcGrouperSync gcGrouperSync) void
setGrouperSyncId
(String grouperSyncId1) foreign key to grouper_sync_group tablevoid
setGroupId
(String groupId) group uuid of the role groupvoid
setIdIndex
(Long idIndex) primary keyvoid
prepare to storetoString()
-
Field Details
-
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 interfaceGcDbVersionable
-
dbVersionDifferent
public boolean dbVersionDifferent()if we need to update this object- Specified by:
dbVersionDifferent
in interfaceGcDbVersionable
- Returns:
- if needs to update this object
-
dbVersionDelete
public void dbVersionDelete()db version- Specified by:
dbVersionDelete
in interfaceGcDbVersionable
-
clone
deep clone the fields in this object -
equalsDeep
-
assignIdIndexForInsert
if getting id index in bulk and putting in object- Parameters:
theIdIndex
-- Returns:
-
getIdIndex
primary key- Returns:
-
setIdIndex
primary key- Parameters:
idIndex
-
-
getGroupId
group uuid of the role group- Returns:
-
setGroupId
group uuid of the role group- Parameters:
groupId
-
-
getFieldId
field uuid of the role field (members or a group priv)- Returns:
-
setFieldId
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
foreign key to grouper_sync_group table- Returns:
- group id
-
setGrouperSyncId
foreign key to grouper_sync_group table- Parameters:
grouperSyncId1
-
-
getConnectionName
connection name or null for default- Returns:
- connection name
-
setConnectionName
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 interfaceGcSqlAssignPrimaryKey
-
storePrepare
public void storePrepare()prepare to store -
toString
-
getGrouperSync
- Returns:
- gc grouper sync
-
setGrouperSync
- Parameters:
gcGrouperSync
-
-