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 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
when this row was createdlong
long
long
store the internal id to use when the db access stores the objectvoid
setCreatedOn
(Long createdOn) when this row was createdvoid
setDependencyTypeInternalId
(long dependencyTypeInternalId) void
setDependentInternalId
(long dependentInternalId) void
setOwnerInternalId
(long ownerInternalId) void
setTempInternalIdOnDeck
(Long tempInternalIdOnDeck) store the internal id to use when the db access stores the objectvoid
toString()
-
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:
dbVersionDelete
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
-
dbVersionReset
public void dbVersionReset()take a snapshot of the data since this is what is in the db- Specified by:
dbVersionReset
in 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:
gcSqlAssignNewPrimaryKeyForInsert
in interfaceGcSqlAssignPrimaryKey
-
storePrepare
public void storePrepare() -
toString
-
getInternalId
-