Class SqlCacheMembershipHst
java.lang.Object
edu.internet2.middleware.grouper.sqlCache.SqlCacheMembershipHst
- All Implemented Interfaces:
GcDbVersionable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringwhen this membership ended col in dbstatic final Stringinternal id of the member of this group/liststatic final Stringrefers to which group and list this membership refers tostatic final Stringwhen this membership started col in dbstatic final Stringtable name for sql cache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()deep clone the fields in this objectvoiddb versionbooleanif we need to update this objectvoidtake a snapshot of the data since this is what is in the dbbooleanequalsDeep(Object obj) when this flattened membership endedinternal id of the member of this group/listrefers to which group and list this membership refers towhen this flattened membership startedvoidsetEndTime(Long endTime) when this flattened membership endedvoidsetMemberInternalId(Long memberInternalId) internal id of the member of this group/listvoidsetSqlCacheGroupInternalId(Long sqlCacheGroupInternalId) refers to which group and list this membership refers tovoidsetStartTime(Long startTime) when this flattened membership startedvoidtoString()
-
Field Details
-
TABLE_GROUPER_SQL_CACHE_MEMBERSHIP_HST
table name for sql cache- See Also:
-
COLUMN_END_TIME
when this membership ended col in db- See Also:
-
COLUMN_START_TIME
when this membership started col in db- 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
-
SqlCacheMembershipHst
public SqlCacheMembershipHst()
-
-
Method Details
-
dbVersionReset
public void dbVersionReset()take a snapshot of the data since this is what is in the db- Specified by:
dbVersionResetin interfaceGcDbVersionable
-
dbVersionDifferent
public boolean dbVersionDifferent()if we need to update this object- Specified by:
dbVersionDifferentin interfaceGcDbVersionable- Returns:
- if needs to update this object
-
getDbVersion
-
dbVersionDelete
public void dbVersionDelete()db version- Specified by:
dbVersionDeletein interfaceGcDbVersionable
-
storePrepare
public void storePrepare() -
clone
deep clone the fields in this object -
equalsDeep
-
getStartTime
when this flattened membership started- Returns:
-
setStartTime
when this flattened membership started- Parameters:
startTime-
-
getEndTime
when this flattened membership ended- Returns:
-
setEndTime
when this flattened membership ended- Parameters:
endTime-
-
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-
-
toString
-