Package org.flasby.entity.repository
Interface UserRepository<TheUser extends org.flasby.entity.Users<Authority>>
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TheUser,Long>
,org.springframework.data.jpa.repository.JpaRepository<TheUser,Long>
,org.springframework.data.repository.PagingAndSortingRepository<TheUser,Long>
,org.springframework.data.repository.query.QueryByExampleExecutor<TheUser>
,org.springframework.data.repository.Repository<TheUser,Long>
@CrossOrigin public interface UserRepository<TheUser extends org.flasby.entity.Users<Authority>> extends org.springframework.data.jpa.repository.JpaRepository<TheUser,Long>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TheUser
findByName(String name)
List<TheUser>
findByRoles(Authority role)
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
-