Class GrouperAttestationDaemonLogic
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
edu.internet2.middleware.grouper.app.attestation.GrouperAttestationDaemonLogic
- 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
static void
populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes
(String parentStemId, Map<String, GrouperAttestationObjectAttributes> mapOfGroupNameToAttributes) static void
propagateAttestationAttributes
(Set<GrouperAttestationObjectAttributes> grouperAttestationAttributesToProcess, Map<String, GrouperAttestationObjectAttributes> grouperAttestationFolderAttributes, Map<String, Object> debugMap) this method retrieves all attestation attributes assignments and values for all folders.retrieveAllGroupsOfInterestForAttestation
(Map<String, GrouperAttestationObjectAttributes> allFoldersOfInterestForAttestation) this method retrieves all attestation attributes assignments and values for all groups.get attestation attributes for groups under a folderget attestation 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
-
GrouperAttestationDaemonLogic
public GrouperAttestationDaemonLogic()
-
-
Method Details
-
retrieveAllFoldersOfInterestForAttestation
public static Map<String,GrouperAttestationObjectAttributes> retrieveAllFoldersOfInterestForAttestation()this method retrieves all attestation attributes assignments and values for all folders. Also it returns all folders underneath folders with attestation attributes assigned.- Returns:
-
retrieveAllGroupsOfInterestForAttestation
public static Map<String,GrouperAttestationObjectAttributes> retrieveAllGroupsOfInterestForAttestation(Map<String, GrouperAttestationObjectAttributes> allFoldersOfInterestForAttestation) this method retrieves all attestation attributes assignments and values for all groups. Also it returns all groups underneath folders with attestation assigned.- Returns:
-
fullSyncLogic
-
propagateAttestationAttributes
public static void propagateAttestationAttributes(Set<GrouperAttestationObjectAttributes> grouperAttestationAttributesToProcess, Map<String, GrouperAttestationObjectAttributes> grouperAttestationFolderAttributes, Map<String, Object> debugMap) - Parameters:
grouperAttestationAttributesToProcess
-grouperAttestationFolderAttributes
-debugMap
-
-
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
-
retrieveAttestationAttributesByGroup
public static GrouperAttestationObjectAttributes retrieveAttestationAttributesByGroup(String groupId) -
retrieveAttestationAttributesByStem
-
retrieveFolderAndAncestorAttestationAttributesByFolder
public static Map<String,GrouperAttestationObjectAttributes> retrieveFolderAndAncestorAttestationAttributesByFolder(String stemName) get attestation attributes for a folder and its parents- Parameters:
stemName
-- Returns:
- the attributes
-
retrieveChildAttestationAttributesGroupAttributesByFolder
public static Map<String,GrouperAttestationObjectAttributes> retrieveChildAttestationAttributesGroupAttributesByFolder(String parentStemId) get attestation attributes for groups under a folder- Parameters:
childStemId
-- Returns:
- the attributes
-
populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes
public static void populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes(String parentStemId, Map<String, GrouperAttestationObjectAttributes> mapOfGroupNameToAttributes) -
incrementalLogic
-
run
Description copied from class:OtherJobBase
implement this method for the logic of the OtherJob- Specified by:
run
in classOtherJobBase
- Returns:
- the output
-
main
-