Interface ComputedGroupsService
- All Known Implementing Classes:
ComputedGroupsServiceImpl
public interface ComputedGroupsService
Interface for computed group service.
- Author:
- tiry
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Defines if a computed group can override a physical group.Returns list of all computed groups (if this is available).computeGroupsForUser
(NuxeoPrincipalImpl nuxeoPrincipal) Returns list of ids for users computed groups.getComputedGroup
(String groupName, GroupConfig groupConfig) Resolves a computed group by it's name.getComputedGroupMembers
(String groupName) Retrieves member users for a given computed group.getComputedGroupParent
(String groupName) Retrieves parent group for a given computed group.getComputedGroupSubGroups
(String groupName) Retrieves sub groups for a given computed group.searchComputedGroups
(Map<String, Serializable> filter, Set<String> fulltext) Searches for a computed group.searchComputedGroups
(QueryBuilder queryBuilder) Searches for computed groups.void
updateGroupsForUser
(NuxeoPrincipalImpl nuxeoPrincipal) Update the virtual groups of the user with the computed groups.
-
Method Details
-
activateComputedGroups
boolean activateComputedGroups() -
computeGroupsForUser
Returns list of ids for users computed groups. -
updateGroupsForUser
Update the virtual groups of the user with the computed groups. -
getComputedGroup
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
Returns list of all computed groups (if this is available). -
getComputedGroupMembers
Retrieves member users for a given computed group. -
getComputedGroupParent
Retrieves parent group for a given computed group. -
getComputedGroupSubGroups
Retrieves sub groups for a given computed group. -
searchComputedGroups
Searches for a computed group. -
searchComputedGroups
Searches for computed groups.- Parameters:
queryBuilder
- the query- Returns:
- the list of computed group ids
- Since:
- 10.3
-