Class SqlCacheMembership
java.lang.Object
edu.internet2.middleware.grouper.sqlCache.SqlCacheMembership
- All Implemented Interfaces:
GcDbVersionable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
when this member was last added to this group after they werent a member beforestatic final String
internal id of the member of this group/liststatic final String
refers to which group and list this membership refers tostatic final String
table name for sql cache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
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) when this member was last added to this group in microseconds after they werent a member beforeinternal id of the member of this group/listrefers to which group and list this membership refers tovoid
setFlattenedAddTimestamp
(Long flattenedAddTimestamp) when this member was last added to this group in microseconds after they werent a member beforevoid
setMemberInternalId
(Long memberInternalId) internal id of the member of this group/listvoid
setSqlCacheGroupInternalId
(Long sqlCacheGroupInternalId) refers to which group and list this membership refers tovoid
toString()
-
Field Details
-
TABLE_GROUPER_SQL_CACHE_MEMBERSHIP
table name for sql cache- See Also:
-
COLUMN_FLATTENED_ADD_TIMESTAMP
when this member was last added to this group after they werent a member before- See Also:
-
COLUMN_MEMBER_INTERNAL_ID
internal id of the member of this group/list- See Also:
-
COLUMN_SQL_CACHE_GROUP_INTERNAL_ID
refers to which group and list this membership refers to- See Also:
-
-
Constructor Details
-
SqlCacheMembership
public SqlCacheMembership()
-
-
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
-
storePrepare
public void storePrepare() -
clone
deep clone the fields in this object -
equalsDeep
-
getFlattenedAddTimestamp
when this member was last added to this group in microseconds after they werent a member before- Returns:
-
setFlattenedAddTimestamp
when this member was last added to this group in microseconds after they werent a member before- Parameters:
flattenedAddTimestamp
-
-
getMemberInternalId
internal id of the member of this group/list- Returns:
-
setMemberInternalId
internal id of the member of this group/list- Parameters:
memberInternalId
-
-
getSqlCacheGroupInternalId
refers to which group and list this membership refers to- Returns:
-
setSqlCacheGroupInternalId
refers to which group and list this membership refers to- Parameters:
sqlCacheGroupInternalId
-
-
getDbVersion
-
toString
-