Interface RolesRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Roles,java.util.UUID>,org.springframework.data.jpa.repository.JpaRepository<Roles,java.util.UUID>,org.springframework.data.repository.PagingAndSortingRepository<Roles,java.util.UUID>,org.springframework.data.repository.query.QueryByExampleExecutor<Roles>,org.springframework.data.repository.Repository<Roles,java.util.UUID>
@Repository public interface RolesRepository extends org.springframework.data.jpa.repository.JpaRepository<Roles,java.util.UUID>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexistsByName(java.lang.String name)Checks if anRolesobject exists with the given role name.java.util.Optional<Roles>findByName(java.lang.String name)Find theRolesobject with the given role name.-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-