Class GcGrouperSyncDao
java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcGrouperSyncDao
dao for jobs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
static GcGrouperSync
retrieveById
(String id) select grouper sync by idstatic GcGrouperSync
retrieveById
(String theConnectionName, String id) select grouper sync by idstatic GcGrouperSync
retrieveByProvisionerName
(String provisionerName) select grouper sync by provisioner namestatic GcGrouperSync
retrieveByProvisionerName
(String theConnectionName, String provisionerName) select grouper sync by provisioner namestatic GcGrouperSync
retrieveOrCreateByProvisionerName
(String provisionerName) retrieve a sync provisioner or createstatic GcGrouperSync
retrieveOrCreateByProvisionerName
(String theConnectionName, String provisionerName) retrieve a sync provisioner or createvoid
setGcGrouperSync
(GcGrouperSync gcGrouperSync) boolean
store()
int
-
Constructor Details
-
GcGrouperSyncDao
public GcGrouperSyncDao()
-
-
Method Details
-
getGcGrouperSync
- Returns:
-
setGcGrouperSync
- Parameters:
gcGrouperSync
-
-
store
public boolean store()- Parameters:
connectionName
-- Returns:
- true if changed
-
retrieveById
select grouper sync by id- Parameters:
theConnectionName
-id
-- Returns:
- the sync
-
retrieveById
select grouper sync by id- Parameters:
theConnectionName
-id
-- Returns:
- the sync
-
storeAllObjects
public int storeAllObjects()- Parameters:
batchSize
- or default to 900
-
delete
public void delete()- Parameters:
connectionName
-
-
retrieveByProvisionerName
select grouper sync by provisioner name- Parameters:
theConnectionName
-provisionerName
-- Returns:
- the sync
-
retrieveByProvisionerName
public static GcGrouperSync retrieveByProvisionerName(String theConnectionName, String provisionerName) select grouper sync by provisioner name- Parameters:
theConnectionName
-provisionerName
-- Returns:
- the sync
-
retrieveOrCreateByProvisionerName
retrieve a sync provisioner or create- Parameters:
theConnectionName
-syncEngine
-provisionerName
-- Returns:
- the sync
-
retrieveOrCreateByProvisionerName
public static GcGrouperSync retrieveOrCreateByProvisionerName(String theConnectionName, String provisionerName) retrieve a sync provisioner or create- Parameters:
theConnectionName
-syncEngine
-provisionerName
-- Returns:
- the sync
-