Interface ComputedGroupsService
-
- All Known Implementing Classes:
ComputedGroupsServiceImpl
public interface ComputedGroupsServiceInterface for computed group service.- Author:
- tiry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanactivateComputedGroups()booleanallowGroupOverride()Defines if a computed group can override a physical group.List<String>computeGroupIds()Returns list of all computed groups (if this is available).List<String>computeGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)Returns list of ids for users computed groups.NuxeoGroupgetComputedGroup(String groupName)Deprecated.since 9.3NuxeoGroupgetComputedGroup(String groupName, GroupConfig groupConfig)Resolves a computed group by it's name.List<String>getComputedGroupMembers(String groupName)Retrieves member users for a given computed group.List<String>getComputedGroupParent(String groupName)Retrieves parent group for a given computed group.List<String>getComputedGroupSubGroups(String groupName)Retrieves sub groups for a given computed group.List<String>searchComputedGroups(Map<String,Serializable> filter, Set<String> fulltext)Searches for a computed group.List<String>searchComputedGroups(QueryBuilder queryBuilder)Searches for computed groups.voidupdateGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)Update the virtual groups of the user with the computed groups.
-
-
-
Method Detail
-
activateComputedGroups
boolean activateComputedGroups()
-
computeGroupsForUser
List<String> computeGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
Returns list of ids for users computed groups.
-
updateGroupsForUser
void updateGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
Update the virtual groups of the user with the computed groups.
-
getComputedGroup
@Deprecated NuxeoGroup getComputedGroup(String groupName)
Deprecated.since 9.3Resolves a computed group by it's name.
-
getComputedGroup
NuxeoGroup getComputedGroup(String groupName, GroupConfig groupConfig)
Resolves a computed group by it's name.- Since:
- 9.3
-
allowGroupOverride
boolean allowGroupOverride()
Defines if a computed group can override a physical group.
-
computeGroupIds
List<String> computeGroupIds()
Returns list of all computed groups (if this is available).
-
getComputedGroupMembers
List<String> getComputedGroupMembers(String groupName)
Retrieves member users for a given computed group.
-
getComputedGroupParent
List<String> getComputedGroupParent(String groupName)
Retrieves parent group for a given computed group.
-
getComputedGroupSubGroups
List<String> getComputedGroupSubGroups(String groupName)
Retrieves sub groups for a given computed group.
-
searchComputedGroups
List<String> searchComputedGroups(Map<String,Serializable> filter, Set<String> fulltext)
Searches for a computed group.
-
searchComputedGroups
List<String> searchComputedGroups(QueryBuilder queryBuilder)
Searches for computed groups.- Parameters:
queryBuilder- the query- Returns:
- the list of computed group ids
- Since:
- 10.3
-
-