Package pl.edu.icm.unity.engine.api.bulk
Interface BulkGroupQueryService
-
public interface BulkGroupQueryService
Supports fast resolving of data about a group contents in bulk. Usage pattern: first callgetBulkMembershipData(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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupMembershipData
getBulkMembershipData(java.lang.String group)
GroupMembershipData
getBulkMembershipData(java.lang.String group, java.util.Set<java.lang.Long> filter)
GroupStructuralData
getBulkStructuralData(java.lang.String group)
java.util.Map<java.lang.String,pl.edu.icm.unity.types.basic.GroupContents>
getGroupAndSubgroups(GroupStructuralData dataO)
java.util.Map<java.lang.Long,pl.edu.icm.unity.types.basic.Entity>
getGroupEntitiesNoContextWithoutTargeted(GroupMembershipData dataO)
java.util.Map<java.lang.Long,pl.edu.icm.unity.types.basic.Entity>
getGroupEntitiesNoContextWithTargeted(GroupMembershipData dataO)
java.util.Map<java.lang.Long,java.util.Map<java.lang.String,pl.edu.icm.unity.types.basic.AttributeExt>>
getGroupUsersAttributes(java.lang.String group, GroupMembershipData dataO)
java.util.Map<java.lang.Long,EntityInGroupData>
getMembershipInfo(GroupMembershipData dataO)
GroupsWithMembers
getMembersWithAttributeForAllGroups(java.lang.String rootGroup, java.util.Set<java.lang.String> groupFilter)
-
-
-
Method Detail
-
getMembersWithAttributeForAllGroups
GroupsWithMembers getMembersWithAttributeForAllGroups(java.lang.String rootGroup, java.util.Set<java.lang.String> groupFilter)
-
getBulkMembershipData
GroupMembershipData getBulkMembershipData(java.lang.String group) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
getBulkMembershipData
GroupMembershipData getBulkMembershipData(java.lang.String group, java.util.Set<java.lang.Long> filter) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
getGroupUsersAttributes
java.util.Map<java.lang.Long,java.util.Map<java.lang.String,pl.edu.icm.unity.types.basic.AttributeExt>> getGroupUsersAttributes(java.lang.String group, GroupMembershipData dataO)
-
getGroupEntitiesNoContextWithTargeted
java.util.Map<java.lang.Long,pl.edu.icm.unity.types.basic.Entity> getGroupEntitiesNoContextWithTargeted(GroupMembershipData dataO)
-
getGroupEntitiesNoContextWithoutTargeted
java.util.Map<java.lang.Long,pl.edu.icm.unity.types.basic.Entity> getGroupEntitiesNoContextWithoutTargeted(GroupMembershipData dataO)
-
getMembershipInfo
java.util.Map<java.lang.Long,EntityInGroupData> getMembershipInfo(GroupMembershipData dataO)
-
getBulkStructuralData
GroupStructuralData getBulkStructuralData(java.lang.String group) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
getGroupAndSubgroups
java.util.Map<java.lang.String,pl.edu.icm.unity.types.basic.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)
-
-