Package it.univr.passportease.repository
Interface RequestTypeRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RequestType,
,UUID> org.springframework.data.jpa.repository.JpaRepository<RequestType,
,UUID> org.springframework.data.repository.ListCrudRepository<RequestType,
,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<RequestType,
,UUID> org.springframework.data.repository.PagingAndSortingRepository<RequestType,
,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<RequestType>
,org.springframework.data.repository.Repository<RequestType,
UUID>
@Repository
public interface RequestTypeRepository
extends org.springframework.data.jpa.repository.JpaRepository<RequestType,UUID>
Repository for the
RequestType
entity.-
Method Summary
Modifier and TypeMethodDescriptionfindByName
(String name) Finds theRequestType
with the given name.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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByName
Finds theRequestType
with the given name.- Parameters:
name
- the name of theRequestType
to find- Returns:
- the
RequestType
with the given name, as anOptional
-