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

@DisallowConcurrentExecution public class GrouperAttestationDaemonLogic extends OtherJobBase
  • 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

      public static Map<String,Object> 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

      public static GrouperAttestationObjectAttributes retrieveAttestationAttributesByStem(String stemId)
    • 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

      public void incrementalLogic(List<EsbEventContainer> esbEventContainers)
    • run

      Description copied from class: OtherJobBase
      implement this method for the logic of the OtherJob
      Specified by:
      run in class OtherJobBase
      Returns:
      the output
    • main

      public static void main(String[] args)