Class GrouperDeprovisioningDaemonLogic
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
edu.internet2.middleware.grouper.app.deprovisioning.GrouperDeprovisioningDaemonLogic
- All Implemented Interfaces:
org.quartz.Job
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.internet2.middleware.grouper.app.loader.OtherJobBase
OtherJobBase.OtherJobInput, OtherJobBase.OtherJobOutput
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
incrementalLogic
(List<EsbEventContainer> esbEventContainers) static void
populateFolderChildrenOfAFolderWhichMayOrMayNotHaveAttributes
(String parentStemId, Map<String, Map<String, GrouperDeprovisioningObjectAttributes>> mapOfAffiliationToFolderNameToAttributes) static void
populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes
(String parentStemId, Map<String, Map<String, GrouperDeprovisioningObjectAttributes>> mapOfAffliationToGroupNameToAttributes) static void
propagateAttributes
(String affiliationName, Set<GrouperDeprovisioningObjectAttributes> grouperDeprovisioningAttributesToProcess, Map<String, GrouperDeprovisioningObjectAttributes> grouperDeprovisioningFolderAttributes, Map<String, Object> debugMap) this method retrieves all deprovisioning attributes assignments and values for all attribute defs.this method retrieves all deprovisioning attributes assignments and values for all folders.retrieveAllGroupsOfInterestForDeprovisioning
(Map<String, Map<String, GrouperDeprovisioningObjectAttributes>> allStemsOfInterestForDeprovisioning) this method retrieves all deprovisioning attributes assignments and values for all groups.retrieveChildDeprovisioningFolderAttributesByFolder
(String parentStemId) get deprovisioning attributes for a folder and its folder childrenretrieveChildDeprovisioningGroupAttributesByFolder
(String parentStemId) get deprovisioning attributes for groups under a folderget deprovisioning attributes for a folder and its parentsstatic String
retrieveGroupIdIfDirectGroupAssignmentByPITMarkerAttributeAssignId
(String markerAttributeAssignId) static String
retrieveStemIdIfDirectStemAssignmentByPITMarkerAttributeAssignId
(String markerAttributeAssignId) run
(OtherJobBase.OtherJobInput otherJobInput) implement this method for the logic of the OtherJobMethods inherited from class edu.internet2.middleware.grouper.app.loader.OtherJobBase
execute, execute, getOtherJobInput, otherJobLogUpdaterDeregister, otherJobLogUpdaterInit, otherJobLogUpdaterRegister, setOtherJobInput, storeLogInDb
-
Constructor Details
-
GrouperDeprovisioningDaemonLogic
public GrouperDeprovisioningDaemonLogic()
-
-
Method Details
-
retrieveAllAttributeDefsOfInterestForDeprovisioning
public static Map<String,Map<String, retrieveAllAttributeDefsOfInterestForDeprovisioning()GrouperDeprovisioningObjectAttributes>> this method retrieves all deprovisioning attributes assignments and values for all attribute defs.- Returns:
-
retrieveAllFoldersOfInterestForDeprovisioning
public static Map<String,Map<String, retrieveAllFoldersOfInterestForDeprovisioning()GrouperDeprovisioningObjectAttributes>> this method retrieves all deprovisioning attributes assignments and values for all folders. Also it returns all folders underneath folders with deprovisioning assigned.- Returns:
-
retrieveAllGroupsOfInterestForDeprovisioning
public static Map<String,Map<String, retrieveAllGroupsOfInterestForDeprovisioningGrouperDeprovisioningObjectAttributes>> (Map<String, Map<String, GrouperDeprovisioningObjectAttributes>> allStemsOfInterestForDeprovisioning) this method retrieves all deprovisioning attributes assignments and values for all groups. Also it returns all groups underneath folders with deprovisioning attributes assigned.- Returns:
-
fullSyncLogic
-
propagateAttributes
public static void propagateAttributes(String affiliationName, Set<GrouperDeprovisioningObjectAttributes> grouperDeprovisioningAttributesToProcess, Map<String, GrouperDeprovisioningObjectAttributes> grouperDeprovisioningFolderAttributes, Map<String, Object> debugMap) - Parameters:
affiliationName
-grouperDeprovisioningAttributesToProcess
-grouperDeprovisioningFolderAttributes
-
-
retrieveDeprovisioningAttributesByGroup
public static Map<String,GrouperDeprovisioningObjectAttributes> retrieveDeprovisioningAttributesByGroup(String groupId) -
retrieveDeprovisioningAttributesByStem
public static Map<String,GrouperDeprovisioningObjectAttributes> retrieveDeprovisioningAttributesByStem(String stemId) -
retrieveFolderAndAncestorDeprovisioningAttributesByFolder
public static Map<String,Map<String, retrieveFolderAndAncestorDeprovisioningAttributesByFolderGrouperDeprovisioningObjectAttributes>> (String stemName) get deprovisioning attributes for a folder and its parents- Parameters:
stemName
-- Returns:
- the attributes
-
retrieveStemIdIfDirectStemAssignmentByPITMarkerAttributeAssignId
public static String retrieveStemIdIfDirectStemAssignmentByPITMarkerAttributeAssignId(String markerAttributeAssignId) - Returns:
- stem id if is/was a direct folder assignment
-
retrieveGroupIdIfDirectGroupAssignmentByPITMarkerAttributeAssignId
public static String retrieveGroupIdIfDirectGroupAssignmentByPITMarkerAttributeAssignId(String markerAttributeAssignId) - Returns:
- group id if is/was a direct group assignment
-
retrieveChildDeprovisioningFolderAttributesByFolder
public static Map<String,Map<String, retrieveChildDeprovisioningFolderAttributesByFolderGrouperDeprovisioningObjectAttributes>> (String parentStemId) get deprovisioning attributes for a folder and its folder children- Parameters:
childStemId
-- Returns:
- the attributes
-
populateFolderChildrenOfAFolderWhichMayOrMayNotHaveAttributes
-
populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes
-
retrieveChildDeprovisioningGroupAttributesByFolder
public static Map<String,Map<String, retrieveChildDeprovisioningGroupAttributesByFolderGrouperDeprovisioningObjectAttributes>> (String parentStemId) get deprovisioning attributes for groups under a folder- Parameters:
childStemId
-- Returns:
- the attributes
-
incrementalLogic
-
run
Description copied from class:OtherJobBase
implement this method for the logic of the OtherJob- Specified by:
run
in classOtherJobBase
- Returns:
- the output
-