Interface GroupServiceLocal

    • Method Detail

      • createNetworkAdmins

        AdminGroup createNetworkAdmins​(Network network)
        Creates the network administrators group for the given network
      • findByName

        Group findByName​(String name)
        Find a group by name
      • getAdminGroups

        List<AdminGroup> getAdminGroups()
        Return all enabled admin groups.
      • getBasicUserGroups

        Set<BasicGroup> getBasicUserGroups()
        Returns all enabled groups (including GroupSets) but excluding admin in the system In case groupsets are included, all of the groups contained in that groupset are also automatically included.
      • getGroupsUsingConfiguration

        List<BasicGroup> getGroupsUsingConfiguration​(Configuration configuration)
        Returns all groups which are associated with the given configuration
      • getGroupsUsingProduct

        List<BasicGroup> getGroupsUsingProduct​(Product product)
        Returns all groups which are associated to the given product
      • getSystemAdmins

        AdminGroup getSystemAdmins()
        Returns the default admins group, that is, either global admins if in global mode, or the current network admins otherwise
      • hasNonRemovedUsers

        boolean hasNonRemovedUsers​(Group group)
        Indicates whether there's at least one non-removed/purged user
      • hasUsers

        Boolean hasUsers​(BasicGroup basicGroup)
        returns true if there are users in the basic group