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) boolean
void
void
removeRenter
(String id) updateRenter
(String id, RenterDTO updateRenter)
-
Field Details
-
repo
-
-
Constructor Details
-
RentersServiceDTORepoImpl
public RentersServiceDTORepoImpl()
-
-
Method Details
-
createRenter
- Specified by:
createRenter
in interfaceRentersService
-
getRenter
- Specified by:
getRenter
in interfaceRentersService
-
hasRenter
- Specified by:
hasRenter
in interfaceRentersService
-
updateRenter
- Specified by:
updateRenter
in interfaceRentersService
-
getRenters
public org.springframework.data.domain.Page<RenterDTO> getRenters(org.springframework.data.domain.Pageable pageable) - Specified by:
getRenters
in interfaceRentersService
-
findRenterByUsername
- Specified by:
findRenterByUsername
in interfaceRentersService
-
removeRenter
- Specified by:
removeRenter
in interfaceRentersService
-
removeAllRenters
public void removeAllRenters()- Specified by:
removeAllRenters
in interfaceRentersService
-