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 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 Summary
Modifier and TypeMethodDescriptiongetBulkMembershipData
(String group) getBulkMembershipData
(String group, Set<Long> filter) getBulkStructuralData
(String group) getGroupAndSubgroups
(GroupStructuralData dataO, String rootGroup) getGroupUsersAttributes
(String group, GroupMembershipData dataO) getMembersWithAttributeForAllGroups
(String rootGroup, Set<String> groupFilter)
-
Method Details
-
getMembersWithAttributeForAllGroups
-
getBulkMembershipData
- Throws:
EngineException
-
getBulkMembershipData
- Throws:
EngineException
-
getGroupUsersAttributes
-
getGroupEntitiesNoContextWithTargeted
-
getGroupEntitiesNoContextWithoutTargeted
-
getMembershipInfo
-
getBulkStructuralData
- Throws:
EngineException
-
getGroupAndSubgroups
- 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
-