java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.tableSync.GcGrouperSyncDao

public class GcGrouperSyncDao extends Object
dao for jobs
  • Constructor Details

    • GcGrouperSyncDao

      public GcGrouperSyncDao()
  • Method Details

    • getGcGrouperSync

      public GcGrouperSync getGcGrouperSync()
      Returns:
    • setGcGrouperSync

      public void setGcGrouperSync(GcGrouperSync gcGrouperSync)
      Parameters:
      gcGrouperSync -
    • store

      public boolean store()
      Parameters:
      connectionName -
      Returns:
      true if changed
    • retrieveById

      public static GcGrouperSync retrieveById(String id)
      select grouper sync by id
      Parameters:
      theConnectionName -
      id -
      Returns:
      the sync
    • retrieveById

      public static GcGrouperSync retrieveById(String theConnectionName, String id)
      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

      public static GcGrouperSync retrieveByProvisionerName(String provisionerName)
      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

      public static GcGrouperSync retrieveOrCreateByProvisionerName(String provisionerName)
      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