Interface SettlementRepository
- All Superinterfaces:
CrudRepository<Settlement, SettlementPk>, GenericRepository<Settlement, SettlementPk>
-
Method Summary
Modifier and TypeMethodDescriptionfindById(@NonNull SettlementPk settlementPk) Retrieves an entity by its id.queryById(@NonNull SettlementPk settlementPk) Methods inherited from interface CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, save, saveAll, update, updateAll
-
Method Details
-
findById
Description copied from interface:CrudRepositoryRetrieves an entity by its id.- Specified by:
findByIdin interfaceCrudRepository<Settlement, SettlementPk>- Parameters:
settlementPk- The ID of the entity to retrieve. Must not be null.- Returns:
- the entity with the given id or Optional#empty() if none found
-
queryById
-
findAll
-