Class SqlCacheDependency
java.lang.Object
edu.internet2.middleware.grouper.sqlCache.SqlCacheDependency
- All Implemented Interfaces:
GcDbVersionable,GcSqlAssignPrimaryKey
-
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) booleanwhen this row was createdlonglonglongstore the internal id to use when the db access stores the objectvoidsetCreatedOn(Long createdOn) when this row was createdvoidsetDependencyTypeInternalId(long dependencyTypeInternalId) voidsetDependentInternalId(long dependentInternalId) voidsetOwnerInternalId(long ownerInternalId) voidsetTempInternalIdOnDeck(Long tempInternalIdOnDeck) store the internal id to use when the db access stores the objectvoidtoString()
-
Constructor Details
-
SqlCacheDependency
public SqlCacheDependency()
-
-
Method Details
-
getOwnerInternalId
public long getOwnerInternalId() -
setOwnerInternalId
public void setOwnerInternalId(long ownerInternalId) -
getDependentInternalId
public long getDependentInternalId() -
setDependentInternalId
public void setDependentInternalId(long dependentInternalId) -
getDependencyTypeInternalId
public long getDependencyTypeInternalId() -
setDependencyTypeInternalId
public void setDependencyTypeInternalId(long dependencyTypeInternalId) -
getCreatedOn
when this row was created- Returns:
-
setCreatedOn
when this row was created- Parameters:
createdOn-
-
getDbVersion
-
clone
deep clone the fields in this object -
dbVersionDelete
public void dbVersionDelete()db version- Specified by:
dbVersionDeletein interfaceGcDbVersionable
-
dbVersionDifferent
public boolean dbVersionDifferent()if we need to update this object- Specified by:
dbVersionDifferentin interfaceGcDbVersionable- Returns:
- if needs to update this object
-
dbVersionReset
public void dbVersionReset()take a snapshot of the data since this is what is in the db- Specified by:
dbVersionResetin interfaceGcDbVersionable
-
getTempInternalIdOnDeck
store the internal id to use when the db access stores the object- Returns:
-
setTempInternalIdOnDeck
store the internal id to use when the db access stores the object- Parameters:
tempInternalIdOnDeck-
-
equalsDeep
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()- Specified by:
gcSqlAssignNewPrimaryKeyForInsertin interfaceGcSqlAssignPrimaryKey
-
storePrepare
public void storePrepare() -
toString
-
getInternalId
-