Class RentersServiceDTORepoImpl
java.lang.Object
info.ejava.assignments.api.houserenters.svc.renters.RentersServiceDTORepoImpl
- All Implemented Interfaces:
RentersService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRenter(RenterDTO newRenter) findRenterByUsername(String username) org.springframework.data.domain.Page<RenterDTO> getRenters(org.springframework.data.domain.Pageable pageable) booleanvoidvoidremoveRenter(String id) updateRenter(String id, RenterDTO updateRenter)
-
Field Details
-
repo
-
-
Constructor Details
-
RentersServiceDTORepoImpl
public RentersServiceDTORepoImpl()
-
-
Method Details
-
createRenter
- Specified by:
createRenterin interfaceRentersService
-
getRenter
- Specified by:
getRenterin interfaceRentersService
-
hasRenter
- Specified by:
hasRenterin interfaceRentersService
-
updateRenter
- Specified by:
updateRenterin interfaceRentersService
-
getRenters
public org.springframework.data.domain.Page<RenterDTO> getRenters(org.springframework.data.domain.Pageable pageable) - Specified by:
getRentersin interfaceRentersService
-
findRenterByUsername
- Specified by:
findRenterByUsernamein interfaceRentersService
-
removeRenter
- Specified by:
removeRenterin interfaceRentersService
-
removeAllRenters
public void removeAllRenters()- Specified by:
removeAllRentersin interfaceRentersService
-