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(String group)
GroupMembershipData
getBulkMembershipData(String group, Set<Long> filter)
GroupStructuralData
getBulkStructuralData(String group)
Map<String,GroupContents>
getGroupAndSubgroups(GroupStructuralData dataO)
Map<Long,Entity>
getGroupEntitiesNoContextWithoutTargeted(GroupMembershipData dataO)
Map<Long,Entity>
getGroupEntitiesNoContextWithTargeted(GroupMembershipData dataO)
Map<Long,Map<String,AttributeExt>>
getGroupUsersAttributes(String group, GroupMembershipData dataO)
Map<Long,EntityInGroupData>
getMembershipInfo(GroupMembershipData dataO)
GroupsWithMembers
getMembersWithAttributeForAllGroups(String rootGroup, Set<String> groupFilter)
-
-
-
Method Detail
-
getMembersWithAttributeForAllGroups
GroupsWithMembers getMembersWithAttributeForAllGroups(String rootGroup, Set<String> groupFilter)
-
getBulkMembershipData
GroupMembershipData getBulkMembershipData(String group) throws EngineException
- Throws:
EngineException
-
getBulkMembershipData
GroupMembershipData getBulkMembershipData(String group, Set<Long> filter) throws EngineException
- Throws:
EngineException
-
getGroupUsersAttributes
Map<Long,Map<String,AttributeExt>> getGroupUsersAttributes(String group, GroupMembershipData dataO)
-
getGroupEntitiesNoContextWithTargeted
Map<Long,Entity> getGroupEntitiesNoContextWithTargeted(GroupMembershipData dataO)
-
getGroupEntitiesNoContextWithoutTargeted
Map<Long,Entity> getGroupEntitiesNoContextWithoutTargeted(GroupMembershipData dataO)
-
getMembershipInfo
Map<Long,EntityInGroupData> getMembershipInfo(GroupMembershipData dataO)
-
getBulkStructuralData
GroupStructuralData getBulkStructuralData(String group) throws EngineException
- Throws:
EngineException
-
getGroupAndSubgroups
Map<String,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)
-
-