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
|
void |
delete() |
static int |
deleteBatchByOwnerId(Collection<String> ownerIds,
String connectionName,
int batchSize)
delete stuff with batches by owner id (e.g.
|
boolean |
equalsDeep(Object obj) |
void |
gcSqlAssignNewPrimaryKeyForInsert()
assign a new primary key for insert
|
String |
getConnectionName()
connection name or null for default
|
String |
getDescription()
description of last sync
|
GcGrouperSyncGroup |
getGrouperSyncGroup()
link back to sync group
|
String |
getGrouperSyncGroupId()
foreign key to grouper_sync_group table
|
GcGrouperSyncJob |
getGrouperSyncJob()
link back to sync job
|
String |
getGrouperSyncJobId()
foreign key to grouper_sync_job table
|
GcGrouperSyncMember |
getGrouperSyncMember()
link back to sync member
|
String |
getGrouperSyncMemberId()
foreign key to grouper_sync_member table
|
GcGrouperSyncMembership |
getGrouperSyncMembership()
link back to sync membership
|
String |
getGrouperSyncMembershipId()
foreign key to grouper_sync_membership 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 started
|
static void |
main(String[] args) |
static void |
reset()
delete all data if table is here
|
static GcGrouperSyncLog |
retrieveById(String theConnectionName,
String id)
select grouper sync log by id
|
static GcGrouperSyncLog |
retrieveByJobAndOwner(String theConnectionName,
String grouperSyncJobId,
String grouperSyncOwnerId)
select log by job and owner
|
GcGrouperSyncGroup |
retrieveGrouperSyncGroup() |
GcGrouperSyncJob |
retrieveGrouperSyncJob() |
GcGrouperSyncMember |
retrieveGrouperSyncMember() |
GcGrouperSyncMembership |
retrieveGrouperSyncMembership() |
void |
setConnectionName(String connectionName1)
connection name or null for default
|
void |
setDescription(String description1)
description of last sync
|
void |
setGrouperSyncGroup(GcGrouperSyncGroup gcGrouperSyncGroup)
link back to sync group
|
void |
setGrouperSyncGroupId(String grouperSyncGroupId1)
foreign key to grouper_sync_group table
|
void |
setGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
link back to sync job
|
void |
setGrouperSyncJobId(String grouperSyncJobId1)
foreign key to grouper_sync_job table
|
void |
setGrouperSyncMember(GcGrouperSyncMember gcGrouperSyncMember1)
link back to sync member
|
void |
setGrouperSyncMemberId(String grouperSyncMemberId1)
foreign key to grouper_sync_member table
|
void |
setGrouperSyncMembership(GcGrouperSyncMembership gcGrouperSyncMembership1)
link back to sync membership
|
void |
setGrouperSyncMembershipId(String grouperSyncMembershipId1)
foreign key to grouper_sync_membership 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 started
|
void |
store() |
String |
toString() |
public void dbVersionReset()
dbVersionReset in interface GcDbVersionablepublic boolean dbVersionDifferent()
dbVersionDifferent in interface GcDbVersionablepublic void dbVersionDelete()
dbVersionDelete in interface GcDbVersionablepublic GcGrouperSyncLog clone()
public boolean equalsDeep(Object obj)
public static int deleteBatchByOwnerId(Collection<String> ownerIds, String connectionName, int batchSize)
ids - public static void reset()
public static GcGrouperSyncLog retrieveById(String theConnectionName, String id)
theConnectionName - id - 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 getGrouperSyncGroupId()
public void setGrouperSyncGroupId(String grouperSyncGroupId1)
grouperSyncGroupId1 - public String getGrouperSyncMemberId()
public void setGrouperSyncMemberId(String grouperSyncMemberId1)
grouperSyncMemberId1 - public String getGrouperSyncOwnerId()
public void setGrouperSyncOwnerId(String grouperSyncOwnerId1)
grouperSyncOwnerId1 - public String getGrouperSyncJobId()
public void setGrouperSyncJobId(String grouperSyncJobId1)
grouperSyncJobId1 - public String getStatusDb()
public void setStatusDb(String status1)
status1 - public GcGrouperSyncLogState getStatus()
public void setStatus(GcGrouperSyncLogState gcGrouperSyncLogState)
gcGrouperSyncLogState - public Timestamp getSyncTimestamp()
public void setSyncTimestamp(Timestamp syncTimestamp1)
syncTimestamp1 - public String getDescription()
public void setDescription(String description1)
description1 - 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 getGrouperSyncMembershipId()
public void setGrouperSyncMembershipId(String grouperSyncMembershipId1)
grouperSyncMembershipId1 - public String getServer()
public void setServer(String server1)
server1 - public String getConnectionName()
public void setConnectionName(String connectionName1)
connectionName1 - public void gcSqlAssignNewPrimaryKeyForInsert()
GcSqlAssignPrimaryKeygcSqlAssignNewPrimaryKeyForInsert in interface GcSqlAssignPrimaryKeypublic void delete()
connectionName - public void store()
connectionName - public GcGrouperSyncGroup getGrouperSyncGroup()
public GcGrouperSyncMember getGrouperSyncMember()
public GcGrouperSyncGroup retrieveGrouperSyncGroup()
public GcGrouperSyncMember retrieveGrouperSyncMember()
public void setGrouperSyncGroup(GcGrouperSyncGroup gcGrouperSyncGroup)
gcGrouperSyncGroup - public void setGrouperSyncMember(GcGrouperSyncMember gcGrouperSyncMember1)
gcGrouperSyncMember1 - public GcGrouperSyncMembership getGrouperSyncMembership()
public GcGrouperSyncMembership retrieveGrouperSyncMembership()
public void setGrouperSyncMembership(GcGrouperSyncMembership gcGrouperSyncMembership1)
gcGrouperSyncMembership1 - public GcGrouperSyncJob getGrouperSyncJob()
public GcGrouperSyncJob retrieveGrouperSyncJob()
public void setGrouperSyncJob(GcGrouperSyncJob gcGrouperSyncJob1)
gcGrouperSyncJob1 - public static GcGrouperSyncLog retrieveByJobAndOwner(String theConnectionName, String grouperSyncJobId, String grouperSyncOwnerId)
theConnectionName - grouperSyncGroupId - grouperSyncMemberId - Copyright © 2020 Internet2. All rights reserved.