public class GcGrouperSync extends Object implements GcSqlAssignPrimaryKey, GcDbVersionable
Modifier and Type | Field and Description |
---|---|
static String |
ATTESTATION_PROPAGATION
use this to propagate attestation from folders to groups
|
static String |
DEPROVISIONING
use this for deprovisioning
|
static String |
OBJECT_TYPE_PROPAGATION
use this to propagate object types from folders to sub folders and groups
|
static String |
PROVISIONING
use this for provisioning
|
static String |
SQL_SYNC_ENGINE
use this for sql engine sync
|
Constructor and Description |
---|
GcGrouperSync() |
Modifier and Type | Method and Description |
---|---|
void |
addObjectCreatedCount(int amountToAdd)
add object count created (query count)
|
int |
batchSize() |
GcGrouperSync |
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
|
static String |
defaultConnectionName(String connectionName)
use 'grouper' if not specified
|
boolean |
equalsDeep(Object obj) |
boolean |
gcSqlAssignNewPrimaryKeyForInsert()
assign a new primary key for insert.
|
String |
getConnectionName()
connection name or null for default
|
GcGrouperSyncDao |
getGcGrouperSyncDao()
dao for syncs
|
GcGrouperSyncGroupDao |
getGcGrouperSyncGroupDao()
dao for groups
|
GcGrouperSyncJobDao |
getGcGrouperSyncJobDao()
dao for jobs
|
GcGrouperSyncLogDao |
getGcGrouperSyncLogDao()
dao for log operations
|
GcGrouperSyncMemberDao |
getGcGrouperSyncMemberDao()
dao for members
|
GcGrouperSyncMembershipDao |
getGcGrouperSyncMembershipDao()
dao for memberships
|
Integer |
getGroupCount()
if group this is the number of groups
|
String |
getId()
uuid of this record in this table
|
Long |
getIncrementalIndex()
int of last record processed
|
Timestamp |
getIncrementalTimestamp()
when last record processed if timestamp and not integer
|
int |
getInternalObjectsCreatedCount()
keep count of objects created
|
Timestamp |
getLastFullMetadataSyncRun()
when last full metadata sync ran.
|
Timestamp |
getLastFullMetadataSyncStart()
when last full metadata sync started.
|
Timestamp |
getLastFullSyncRun()
when last full sync ran (end)
|
Timestamp |
getLastFullSyncStart()
when last full sync started
|
Timestamp |
getLastIncrementalSyncRun()
when incremental sync ran
|
Timestamp |
getLastUpdated()
when this record was last updated
|
String |
getProvisionerName()
name of provisioner must be unique.
|
Integer |
getRecordsCount()
number of records including users, groups, etc
|
String |
getSyncEngine()
e.g.
|
Integer |
getUserCount()
if has users, this is the number of users
|
static void |
main(String[] args) |
int |
maxBindVarsInSelect() |
static void |
reset()
delete all data if table is here
|
void |
setConnectionName(String connectionName1)
connection name or null for default
|
void |
setGroupCount(Integer groupCount1)
if group this is the number of groups
|
void |
setId(String id1)
uuid of this record in this table
|
void |
setIncrementalIndex(Long incrementalIndexOrMillis1)
int of last record processed
|
void |
setIncrementalTimestamp(Timestamp incrementalTimestamp1)
when last record processed if timestamp and not integer
|
void |
setInternalObjectsCreatedCount(int internalObjectsCreatedCount1)
keep count of objects created
|
void |
setLastFullMetadataSyncRun(Timestamp lastFullMetadataSyncRun1)
when last full metadata sync ran.
|
void |
setLastFullMetadataSyncStart(Timestamp lastFullMetadataSyncStart)
when last full metadata sync started.
|
void |
setLastFullSyncRun(Timestamp lastFullSyncRun1)
when last full sync ran (end)
|
void |
setLastFullSyncStart(Timestamp lastFullSyncStart)
when last full sync started
|
void |
setLastIncrementalSyncRun(Timestamp lastIncrementalSyncRun1)
when incremental sync ran
|
void |
setLastUpdated(Timestamp lastUpdated1)
when this record was last updated
|
void |
setProvisionerName(String provisionerName1)
name of provisioner must be unique.
|
void |
setRecordsCount(Integer recordsCount1)
number of records including users, groups, etc
|
void |
setSyncEngine(String syncEngine1)
e.g.
|
void |
setUserCount(Integer userCount1)
if has users, this is the number of users
|
void |
storePrepare() |
String |
toString() |
public static final String SQL_SYNC_ENGINE
public static final String PROVISIONING
public static final String DEPROVISIONING
public static final String OBJECT_TYPE_PROPAGATION
public static final String ATTESTATION_PROPAGATION
public int getInternalObjectsCreatedCount()
public void setInternalObjectsCreatedCount(int internalObjectsCreatedCount1)
internalObjectsCreatedCount1
- public void addObjectCreatedCount(int amountToAdd)
amountToAdd
- public int batchSize()
public int maxBindVarsInSelect()
public GcGrouperSyncGroupDao getGcGrouperSyncGroupDao()
public void dbVersionReset()
dbVersionReset
in interface GcDbVersionable
public boolean dbVersionDifferent()
dbVersionDifferent
in interface GcDbVersionable
public void dbVersionDelete()
dbVersionDelete
in interface GcDbVersionable
public GcGrouperSync clone()
public boolean equalsDeep(Object obj)
public static void reset()
public static String defaultConnectionName(String connectionName)
connectionName
- public Timestamp getLastIncrementalSyncRun()
public void setLastIncrementalSyncRun(Timestamp lastIncrementalSyncRun1)
lastIncrementalSyncRun1
- public Timestamp getLastFullSyncStart()
public void setLastFullSyncStart(Timestamp lastFullSyncStart)
lastFullSyncStart
- public Timestamp getLastFullSyncRun()
public void setLastFullSyncRun(Timestamp lastFullSyncRun1)
lastFullSyncRun1
- public Timestamp getLastFullMetadataSyncStart()
public void setLastFullMetadataSyncStart(Timestamp lastFullMetadataSyncStart)
lastFullMetadataSyncStart
- public Timestamp getLastFullMetadataSyncRun()
public void setLastFullMetadataSyncRun(Timestamp lastFullMetadataSyncRun1)
lastFullMetadataSyncRun1
- public Long getIncrementalIndex()
public void setIncrementalIndex(Long incrementalIndexOrMillis1)
incrementalIndexOrMillis1
- public Timestamp getIncrementalTimestamp()
public void setIncrementalTimestamp(Timestamp incrementalTimestamp1)
incrementalTimestamp1
- public String getConnectionName()
public void setConnectionName(String connectionName1)
connectionName1
- public void storePrepare()
public static void main(String[] args)
args
- public String getId()
public void setId(String id1)
id1
- the id to setpublic String getSyncEngine()
public void setSyncEngine(String syncEngine1)
syncEngine1
- public String getProvisionerName()
public void setProvisionerName(String provisionerName1)
provisionerName1
- public Timestamp getLastUpdated()
public void setLastUpdated(Timestamp lastUpdated1)
lastUpdated1
- public Integer getGroupCount()
public void setGroupCount(Integer groupCount1)
groupCount1
- public Integer getUserCount()
public void setUserCount(Integer userCount1)
userCount1
- public GcGrouperSyncLogDao getGcGrouperSyncLogDao()
public Integer getRecordsCount()
public void setRecordsCount(Integer recordsCount1)
recordsCount1
- public boolean gcSqlAssignNewPrimaryKeyForInsert()
GcSqlAssignPrimaryKey
gcSqlAssignNewPrimaryKeyForInsert
in interface GcSqlAssignPrimaryKey
public GcGrouperSyncJobDao getGcGrouperSyncJobDao()
public GcGrouperSyncMemberDao getGcGrouperSyncMemberDao()
public GcGrouperSyncMembershipDao getGcGrouperSyncMembershipDao()
public GcGrouperSyncDao getGcGrouperSyncDao()
Copyright © 2016 Internet2. All rights reserved.