Interface GroupRepository

    • Method Detail

      • getGroupIdsForNames

        @Query("select g.id from GroupImpl g where g.name in (?1)")
        List<Integer> getGroupIdsForNames​(List<String> groupNames)
      • findGroupsForApplicationRole

        @Query("select g from GroupImpl g join g.roles r where r.id = ?1")
        List<GroupImpl> findGroupsForApplicationRole​(Integer applicationRoleId)
      • getGroup

        @Query("select g from GroupImpl g left join fetch g.roles r left join fetch r.permissions p where g.id = ?1")
        GroupImpl getGroup​(Integer groupId)
      • findByDefaultAdmin

        List<GroupImpl> findByDefaultAdmin​(boolean defaultAdmin)