Package vaultWeb.repositories
Interface GroupMemberRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<GroupMember,,Long> org.springframework.data.jpa.repository.JpaRepository<GroupMember,,Long> org.springframework.data.repository.ListCrudRepository<GroupMember,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<GroupMember,,Long> org.springframework.data.repository.PagingAndSortingRepository<GroupMember,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<GroupMember>,org.springframework.data.repository.Repository<GroupMember,Long>
@Repository
public interface GroupMemberRepository
extends org.springframework.data.jpa.repository.JpaRepository<GroupMember,Long>
-
Method Summary
Modifier and TypeMethodDescriptionlongcountByGroupAndRole(Group group, Role role) voiddeleteByGroupAndUser(Group group, User userId) findAllByGroup(Group group) findByGroupAndUser(Group group, User user) findByGroupIdAndUserId(Long groupId, Long userId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByGroupAndUser
-
findByGroupIdAndUserId
-
findAllByGroup
-
deleteByGroupAndUser
-
countByGroupAndRole
-