Interface BackofficeRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Backoffice,,Integer> org.springframework.data.jpa.repository.JpaRepository<Backoffice,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Backoffice,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Backoffice>,org.springframework.data.repository.Repository<Backoffice,Integer>
@Repository
public interface BackofficeRepository
extends org.springframework.data.jpa.repository.JpaRepository<Backoffice,Integer>
Repository interface to do queries for BackOffice data.
-
Method Summary
Modifier and TypeMethodDescriptionGetting status by id.findByName(String name) Getting status by Name.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
findByName
Getting status by Name.- Parameters:
name- backoffice.- Returns:
- the firm.
-
findById
Getting status by id.- Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<Backoffice,Integer> - Parameters:
id- core user Id.- Returns:
- the firm.
-