Interface DynamicGroup

    • Method Detail

      • getRoles

        RoleSet getRoles()
        Get the roles that are part of this group
        Returns:
        a set of roles
      • setRoles

        void setRoles​(RoleSet roleSet)
        Set the roles that are part of this group
        Parameters:
        roleSet - a set of roles
      • addRole

        void addRole​(Role role)
        Add a role to this group
        Parameters:
        role - the role to add
      • removeRole

        void removeRole​(Role role)
        Remove a role from this group
        Parameters:
        role - the role to remove
      • setRolesAsSet

        <T extends Role> void setRolesAsSet​(Set<T> roles)
        Set the roles that are part of this group as Set
        Parameters:
        roles - a set of roles
      • getRolesAsSet

        <T extends RoleSet<T> getRolesAsSet()
        Get the roles that are part of this group as Set
        Returns:
        a set of roles