Class GrouperProvisioningGrouperSyncDao

java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningGrouperSyncDao

public class GrouperProvisioningGrouperSyncDao extends Object
  • Constructor Details

    • GrouperProvisioningGrouperSyncDao

      public GrouperProvisioningGrouperSyncDao()
  • Method Details

    • groupErrorTimestamp

      public Timestamp groupErrorTimestamp(GcGrouperSyncGroup gcGrouperSyncGroup)
    • entityErrorTimestamp

      public Timestamp entityErrorTimestamp(GcGrouperSyncMember gcGrouperSyncMember)
    • membershipErrorTimestamp

      public Timestamp membershipErrorTimestamp(GcGrouperSyncMembership gcGrouperSyncMembership)
    • getGrouperProvisioner

      public GrouperProvisioner getGrouperProvisioner()
    • setGrouperProvisioner

      public void setGrouperProvisioner(GrouperProvisioner grouperProvisioner)
    • fixSyncObjects

      public void fixSyncObjects()
      add / update / delete sync objects based on real data
    • retrieveAllSyncGroups

      public List<GcGrouperSyncGroup> retrieveAllSyncGroups()
      get sync objects from the database
    • clearErrorsGroup

      public void clearErrorsGroup(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups)
    • clearErrorsMember

      public void clearErrorsMember(Collection<GcGrouperSyncMember> gcGrouperSyncMembers)
    • clearErrorsMembership

      public void clearErrorsMembership(Collection<GcGrouperSyncMembership> gcGrouperSyncMemberships)
    • retrieveAllSyncMembers

      public List<GcGrouperSyncMember> retrieveAllSyncMembers()
      get sync objects from the database
    • retrieveAllSyncMemberships

      public List<GcGrouperSyncMembership> retrieveAllSyncMemberships()
      get sync objects from the database. all records correspond to a sync group and sync member or its skipped
    • retrieveIncrementalSyncGroups

      public void retrieveIncrementalSyncGroups(String logLabel)
      get sync objects from the database
      Parameters:
      logLabel -
    • retrieveIncrementalSyncMembers

      public void retrieveIncrementalSyncMembers(String logLabel)
      get sync objects from the database
      Parameters:
      logLabel -
    • retrieveIncrementalSyncMemberships

      public void retrieveIncrementalSyncMemberships()
      get sync objects from the database. all records correspond to a sync group and sync member or its skipped
    • retrieveSyncDataFull

      public void retrieveSyncDataFull()
    • updateSubjectLink

      public void updateSubjectLink(List<GcGrouperSyncMember> gcGrouperSyncMembersToRefreshSubjectLink)
      update subject link for these members
      Parameters:
      gcGrouperSyncMembersToRefreshSubjectLink -
    • processResultsInsertGroups

      public void processResultsInsertGroups(List<ProvisioningGroup> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable)
      process the results back to the sync objects
      Parameters:
      includeMembershipsIfApplicable - true if this group includes memberships if it is even doing memberships as a group attribute
      grouperTargetGroupsToInsert -
    • processResultsInserts

      public void processResultsInserts(GrouperProvisioningLists targetObjectInserts)
    • processResultsUpdatesFull

      public void processResultsUpdatesFull(GrouperProvisioningLists targetObjectUpdates)
    • processResultsDeletes

      public void processResultsDeletes(GrouperProvisioningLists targetObjectDeletes)
    • processResultsReplaces

      public void processResultsReplaces(GrouperProvisioningReplacesObjects targetObjectReplaces)
    • processResultsInsertEntities

      public void processResultsInsertEntities(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable)
      process the results back to the sync objects
      Parameters:
      includeMembershipsIfApplicable - true if this group includes memberships if it is even doing memberships as a group attribute
      grouperTargetGroupsToInsert -
    • processResultsInsertMemberships

      public void processResultsInsertMemberships(List<ProvisioningMembership> grouperTargetMembershipsToInsert)
      process the results back to the sync objects
      Parameters:
      grouperTargetMembershipsToInsert -
    • processResultsUpdateEntitiesFull

      public void processResultsUpdateEntitiesFull(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable)
      process the results back to the sync objects
      Parameters:
      includeMembershipsIfApplicable - true if this group includes memberships if it is even doing memberships as a group attribute
      grouperTargetGroupsToInsert -
    • processResultsUpdateGroupsFull

      public void processResultsUpdateGroupsFull(List<ProvisioningGroup> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable)
      process the results back to the sync objects
      Parameters:
      includeMembershipsIfApplicable - true if this group includes memberships if it is even doing memberships as a group attribute
      grouperTargetGroupsToInsert -
    • processResultsInsertUpdateProvisioningUpdatableAttributeMemberships

      public void processResultsInsertUpdateProvisioningUpdatableAttributeMemberships(Timestamp nowTimestamp, ProvisioningUpdatable provisioningUpdatable)
    • processResultsUpdateMemberships

      public void processResultsUpdateMemberships(List<ProvisioningMembership> grouperTargetMembershipsToInsert)
      process the results back to the sync objects
      Parameters:
      grouperTargetMembershipsToInsert -
    • processResultsDeleteEntities

      public void processResultsDeleteEntities(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable)
      process the results back to the sync objects
      Parameters:
      includeMembershipsIfApplicable - true if this group includes memberships if it is even doing memberships as a group attribute
      grouperTargetGroupsToInsert -
    • processResultsDeleteGroups

      public void processResultsDeleteGroups(List<ProvisioningGroup> grouperTargetGroupsDeleted, boolean includeMembershipsIfApplicable)
      process the results back to the sync objects
      Parameters:
      includeMembershipsIfApplicable - true if this group includes memberships if it is even doing memberships as a group attribute
      grouperTargetGroupsDeleted -
    • processResultsDeleteMemberships

      public void processResultsDeleteMemberships(List<ProvisioningMembership> grouperTargetMembershipsToDelete)
      process the results back to the sync objects
      Parameters:
      grouperTargetMembershipsToDelete -
    • processResultsSelectGroupsFull

      public void processResultsSelectGroupsFull(Collection<ProvisioningGroupWrapper> values)
      go through what was selected from full and keep track of whats there and what isnt there
      Parameters:
      values -
    • processResultsSelectEntitiesFull

      public void processResultsSelectEntitiesFull(Collection<ProvisioningEntityWrapper> values)
      go through what was selected from full and keep track of whats there and what isnt there
      Parameters:
      values -
    • processResultsSelectMembershipsFull

      public void processResultsSelectMembershipsFull(Collection<ProvisioningGroupWrapper> provisioningGroupWrappers, Collection<ProvisioningEntityWrapper> provisioningEntityWrappers, Collection<ProvisioningMembershipWrapper> provisioningMembershipWrappers)
      go through what was selected from full and keep track of whats there and what isnt there
      Parameters:
      provisioningMembershipWrappers -