Class GrouperProvisioningGrouperSyncDao
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningGrouperSyncDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearErrorsGroup
(Collection<GcGrouperSyncGroup> gcGrouperSyncGroups) void
clearErrorsMember
(Collection<GcGrouperSyncMember> gcGrouperSyncMembers) void
clearErrorsMembership
(Collection<GcGrouperSyncMembership> gcGrouperSyncMemberships) entityErrorTimestamp
(GcGrouperSyncMember gcGrouperSyncMember) void
add / update / delete sync objects based on real datagroupErrorTimestamp
(GcGrouperSyncGroup gcGrouperSyncGroup) membershipErrorTimestamp
(GcGrouperSyncMembership gcGrouperSyncMembership) void
processResultsDeleteEntities
(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoid
processResultsDeleteGroups
(List<ProvisioningGroup> grouperTargetGroupsDeleted, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoid
processResultsDeleteMemberships
(List<ProvisioningMembership> grouperTargetMembershipsToDelete) process the results back to the sync objectsvoid
processResultsDeletes
(GrouperProvisioningLists targetObjectDeletes) void
processResultsInsertEntities
(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoid
processResultsInsertGroups
(List<ProvisioningGroup> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoid
processResultsInsertMemberships
(List<ProvisioningMembership> grouperTargetMembershipsToInsert) process the results back to the sync objectsvoid
processResultsInserts
(GrouperProvisioningLists targetObjectInserts) void
processResultsInsertUpdateProvisioningUpdatableAttributeMemberships
(Timestamp nowTimestamp, ProvisioningUpdatable provisioningUpdatable) void
processResultsReplaces
(GrouperProvisioningReplacesObjects targetObjectReplaces) void
go through what was selected from full and keep track of whats there and what isnt therevoid
go through what was selected from full and keep track of whats there and what isnt therevoid
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 therevoid
processResultsUpdateEntitiesFull
(List<ProvisioningEntity> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoid
processResultsUpdateGroupsFull
(List<ProvisioningGroup> grouperTargetGroupsToInsert, boolean includeMembershipsIfApplicable) process the results back to the sync objectsvoid
processResultsUpdateMemberships
(List<ProvisioningMembership> grouperTargetMembershipsToInsert) process the results back to the sync objectsvoid
processResultsUpdatesFull
(GrouperProvisioningLists targetObjectUpdates) get sync objects from the databaseget sync objects from the databaseget sync objects from the database.void
retrieveIncrementalSyncGroups
(String logLabel) get sync objects from the databasevoid
retrieveIncrementalSyncMembers
(String logLabel) get sync objects from the databasevoid
get sync objects from the database.void
void
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner) void
updateSubjectLink
(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
-
-