public class GcGrouperSyncLog extends Object implements GcSqlAssignPrimaryKey, GcDbVersionable
Constructor and Description |
---|
GcGrouperSyncLog() |
Modifier and Type | Method and Description |
---|---|
GcGrouperSyncLog |
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
|
String |
getDescription()
description of last sync
|
Long |
getDescriptionBytes()
size of description/descriptionClob in bytes
|
String |
getDescriptionClob()
description of last sync when it's too large to store in description field
|
String |
getDescriptionOrDescriptionClob()
retrieve description.
|
GcGrouperSync |
getGrouperSync() |
String |
getGrouperSyncId()
foreign key to grouper_sync_group table
|
String |
getGrouperSyncOwnerId()
either the grouper_sync_member_id or the grouper_sync_group_id or grouper_sync_job_id (if log for job wide)
|
String |
getId()
uuid of this record in this table
|
Integer |
getJobTookMillis()
how many millis it took to run this job
|
Timestamp |
getLastUpdated()
when this record was last updated
|
Integer |
getRecordsChanged()
how many records were changed the last time this sync ran
|
Integer |
getRecordsProcessed()
how many records were processed the last time this sync ran
|
String |
getServer()
which server this occurred on
|
GcGrouperSyncLogState |
getStatus() |
String |
getStatusDb()
SUCCESS, ERROR, WARNING, CONFIG_ERROR
|
Timestamp |
getSyncTimestamp()
when the last sync ended
|
Timestamp |
getSyncTimestampStart()
when the last sync started
|
static void |
main(String[] args) |
static void |
reset()
delete all data if table is here
|
void |
setConnectionName(String connectionName1)
connection name or null for default
|
void |
setDescription(String description1)
description of last sync
|
void |
setDescriptionBytes(Long descriptionBytes)
size of description/descriptionClob in bytes
|
void |
setDescriptionClob(String descriptionClob)
description of last sync when it's too large to store in description field
|
void |
setDescriptionToSave(String description)
set description to save.
|
void |
setGrouperSync(GcGrouperSync gcGrouperSync) |
void |
setGrouperSyncId(String grouperSyncId1)
foreign key to grouper_sync_group table
|
void |
setGrouperSyncOwnerId(String grouperSyncOwnerId1)
either the grouper_sync_member_id or the grouper_sync_group_id or grouper_sync_job_id (if log for job wide)
|
void |
setId(String id1)
uuid of this record in this table
|
void |
setJobTookMillis(Integer jobTookMillis)
how many millis it took to run this job
|
void |
setLastUpdated(Timestamp lastUpdated1)
when this record was last updated
|
void |
setRecordsChanged(Integer recordsChanged1)
how many records were changed the last time this sync ran
|
void |
setRecordsProcessed(Integer recordsProcessed1)
how many records were processed the last time this sync ran
|
void |
setServer(String server1)
which server this occurred on
|
void |
setStatus(GcGrouperSyncLogState gcGrouperSyncLogState) |
void |
setStatusDb(String status1)
SUCCESS, ERROR, WARNING, CONFIG_ERROR
|
void |
setSyncTimestamp(Timestamp syncTimestamp1)
when the last sync ended
|
void |
setSyncTimestampStart(Timestamp syncTimestampStart1)
when the last sync started
|
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 GcGrouperSyncLog clone()
public boolean equalsDeep(Object obj)
public static void reset()
public static void main(String[] args)
args
- public Timestamp getLastUpdated()
public void setLastUpdated(Timestamp lastUpdated1)
lastUpdated1
- public String getId()
public void setId(String id1)
id1
- public String getGrouperSyncId()
public void setGrouperSyncId(String grouperSyncId1)
grouperSyncId1
- public String getGrouperSyncOwnerId()
public void setGrouperSyncOwnerId(String grouperSyncOwnerId1)
grouperSyncOwnerId1
- public String getStatusDb()
public void setStatusDb(String status1)
status1
- public GcGrouperSyncLogState getStatus()
public void setStatus(GcGrouperSyncLogState gcGrouperSyncLogState)
gcGrouperSyncLogState
- public Timestamp getSyncTimestampStart()
public void setSyncTimestampStart(Timestamp syncTimestampStart1)
syncTimestampStart1
- public Timestamp getSyncTimestamp()
public void setSyncTimestamp(Timestamp syncTimestamp1)
syncTimestamp1
- public String getDescription()
public void setDescription(String description1)
description1
- public String getDescriptionClob()
public void setDescriptionClob(String descriptionClob)
descriptionClob
- public Long getDescriptionBytes()
public void setDescriptionBytes(Long descriptionBytes)
descriptionBytes
- public String getDescriptionOrDescriptionClob()
public void setDescriptionToSave(String description)
description
- public Integer getRecordsProcessed()
public void setRecordsProcessed(Integer recordsProcessed1)
recordsProcessed1
- public Integer getRecordsChanged()
public void setRecordsChanged(Integer recordsChanged1)
recordsChanged1
- public Integer getJobTookMillis()
public void setJobTookMillis(Integer jobTookMillis)
jobTookMillis
- public String getServer()
public void setServer(String server1)
server1
- public String getConnectionName()
public void setConnectionName(String connectionName1)
connectionName1
- public boolean gcSqlAssignNewPrimaryKeyForInsert()
GcSqlAssignPrimaryKey
gcSqlAssignNewPrimaryKeyForInsert
in interface GcSqlAssignPrimaryKey
public void storePrepare()
public GcGrouperSync getGrouperSync()
public void setGrouperSync(GcGrouperSync gcGrouperSync)
gcGrouperSync
- Copyright © 2016 Internet2. All rights reserved.