Interface ComputedGroupsService

All Known Implementing Classes:
ComputedGroupsServiceImpl

public interface ComputedGroupsService
Interface for computed group service.
Author:
tiry
  • Method Details

    • 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

      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