Class GrouperDataRow
java.lang.Object
edu.internet2.middleware.grouper.dataField.GrouperDataRow
- All Implemented Interfaces:
OptionValueDriver
,GcDbVersionable
,GcSqlAssignPrimaryKey
public class GrouperDataRow
extends Object
implements GcSqlAssignPrimaryKey, GcDbVersionable, OptionValueDriver
loader config for grouper data row
-
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
long
store the internal id to use when the db access stores the objectstatic void
reset()
delete all data if table is herevoid
setConfigId
(String configId) void
setCreatedOn
(Timestamp createdOn) void
setInternalId
(long internalId) void
setTempInternalIdOnDeck
(Long tempInternalIdOnDeck) store the internal id to use when the db access stores the objectvoid
toString()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.internet2.middleware.grouper.cfg.dbConfig.OptionValueDriver
setConfigSuffixToConfigModuleAttribute
-
Constructor Details
-
GrouperDataRow
public GrouperDataRow()
-
-
Method Details
-
retrieveKeysAndLabels
- Specified by:
retrieveKeysAndLabels
in interfaceOptionValueDriver
-
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
-
-
getInternalId
public long getInternalId() -
setInternalId
public void setInternalId(long internalId) -
getConfigId
-
setConfigId
-
getCreatedOn
-
setCreatedOn
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()- Specified by:
gcSqlAssignNewPrimaryKeyForInsert
in interfaceGcSqlAssignPrimaryKey
-
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
-
equalsDeep
-
storePrepare
public void storePrepare() -
toString
-
reset
public static void reset()delete all data if table is here -
getDbVersion
-