Class GrouperObjectTypesDaemonLogic
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
edu.internet2.middleware.grouper.app.grouperTypes.GrouperObjectTypesDaemonLogic
- 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, GrouperObjectTypeObjectAttributes>> mapOfTypeToFolderNameToAttributes) static void
populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes
(String parentStemId, Map<String, Map<String, GrouperObjectTypeObjectAttributes>> mapOfTypeToGroupNameToAttributes) static void
propagateObjectTypesAttributes
(String typeName, Set<GrouperObjectTypeObjectAttributes> grouperObjectTypesAttributesToProcess, Map<String, GrouperObjectTypeObjectAttributes> grouperObjectTypesFolderAttributes, Map<String, Object> debugMap) static Map<String,
Map<String, GrouperObjectTypeObjectAttributes>> this method retrieves all types attributes assignments and values for all folders.static Map<String,
Map<String, GrouperObjectTypeObjectAttributes>> retrieveAllGroupsOfInterestForTypes
(Map<String, Map<String, GrouperObjectTypeObjectAttributes>> allStemsOfInterestForTypes) this method retrieves all types attributes assignments and values for all groups.static Map<String,
Map<String, GrouperObjectTypeObjectAttributes>> retrieveChildObjectTypesFolderAttributesByFolder
(String parentStemId) get object type attributes for a folder and its folder childrenstatic Map<String,
Map<String, GrouperObjectTypeObjectAttributes>> retrieveChildObjectTypesGroupAttributesByFolder
(String parentStemId) get object types attributes for groups under a folderstatic Map<String,
Map<String, GrouperObjectTypeObjectAttributes>> get object type 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
-
GrouperObjectTypesDaemonLogic
public GrouperObjectTypesDaemonLogic()
-
-
Method Details
-
retrieveAllFoldersOfInterestForTypes
public static Map<String,Map<String, retrieveAllFoldersOfInterestForTypes()GrouperObjectTypeObjectAttributes>> this method retrieves all types attributes assignments and values for all folders. Also it returns all folders underneath folders with types assigned.- Returns:
-
retrieveAllGroupsOfInterestForTypes
public static Map<String,Map<String, retrieveAllGroupsOfInterestForTypesGrouperObjectTypeObjectAttributes>> (Map<String, Map<String, GrouperObjectTypeObjectAttributes>> allStemsOfInterestForTypes) this method retrieves all types attributes assignments and values for all groups. Also it returns all groups underneath folders with types assigned.- Returns:
-
retrieveObjectTypeAttributesByGroup
public static Map<String,GrouperObjectTypeObjectAttributes> retrieveObjectTypeAttributesByGroup(String groupId) -
retrieveObjectTypeAttributesByStem
public static Map<String,GrouperObjectTypeObjectAttributes> retrieveObjectTypeAttributesByStem(String stemId) -
retrieveFolderAndAncestorObjectTypesAttributesByFolder
public static Map<String,Map<String, retrieveFolderAndAncestorObjectTypesAttributesByFolderGrouperObjectTypeObjectAttributes>> (String stemName) get object type 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
-
retrieveChildObjectTypesFolderAttributesByFolder
public static Map<String,Map<String, retrieveChildObjectTypesFolderAttributesByFolderGrouperObjectTypeObjectAttributes>> (String parentStemId) get object type attributes for a folder and its folder children- Parameters:
childStemId
-- Returns:
- the attributes
-
populateFolderChildrenOfAFolderWhichMayOrMayNotHaveAttributes
-
populateGroupChildrenOfAFolderWhichMayOrMayNotHaveAttributes
-
retrieveChildObjectTypesGroupAttributesByFolder
public static Map<String,Map<String, retrieveChildObjectTypesGroupAttributesByFolderGrouperObjectTypeObjectAttributes>> (String parentStemId) get object types attributes for groups under a folder- Parameters:
childStemId
-- Returns:
- the attributes
-
incrementalLogic
-
fullSyncLogic
-
propagateObjectTypesAttributes
public static void propagateObjectTypesAttributes(String typeName, Set<GrouperObjectTypeObjectAttributes> grouperObjectTypesAttributesToProcess, Map<String, GrouperObjectTypeObjectAttributes> grouperObjectTypesFolderAttributes, Map<String, Object> debugMap) - Parameters:
typeName
-grouperObjectTypesAttributesToProcess
-grouperObjectTypesFolderAttributes
-
-
run
Description copied from class:OtherJobBase
implement this method for the logic of the OtherJob- Specified by:
run
in classOtherJobBase
- Returns:
- the output
-