public class GcGrouperSyncGroup extends Object implements GcSqlAssignPrimaryKey, GcDbVersionable
Constructor and Description |
---|
GcGrouperSyncGroup() |
Modifier and Type | Method and Description |
---|---|
void |
assignField(String syncField,
Object result) |
GcGrouperSyncGroup |
clone()
deep clone the fields in this object
|
void |
dbVersionDelete()
db version
|
boolean |
dbVersionDifferent()
if we need to update this object
|
void |
dbVersionReset()
take a snapshot of the data since this is what is in the db
|
boolean |
equalsDeep(Object obj) |
boolean |
gcSqlAssignNewPrimaryKeyForInsert()
assign a new primary key for insert.
|
String |
getConnectionName()
connection name or null for default
|
GcGrouperSyncErrorCode |
getErrorCode()
Error code e.g.
|
String |
getErrorCodeDb()
Error code e.g.
|
String |
getErrorMessage()
if the last sync had an error, this is the error message
|
Timestamp |
getErrorTimestamp()
this the last sync had an error, this was the error timestamp
|
GcGrouperSync |
getGrouperSync() |
String |
getGrouperSyncId()
uuid of the job in grouper_sync
|
String |
getGroupFromId2()
metadata on groups
|
String |
getGroupFromId3()
other metadata on groups
|
String |
getGroupId()
for groups this is the group uuid, though not a real foreign key
|
Long |
getGroupIdIndex()
if group then this is the id index
|
String |
getGroupName()
for groups this is the group system name
|
String |
getGroupToId2()
other metadata on groups
|
String |
getGroupToId3()
other metadata on groups
|
String |
getId()
uuid of this record in this table
|
Boolean |
getInTarget()
if this group exists in the target/destination
|
String |
getInTargetDb()
if this group exists in the target/destination
|
Timestamp |
getInTargetEnd()
when this group was provisioned to target
|
String |
getInTargetInsertOrExistsDb()
T if inserted on the in_target_start date, or F if it existed then and not sure when inserted
|
Timestamp |
getInTargetStart()
when this group was provisioned to target
|
Timestamp |
getLastGroupMetadataSync()
when this groups name and description and metadata was synced
|
Timestamp |
getLastGroupMetadataSyncStart()
when this groups name and description and metadata was synced, start
|
Timestamp |
getLastGroupSync() |
Timestamp |
getLastGroupSyncStart()
when this group was last sync start
|
Timestamp |
getLastTimeWorkWasDone()
last time a record was processe
|
Timestamp |
getLastUpdated()
when this record was last updated
|
String |
getMetadataJson()
additional metadata for group
|
Timestamp |
getMetadataUpdated()
when metadata was last updated
|
String |
getProvisionableDb()
T if provisionable and F is not
|
Timestamp |
getProvisionableEnd()
millis since 1970 that this group ended being provisionable
|
Timestamp |
getProvisionableStart()
millis since 1970 that this group started to be provisionable
|
boolean |
isInTarget()
if in target
|
boolean |
isInTargetInsertOrExists()
T if inserted on the in_target_start date, or F if it existed then and not sure when inserted
|
boolean |
isProvisionable()
if provisionable
|
static void |
main(String[] args) |
static void |
reset()
delete all data if table is here
|
String |
retrieveField(String syncField) |
void |
setConnectionName(String connectionName1)
connection name or null for default
|
void |
setErrorCode(GcGrouperSyncErrorCode gcGrouperSyncErrorCode)
Error code e.g.
|
void |
setErrorCodeDb(String errorCodeDb)
Error code e.g.
|
void |
setErrorMessage(String errorMessage1)
if the last sync had an error, this is the error message
|
void |
setErrorTimestamp(Timestamp errorTimestamp1)
this the last sync had an error, this was the error timestamp
|
void |
setGrouperSync(GcGrouperSync gcGrouperSync) |
void |
setGrouperSyncId(String grouperSyncId1)
uuid of the job in grouper_sync
|
void |
setGroupFromId2(String groupFromId2_1)
metadata on groups
|
void |
setGroupFromId3(String groupFromId3_1)
other metadata on groups
|
void |
setGroupId(String groupId1)
for groups this is the group uuid, though not a real foreign key
|
void |
setGroupIdIndex(Long groupIdIndex1)
if group then this is the id index
|
void |
setGroupName(String groupName1)
for groups this is the group system name
|
void |
setGroupToId2(String groupToId2_1)
other metadata on groups
|
void |
setGroupToId3(String groupToId3_1)
other metadata on groups
|
void |
setId(String id1)
uuid of this record in this table
|
void |
setInTarget(boolean inTarget)
if in target
|
void |
setInTargetDb(String inTargetDb1)
if this group exists in the target/destination
|
void |
setInTargetEnd(Timestamp inTargetEnd1)
when this group was provisioned to target
|
void |
setInTargetInsertOrExists(boolean inTargetInsertOrExists)
T if inserted on the in_target_start date, or F if it existed then and not sure when inserted
|
void |
setInTargetInsertOrExistsDb(String inTargetInsertOrExistsDb1)
T if inserted on the in_target_start date, or F if it existed then and not sure when inserted
|
void |
setInTargetStart(Timestamp inTargetStart1)
when this group was provisioned to target
|
void |
setLastGroupMetadataSync(Timestamp lastGroupMetadataSync)
when this groups name and description and metadata was synced
|
void |
setLastGroupMetadataSyncStart(Timestamp lastGroupMetadataSyncStart)
when this groups name and description and metadata was synced, start
|
void |
setLastGroupSync(Timestamp lastGroupSync1)
when this group was last synced
|
void |
setLastGroupSyncStart(Timestamp lastGroupSyncStart)
when this group was last sync start
|
void |
setLastTimeWorkWasDone(Timestamp lastTimeWorkWasDone1)
last time a record was processe
|
void |
setLastUpdated(Timestamp lastUpdated1)
when this record was last updated
|
void |
setMetadataJson(String metadataJson)
additional metadata for group
|
void |
setMetadataUpdated(Timestamp metadataUpdated1)
when metadata was last updated
|
void |
setProvisionable(boolean provisionable)
if provisionable
|
void |
setProvisionableDb(String provisionableDb1)
T if provisionable and F is not
|
void |
setProvisionableEnd(Timestamp provisionableEndMillis1)
millis since 1970 that this group ended being provisionable
|
void |
setProvisionableStart(Timestamp provisionableStartMillis1)
millis since 1970 that this group started to be provisionable
|
void |
storePrepare()
prepare to store
|
String |
toString() |
public void dbVersionReset()
dbVersionReset
in interface GcDbVersionable
public boolean dbVersionDifferent()
dbVersionDifferent
in interface GcDbVersionable
public void dbVersionDelete()
dbVersionDelete
in interface GcDbVersionable
public GcGrouperSyncGroup clone()
public boolean equalsDeep(Object obj)
public Timestamp getLastGroupSyncStart()
public void setLastGroupSyncStart(Timestamp lastGroupSyncStart)
lastGroupSyncStart
- public Timestamp getLastGroupSync()
public void setLastGroupSync(Timestamp lastGroupSync1)
lastGroupSync1
- public Timestamp getLastGroupMetadataSyncStart()
public void setLastGroupMetadataSyncStart(Timestamp lastGroupMetadataSyncStart)
lastGroupMetadataSyncStart
- public Timestamp getLastGroupMetadataSync()
public void setLastGroupMetadataSync(Timestamp lastGroupMetadataSync)
lastGroupMetadataSync
- public static void reset()
public void storePrepare()
public GcGrouperSync getGrouperSync()
public void setGrouperSync(GcGrouperSync gcGrouperSync)
gcGrouperSync
- public String getErrorCodeDb()
public void setErrorCodeDb(String errorCodeDb)
errorCodeDb
- public GcGrouperSyncErrorCode getErrorCode()
public void setErrorCode(GcGrouperSyncErrorCode gcGrouperSyncErrorCode)
gcGrouperSyncErrorCode
- public String getErrorMessage()
public void setErrorMessage(String errorMessage1)
errorMessage1
- public Timestamp getErrorTimestamp()
public void setErrorTimestamp(Timestamp errorTimestamp1)
errorTimestamp1
- public String getConnectionName()
public void setConnectionName(String connectionName1)
connectionName1
- public static void main(String[] args)
args
- public Timestamp getLastTimeWorkWasDone()
public void setLastTimeWorkWasDone(Timestamp lastTimeWorkWasDone1)
lastTimeWorkWasDone1
- public String getMetadataJson()
public void setMetadataJson(String metadataJson)
metadataJson
- public String getId()
public void setId(String id1)
id1
- the id to setpublic String getInTargetDb()
public void setInTargetDb(String inTargetDb1)
inTargetDb1
- public boolean isInTarget()
public void setInTarget(boolean inTarget)
in
- targetpublic Boolean getInTarget()
public String getInTargetInsertOrExistsDb()
public void setInTargetInsertOrExistsDb(String inTargetInsertOrExistsDb1)
inTargetInsertOrExistsDb1
- public Timestamp getMetadataUpdated()
public void setMetadataUpdated(Timestamp metadataUpdated1)
metadataUpdated1
- public boolean isInTargetInsertOrExists()
public void setInTargetInsertOrExists(boolean inTargetInsertOrExists)
inTargetInsertOrExists
- public String getGrouperSyncId()
public void setGrouperSyncId(String grouperSyncId1)
grouperSyncId1
- public Timestamp getLastUpdated()
public void setLastUpdated(Timestamp lastUpdated1)
lastUpdated1
- public String getGroupId()
public void setGroupId(String groupId1)
groupId1
- public String getGroupName()
public void setGroupName(String groupName1)
groupName1
- public String getProvisionableDb()
public void setProvisionableDb(String provisionableDb1)
provisionableDb1
- public boolean isProvisionable()
public void setProvisionable(boolean provisionable)
provisionable
- public Timestamp getProvisionableStart()
public void setProvisionableStart(Timestamp provisionableStartMillis1)
provisionableStartMillis1
- public Timestamp getInTargetStart()
public void setInTargetStart(Timestamp inTargetStart1)
inTargetStart1
- public Timestamp getInTargetEnd()
public void setInTargetEnd(Timestamp inTargetEnd1)
inTargetEnd1
- public Timestamp getProvisionableEnd()
public void setProvisionableEnd(Timestamp provisionableEndMillis1)
provisionableEndMillis1
- public Long getGroupIdIndex()
public void setGroupIdIndex(Long groupIdIndex1)
groupIdIndex1
- public String getGroupFromId2()
public void setGroupFromId2(String groupFromId2_1)
groupFromId2_1
- public String getGroupFromId3()
public void setGroupFromId3(String groupFromId3_1)
groupFromId3_1
- public String getGroupToId2()
public void setGroupToId2(String groupToId2_1)
groupToId2_1
- public String getGroupToId3()
public void setGroupToId3(String groupToId3_1)
groupToId3_1
- public boolean gcSqlAssignNewPrimaryKeyForInsert()
GcSqlAssignPrimaryKey
gcSqlAssignNewPrimaryKeyForInsert
in interface GcSqlAssignPrimaryKey
public void assignField(String syncField, Object result)
translateGrouperToGroupSyncField
- result
- Copyright © 2016 Internet2. All rights reserved.