Interface BulkGroupQueryService


public interface BulkGroupQueryService
Supports fast resolving of data about a group contents in bulk. Usage pattern: first call getBulkMembershipData(String) to obtain a data object. This is the slowest part. Then use it as an argument to other, fast methods converting it to desired contents.
  • Method Details

    • getMembersWithAttributeForAllGroups

      GroupsWithMembers getMembersWithAttributeForAllGroups(String rootGroup, Set<String> groupFilter)
    • getBulkMembershipData

      GroupMembershipData getBulkMembershipData(String group) throws pl.edu.icm.unity.base.exceptions.EngineException
      Throws:
      pl.edu.icm.unity.base.exceptions.EngineException
    • getBulkMembershipData

      GroupMembershipData getBulkMembershipData(String group, Set<Long> filter) throws pl.edu.icm.unity.base.exceptions.EngineException
      Throws:
      pl.edu.icm.unity.base.exceptions.EngineException
    • getGroupUsersAttributes

      Map<Long,Map<String,pl.edu.icm.unity.base.attribute.AttributeExt>> getGroupUsersAttributes(String group, GroupMembershipData dataO)
    • getGroupUsersDirectAttributes

      Map<Long,Map<String,pl.edu.icm.unity.base.attribute.AttributeExt>> getGroupUsersDirectAttributes(String group, GroupMembershipData dataO)
    • getGroupEntitiesNoContextWithTargeted

      Map<Long,pl.edu.icm.unity.base.entity.Entity> getGroupEntitiesNoContextWithTargeted(GroupMembershipData dataO)
    • getGroupEntitiesNoContextWithoutTargeted

      Map<Long,pl.edu.icm.unity.base.entity.Entity> getGroupEntitiesNoContextWithoutTargeted(GroupMembershipData dataO)
    • getMembershipInfo

      Map<Long,EntityInGroupData> getMembershipInfo(GroupMembershipData dataO)
    • getEntitiesGroups

      Map<Long,Set<String>> getEntitiesGroups(GroupMembershipData dataO)
    • getBulkStructuralData

      GroupStructuralData getBulkStructuralData(String group) throws pl.edu.icm.unity.base.exceptions.EngineException
      Throws:
      pl.edu.icm.unity.base.exceptions.EngineException
    • getGroupAndSubgroups

      Map<String,pl.edu.icm.unity.base.group.GroupContents> getGroupAndSubgroups(GroupStructuralData dataO)
      Returns:
      keys of the returned map include the selected group and all its children. Values are objects with group's metadata and subgroups (but without members)
    • getGroupAndSubgroups

      Map<String,pl.edu.icm.unity.base.group.GroupContents> getGroupAndSubgroups(GroupStructuralData dataO, String rootGroup)