Class GrouperProvisioningData
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningData
main list of wrapper beans
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAndIndexEntityWrapper
(ProvisioningEntityWrapper provisioningEntityWrapper) void
addAndIndexGroupWrapper
(ProvisioningGroupWrapper provisioningGroupWrapper) void
addAndIndexMembershipWrapper
(ProvisioningMembershipWrapper provisioningMembershipWrapper) void
addIncrementalEntity
(String memberId, boolean recalcEntity, boolean recalcMemberships, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction) void
addIncrementalGroup
(String groupId, boolean recalcGroup, boolean recalcMemberships, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction) void
addIncrementalMembership
(String groupId, String memberId, boolean recalcMembership, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction) cache json to provisioning entity so the json doesnt have to be parsed repeatedlycache json to provisioning group so the json doesnt have to be parsed repeatedlyIf we have tried to select the provisioning object from grouper.If we have tried to select the provisioning object from grouper.map of retrieved entity to target native entity, optional, only if the target native entity is needed later onmap of retrieved group to target native group, optional, only if the target native group is needed later onparseJsonCacheEntity
(String json) convert from json to provisioningEntityparseJsonCacheGroup
(String json) convert from json to provisioningGroupvoid
removeAndUnindexEntityWrapper
(ProvisioningEntityWrapper provisioningEntityWrapper) void
removeAndUnindexGroupWrapper
(ProvisioningGroupWrapper provisioningGroupWrapper) void
removeAndUnindexMembershipWrapper
(ProvisioningMembershipWrapper provisioningMembershipWrapper) extract list of non null sync groupsextract list of non null sync membersextract list of non null sync Membershipsextract list of non null grouper provisioning entitiesextract list of non null grouper provisioning groupsretrieveGrouperProvisioningMemberships
(Boolean forCreate) extract list of non null grouper provisioning membershipextract list of non null grouper target entitiesextract list of non null grouper target groupsretrieveGrouperTargetMemberships
(Boolean forCreate) extract list of non null grouper target membershipsextract list of non null target provisioning entitiesextract list of non null target provisioning groupsextract list of non null target provisioning membershipsextract list of non null target provisioning entitiesextract list of non null target provisioning groupsextract list of non null target provisioning membershipsvoid
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner) void
setMembershipValuesThatExistInGrouperLowercaseIfNeeded
(Set<Object> membershipValuesThatExistInGrouper)
-
Constructor Details
-
GrouperProvisioningData
public GrouperProvisioningData()
-
-
Method Details
-
getTargetEntityToTargetNativeEntity
map of retrieved entity to target native entity, optional, only if the target native entity is needed later on- Returns:
-
getTargetGroupToTargetNativeGroup
map of retrieved group to target native group, optional, only if the target native group is needed later on- Returns:
-
getCacheJsonToProvisioningGroup
cache json to provisioning group so the json doesnt have to be parsed repeatedly- Returns:
-
parseJsonCacheEntity
convert from json to provisioningEntity- Parameters:
json
-- Returns:
- the provisioningEntity
-
parseJsonCacheGroup
convert from json to provisioningGroup- Parameters:
json
-- Returns:
- the provisioningGroup
-
getCacheJsonToProvisioningEntity
cache json to provisioning entity so the json doesnt have to be parsed repeatedly- Returns:
-
addAndIndexGroupWrapper
- Parameters:
provisioningGroupWrapper
-
-
addAndIndexEntityWrapper
- Parameters:
provisioningEntityWrapper
-
-
removeAndUnindexEntityWrapper
- Parameters:
provisioningEntityWrapper
-
-
removeAndUnindexGroupWrapper
- Parameters:
provisioningGroupWrapper
-
-
addAndIndexMembershipWrapper
public void addAndIndexMembershipWrapper(ProvisioningMembershipWrapper provisioningMembershipWrapper) - Parameters:
provisioningMembershipWrapper
-
-
getGrouperProvisioner
-
setGrouperProvisioner
-
getProvisioningGroupWrappers
-
getProvisioningEntityWrappers
-
getProvisioningMembershipWrappers
-
retrieveTargetProvisioningGroups
extract list of non null target provisioning groups- Returns:
- groups
-
retrieveTargetProvisioningEntities
extract list of non null target provisioning entities- Returns:
- entities
-
retrieveTargetProvisioningMemberships
extract list of non null target provisioning memberships- Returns:
- memberships
-
retrieveGrouperTargetGroups
extract list of non null grouper target groups- Returns:
- groups
-
retrieveGrouperTargetEntities
extract list of non null grouper target entities- Returns:
- groups
-
retrieveGrouperTargetMemberships
extract list of non null grouper target memberships- Parameters:
forCreate
- - null means all, true means only if we're in the create and we're creating memberships while we create groups and entities, false means we're just doing updates and deletes- Returns:
- groups
-
retrieveGrouperTargetProvisioningLists
- Returns:
- the lists
-
retrieveGrouperProvisioningGroups
extract list of non null grouper provisioning groups- Returns:
- groups
-
retrieveGrouperProvisioningMemberships
extract list of non null grouper provisioning membership- Parameters:
forCreate
- - null means all, true means only if we're in the create and we're creating memberships while we create groups and entities, false means we're just doing updates and deletes- Returns:
- memberships
-
retrieveGcGrouperSyncMembers
extract list of non null sync members- Returns:
- groups
-
retrieveGcGrouperSyncGroups
extract list of non null sync groups- Returns:
- groups
-
retrieveGcGrouperSyncMemberships
extract list of non null sync Memberships- Returns:
- groups
-
retrieveGrouperProvisioningEntities
extract list of non null grouper provisioning entities- Returns:
- groups
-
retrieveIncrementalEntities
extract list of non null target provisioning entities- Returns:
- ProvisioningGroups or ProvisioningStateEntities
-
retrieveIncrementalGroups
extract list of non null target provisioning groups- Returns:
- ProvisioningGroups or ProvisioningStateGroups
-
retrieveIncrementalMemberships
extract list of non null target provisioning memberships- Returns:
- memberships
-
addIncrementalGroup
public void addIncrementalGroup(String groupId, boolean recalcGroup, boolean recalcMemberships, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction) -
addIncrementalEntity
public void addIncrementalEntity(String memberId, boolean recalcEntity, boolean recalcMemberships, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction) -
addIncrementalMembership
public void addIncrementalMembership(String groupId, String memberId, boolean recalcMembership, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction) -
removeAndUnindexMembershipWrapper
public void removeAndUnindexMembershipWrapper(ProvisioningMembershipWrapper provisioningMembershipWrapper) - Parameters:
provisioningMembershipWrapper
-
-
setMembershipValuesThatExistInGrouperLowercaseIfNeeded
-
getMembershipValuesThatExistInGrouperLowercaseIfNeeded
-
getGroupIdsSelectedFromGrouper
If we have tried to select the provisioning object from grouper. The use is incremental pass2 selecting a group based on an entity recalc or an entity based on group recalc because you get memberships back and need to resolve the other side. -
getMemberIdsSelectedFromGrouper
If we have tried to select the provisioning object from grouper. The use is incremental pass2 selecting a group based on an entity recalc or an entity based on group recalc because you get memberships back and need to resolve the other side.
-