Class GrouperProvisioningGrouperSyncDao
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningGrouperSyncDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearErrorsGroup(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups) voidclearErrorsMember(Collection<GcGrouperSyncMember> gcGrouperSyncMembers) voidclearErrorsMembership(Collection<GcGrouperSyncMembership> gcGrouperSyncMemberships) entityErrorTimestamp(GcGrouperSyncMember gcGrouperSyncMember) voidadd / update / delete sync objects based on real datagroupErrorTimestamp(GcGrouperSyncGroup gcGrouperSyncGroup) membershipErrorTimestamp(GcGrouperSyncMembership gcGrouperSyncMembership) voidprocessResultsDeleteEntities(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoidprocessResultsDeleteGroups(List<ProvisioningGroup> grouperTargetGroupsDeleted, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoidprocessResultsDeleteMemberships(List<ProvisioningMembership> grouperTargetMembershipsToDelete) process the results back to the sync objectsvoidprocessResultsDeletes(GrouperProvisioningLists targetObjectDeletes) voidprocessResultsInsertEntities(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoidprocessResultsInsertGroups(List<ProvisioningGroup> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoidprocessResultsInsertMemberships(List<ProvisioningMembership> grouperTargetMembershipsToInsert) process the results back to the sync objectsvoidprocessResultsInserts(GrouperProvisioningLists targetObjectInserts) voidprocessResultsInsertUpdateProvisioningUpdatableAttributeMemberships(Timestamp nowTimestamp, ProvisioningUpdatable provisioningUpdatable) voidprocessResultsReplaces(GrouperProvisioningReplacesObjects targetObjectReplaces) voidgo through what was selected from full and keep track of whats there and what isnt therevoidgo through what was selected from full and keep track of whats there and what isnt therevoidprocessResultsSelectMembershipsFull(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 therevoidprocessResultsUpdateEntitiesFull(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoidprocessResultsUpdateGroupsFull(List<ProvisioningGroup> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoidprocessResultsUpdateMemberships(List<ProvisioningMembership> grouperTargetMembershipsToInsert) process the results back to the sync objectsvoidprocessResultsUpdatesFull(GrouperProvisioningLists targetObjectUpdates) get sync objects from the databaseget sync objects from the databaseget sync objects from the database.voidretrieveIncrementalSyncGroups(String logLabel) get sync objects from the databasevoidretrieveIncrementalSyncMembers(String logLabel) get sync objects from the databasevoidget sync objects from the database.voidvoidsetGrouperProvisioner(GrouperProvisioner grouperProvisioner) voidupdateSubjectLink(List<GcGrouperSyncMember> gcGrouperSyncMembersToRefreshSubjectLink) update subject link for these members
-
Constructor Details
-
GrouperProvisioningGrouperSyncDao
public GrouperProvisioningGrouperSyncDao()
-
-
Method Details
-
groupErrorTimestamp
-
entityErrorTimestamp
-
membershipErrorTimestamp
-
getGrouperProvisioner
-
setGrouperProvisioner
-
fixSyncObjects
public void fixSyncObjects()add / update / delete sync objects based on real data -
retrieveAllSyncGroups
get sync objects from the database -
clearErrorsGroup
-
clearErrorsMember
-
clearErrorsMembership
-
retrieveAllSyncMembers
get sync objects from the database -
retrieveAllSyncMemberships
get sync objects from the database. all records correspond to a sync group and sync member or its skipped -
retrieveIncrementalSyncGroups
get sync objects from the database- Parameters:
logLabel-
-
retrieveIncrementalSyncMembers
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
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 attributegrouperTargetGroupsToInsert-
-
processResultsInserts
-
processResultsUpdatesFull
-
processResultsDeletes
-
processResultsReplaces
-
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 attributegrouperTargetGroupsToInsert-
-
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 attributegrouperTargetGroupsToInsert-
-
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 attributegrouperTargetGroupsToInsert-
-
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 attributegrouperTargetGroupsToInsert-
-
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 attributegrouperTargetGroupsDeleted-
-
processResultsDeleteMemberships
public void processResultsDeleteMemberships(List<ProvisioningMembership> grouperTargetMembershipsToDelete) process the results back to the sync objects- Parameters:
grouperTargetMembershipsToDelete-
-
processResultsSelectGroupsFull
go through what was selected from full and keep track of whats there and what isnt there- Parameters:
values-
-
processResultsSelectEntitiesFull
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-
-