Class GrouperProvisioningData

java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningData

public class GrouperProvisioningData extends Object
main list of wrapper beans
  • Constructor Details

    • GrouperProvisioningData

      public GrouperProvisioningData()
  • Method Details

    • getTargetEntityToTargetNativeEntity

      public Map<ProvisioningEntity,Object> getTargetEntityToTargetNativeEntity()
      map of retrieved entity to target native entity, optional, only if the target native entity is needed later on
      Returns:
    • getTargetGroupToTargetNativeGroup

      public Map<ProvisioningGroup,Object> getTargetGroupToTargetNativeGroup()
      map of retrieved group to target native group, optional, only if the target native group is needed later on
      Returns:
    • getCacheJsonToProvisioningGroup

      public Map<String,ProvisioningGroup> getCacheJsonToProvisioningGroup()
      cache json to provisioning group so the json doesnt have to be parsed repeatedly
      Returns:
    • parseJsonCacheEntity

      public ProvisioningEntity parseJsonCacheEntity(String json)
      convert from json to provisioningEntity
      Parameters:
      json -
      Returns:
      the provisioningEntity
    • parseJsonCacheGroup

      public ProvisioningGroup parseJsonCacheGroup(String json)
      convert from json to provisioningGroup
      Parameters:
      json -
      Returns:
      the provisioningGroup
    • getCacheJsonToProvisioningEntity

      public Map<String,ProvisioningEntity> getCacheJsonToProvisioningEntity()
      cache json to provisioning entity so the json doesnt have to be parsed repeatedly
      Returns:
    • addAndIndexGroupWrapper

      public void addAndIndexGroupWrapper(ProvisioningGroupWrapper provisioningGroupWrapper)
      Parameters:
      provisioningGroupWrapper -
    • addAndIndexEntityWrapper

      public void addAndIndexEntityWrapper(ProvisioningEntityWrapper provisioningEntityWrapper)
      Parameters:
      provisioningEntityWrapper -
    • removeAndUnindexEntityWrapper

      public void removeAndUnindexEntityWrapper(ProvisioningEntityWrapper provisioningEntityWrapper)
      Parameters:
      provisioningEntityWrapper -
    • removeAndUnindexGroupWrapper

      public void removeAndUnindexGroupWrapper(ProvisioningGroupWrapper provisioningGroupWrapper)
      Parameters:
      provisioningGroupWrapper -
    • addAndIndexMembershipWrapper

      public void addAndIndexMembershipWrapper(ProvisioningMembershipWrapper provisioningMembershipWrapper)
      Parameters:
      provisioningMembershipWrapper -
    • getGrouperProvisioner

      public GrouperProvisioner getGrouperProvisioner()
    • setGrouperProvisioner

      public void setGrouperProvisioner(GrouperProvisioner grouperProvisioner)
    • getProvisioningGroupWrappers

      public Set<ProvisioningGroupWrapper> getProvisioningGroupWrappers()
    • getProvisioningEntityWrappers

      public Set<ProvisioningEntityWrapper> getProvisioningEntityWrappers()
    • getProvisioningMembershipWrappers

      public Set<ProvisioningMembershipWrapper> getProvisioningMembershipWrappers()
    • retrieveTargetProvisioningGroups

      public List<ProvisioningGroup> retrieveTargetProvisioningGroups()
      extract list of non null target provisioning groups
      Returns:
      groups
    • retrieveTargetProvisioningEntities

      public List<ProvisioningEntity> retrieveTargetProvisioningEntities()
      extract list of non null target provisioning entities
      Returns:
      entities
    • retrieveTargetProvisioningMemberships

      public List<ProvisioningMembership> retrieveTargetProvisioningMemberships()
      extract list of non null target provisioning memberships
      Returns:
      memberships
    • retrieveGrouperTargetGroups

      public List<ProvisioningGroup> retrieveGrouperTargetGroups()
      extract list of non null grouper target groups
      Returns:
      groups
    • retrieveGrouperTargetEntities

      public List<ProvisioningEntity> retrieveGrouperTargetEntities()
      extract list of non null grouper target entities
      Returns:
      groups
    • retrieveGrouperTargetMemberships

      public List<ProvisioningMembership> retrieveGrouperTargetMemberships(Boolean forCreate)
      extract list of non null grouper target memberships
      Parameters:
      forCreate - - null means all, true means only if we're in the create and we're creating memberships while we create groups and entities, false means we're just doing updates and deletes
      Returns:
      groups
    • retrieveGrouperTargetProvisioningLists

      public GrouperProvisioningLists retrieveGrouperTargetProvisioningLists()
      Returns:
      the lists
    • retrieveGrouperProvisioningGroups

      public List<ProvisioningGroup> retrieveGrouperProvisioningGroups()
      extract list of non null grouper provisioning groups
      Returns:
      groups
    • retrieveGrouperProvisioningMemberships

      public List<ProvisioningMembership> retrieveGrouperProvisioningMemberships(Boolean forCreate)
      extract list of non null grouper provisioning membership
      Parameters:
      forCreate - - null means all, true means only if we're in the create and we're creating memberships while we create groups and entities, false means we're just doing updates and deletes
      Returns:
      memberships
    • retrieveGcGrouperSyncMembers

      public List<GcGrouperSyncMember> retrieveGcGrouperSyncMembers()
      extract list of non null sync members
      Returns:
      groups
    • retrieveGcGrouperSyncGroups

      public List<GcGrouperSyncGroup> retrieveGcGrouperSyncGroups()
      extract list of non null sync groups
      Returns:
      groups
    • retrieveGcGrouperSyncMemberships

      public List<GcGrouperSyncMembership> retrieveGcGrouperSyncMemberships()
      extract list of non null sync Memberships
      Returns:
      groups
    • retrieveGrouperProvisioningEntities

      public List<ProvisioningEntity> retrieveGrouperProvisioningEntities()
      extract list of non null grouper provisioning entities
      Returns:
      groups
    • retrieveIncrementalEntities

      public List<Object> retrieveIncrementalEntities()
      extract list of non null target provisioning entities
      Returns:
      ProvisioningGroups or ProvisioningStateEntities
    • retrieveIncrementalGroups

      public List<Object> retrieveIncrementalGroups()
      extract list of non null target provisioning groups
      Returns:
      ProvisioningGroups or ProvisioningStateGroups
    • retrieveIncrementalMemberships

      public List<Object> retrieveIncrementalMemberships()
      extract list of non null target provisioning memberships
      Returns:
      memberships
    • addIncrementalGroup

      public void addIncrementalGroup(String groupId, boolean recalcGroup, boolean recalcMemberships, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction)
    • addIncrementalEntity

      public void addIncrementalEntity(String memberId, boolean recalcEntity, boolean recalcMemberships, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction)
    • addIncrementalMembership

      public void addIncrementalMembership(String groupId, String memberId, boolean recalcMembership, Long millisSince1970, GrouperIncrementalDataAction grouperIncrementalDataAction)
    • removeAndUnindexMembershipWrapper

      public void removeAndUnindexMembershipWrapper(ProvisioningMembershipWrapper provisioningMembershipWrapper)
      Parameters:
      provisioningMembershipWrapper -
    • setMembershipValuesThatExistInGrouperLowercaseIfNeeded

      public void setMembershipValuesThatExistInGrouperLowercaseIfNeeded(Set<Object> membershipValuesThatExistInGrouper)
    • getMembershipValuesThatExistInGrouperLowercaseIfNeeded

      public Set<Object> getMembershipValuesThatExistInGrouperLowercaseIfNeeded()
    • getGroupIdsSelectedFromGrouper

      public Set<String> getGroupIdsSelectedFromGrouper()
      If we have tried to select the provisioning object from grouper. The use is incremental pass2 selecting a group based on an entity recalc or an entity based on group recalc because you get memberships back and need to resolve the other side.
    • getMemberIdsSelectedFromGrouper

      public Set<String> getMemberIdsSelectedFromGrouper()
      If we have tried to select the provisioning object from grouper. The use is incremental pass2 selecting a group based on an entity recalc or an entity based on group recalc because you get memberships back and need to resolve the other side.