Class GrouperDataProvider
java.lang.Object
edu.internet2.middleware.grouper.dataField.GrouperDataProvider
- All Implemented Interfaces:
OptionValueDriver
,GcDbVersionable
,GcSqlAssignPrimaryKey
public class GrouperDataProvider
extends Object
implements GcSqlAssignPrimaryKey, GcDbVersionable, OptionValueDriver
loader config for grouper data field
-
Constructor Summary
-
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
void
setConfigId
(String configId) void
setCreatedOn
(Timestamp createdOn) void
setInternalId
(long internalId) void
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
-
GrouperDataProvider
public GrouperDataProvider()
-
-
Method Details
-
retrieveKeysAndLabels
- Specified by:
retrieveKeysAndLabels
in interfaceOptionValueDriver
-
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
-