Class GrouperProvisioningGrouperDao
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningGrouperDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
if the membership query has stuff thats not in the group or entity query.void
If there is no match to a grouper membership, see if we can match the group or entityreference back up to the provisionergetGroupIdIfDirectGroupAssignmentByPITMarkerAttributeAssignId
(String markerAttributeAssignId) getMemberIdIfDirectMemberAssignmentByPITMarkerAttributeAssignId
(String markerAttributeAssignId) getStemIdIfDirectStemAssignmentByPITMarkerAttributeAssignId
(String markerAttributeAssignId) void
processWrappers
(GrouperProvisioningLists grouperProvisioningObjects) add wrappers to grouper data and put in grouper uuid maps, and list of wrappers put wrappers on the grouper objects and put in the grouper uuid maps in data object put these wrapper in the GrouperProvisioningData and GrouperProvisioningDataIndexget provisioning attributes for all foldersget provisioning attributes for all groupsretrieveAncestorProvisioningAttributesByFolder
(String childStemId) get provisioning attributes for a folder and its parentsretrieveChildProvisioningFolderAttributesByFolder
(String parentStemId) get provisioning attributes for a folder and its childrenretrieveChildProvisioningGroupAttributesByFolder
(String parentStemId) get provisioning attributes for groups under a folderretrieveGroups
(boolean retrieveAll, Collection<String> ids) get either all groups or a list of groupsretrieveGroupsFromNames
(Collection<String> names) retrieveMembers
(boolean retrieveAll, Collection<String> ids) int
retrieveMembershipCountForEntity
(ProvisioningEntityWrapper provisioningEntityWrapper) int
retrieveMembershipCountForGroup
(ProvisioningGroupWrapper provisioningGroupWrapper) retrieveMemberships
(boolean retrieveAll, Collection<String> groupUuidsForGroupSync, Collection<String> memberUuidsForEntitySync, Collection<MultiKey> groupUuidMemberUuids) retrieve member objects and it doesn't need to be in a provisionable group.get provisioning attributes for a single groupget all group ids that are policy groups from the list passed inretrieveProvisioningMemberAttributes
(boolean retrieveAll, List<String> memberIds) get provisioning attributes for given member idsvoid
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner1) reference back up to the provisioner
-
Constructor Details
-
GrouperProvisioningGrouperDao
public GrouperProvisioningGrouperDao()
-
-
Method Details
-
getGrouperProvisioner
reference back up to the provisioner- Returns:
- the provisioner
-
setGrouperProvisioner
reference back up to the provisioner- Parameters:
grouperProvisioner1
-
-
retrieveGroupsFromNames
-
retrieveGroups
get either all groups or a list of groups- Parameters:
retrieveAll
-ids
-- Returns:
- the groups
-
retrieveMembers
- Parameters:
retrieveAll
-ids
- - list of member uuids- Returns:
-
retrieveMembersNonProvisionable
retrieve member objects and it doesn't need to be in a provisionable group. It's for either entities or memberships to delete.- Parameters:
ids
- - list of member uuids- Returns:
-
retrieveMemberships
public List<ProvisioningMembership> retrieveMemberships(boolean retrieveAll, Collection<String> groupUuidsForGroupSync, Collection<String> memberUuidsForEntitySync, Collection<MultiKey> groupUuidMemberUuids) - Parameters:
retrieveAll
-ids
-- Returns:
- the memberships
-
processWrappers
add wrappers to grouper data and put in grouper uuid maps, and list of wrappers put wrappers on the grouper objects and put in the grouper uuid maps in data object put these wrapper in the GrouperProvisioningData and GrouperProvisioningDataIndex -
fixGrouperProvisioningMembershipReferences
public void fixGrouperProvisioningMembershipReferences()if the membership query has stuff thats not in the group or entity query. and change the membership references to the group and entities retrieved point the membership pointers to groups and entities to what they should point to and fix data problems (for instance race conditions as data was retrieved) -
fixGrouperTargetMembershipReferences
public void fixGrouperTargetMembershipReferences()If there is no match to a grouper membership, see if we can match the group or entity -
retrieveGrouperDataFull
-
retrieveGrouperDataIncrementalGroupsEntities
-
retrieveGrouperDataIncrementalMemberships
-
retrieveAllProvisioningFolderAttributes
get provisioning attributes for all folders- Returns:
- the attributes
-
retrieveAllProvisioningGroupAttributes
get provisioning attributes for all groups- Returns:
- the attributes
-
retrieveProvisioningMemberAttributes
public Map<String,GrouperProvisioningObjectAttributes> retrieveProvisioningMemberAttributes(boolean retrieveAll, List<String> memberIds) get provisioning attributes for given member ids- Returns:
- the attributes
-
retrieveProvisioningGroupAttributesByGroup
public GrouperProvisioningObjectAttributes retrieveProvisioningGroupAttributesByGroup(String groupId) get provisioning attributes for a single group- Parameters:
groupId
-- Returns:
- the attributes
-
retrieveAncestorProvisioningAttributesByFolder
public Map<String,GrouperProvisioningObjectAttributes> retrieveAncestorProvisioningAttributesByFolder(String childStemId) get provisioning attributes for a folder and its parents- Parameters:
childStemId
-- Returns:
- the attributes
-
retrieveChildProvisioningFolderAttributesByFolder
public Map<String,GrouperProvisioningObjectAttributes> retrieveChildProvisioningFolderAttributesByFolder(String parentStemId) get provisioning attributes for a folder and its children- Parameters:
childStemId
-- Returns:
- the attributes
-
retrieveChildProvisioningGroupAttributesByFolder
public Map<String,GrouperProvisioningObjectAttributes> retrieveChildProvisioningGroupAttributesByFolder(String parentStemId) get provisioning attributes for groups under a folder- Parameters:
childStemId
-- Returns:
- the attributes
-
getStemIdIfDirectStemAssignmentByPITMarkerAttributeAssignId
public String getStemIdIfDirectStemAssignmentByPITMarkerAttributeAssignId(String markerAttributeAssignId) - Returns:
- stem id if is/was a direct folder assignment for this provisioner
-
getMemberIdIfDirectMemberAssignmentByPITMarkerAttributeAssignId
public String getMemberIdIfDirectMemberAssignmentByPITMarkerAttributeAssignId(String markerAttributeAssignId) - Returns:
- member id if is/was a direct member assignment for this provisioner
-
getGroupIdIfDirectGroupAssignmentByPITMarkerAttributeAssignId
public String getGroupIdIfDirectGroupAssignmentByPITMarkerAttributeAssignId(String markerAttributeAssignId) - Returns:
- group id if is/was a direct group assignment for this provisioner
-
retrieveProvisioningGroupIdsThatArePolicyGroups
get all group ids that are policy groups from the list passed in- Returns:
- group ids
-
retrieveMembershipCountForGroup
-
retrieveMembershipCountForEntity
-