Class POJORepositoryMapImpl<T>
java.lang.Object
info.ejava.assignments.api.houserenters.svc.POJORepositoryMapImpl<T>
- Type Parameters:
T- object type
- All Implemented Interfaces:
POJORepository<T>, org.springframework.data.repository.CrudRepository<T,String>, org.springframework.data.repository.ListCrudRepository<T, String>, org.springframework.data.repository.ListPagingAndSortingRepository<T, String>, org.springframework.data.repository.PagingAndSortingRepository<T, String>, org.springframework.data.repository.Repository<T, String>
- Direct Known Subclasses:
RentersDTORepositoryMapImpl
This class implemenets the full Spring Data CRUD Repository interface
for a templated object type using a String primary key.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcount()voidmethods to round out the interfacevoidvoidvoiddeleteAllById(Iterable<? extends String> ids) voiddeleteById(String id) booleanexistsById(String id) findAll()protected org.springframework.data.domain.Page<T> org.springframework.data.domain.Page<T> findAll(org.springframework.data.domain.Pageable pageable) findAll(org.springframework.data.domain.Sort sort) findAllById(Iterable<String> strings) protected StringnextId()<S extends T>
Ssave(S obj)
-
Field Details
-
ID
-
objects
-
getId
-
setId
-
idPrefix
-
-
Constructor Details
-
POJORepositoryMapImpl
public POJORepositoryMapImpl()
-
-
Method Details
-
nextId
-
save
-
saveAll
-
findById
-
existsById
-
findAll
-
findAllById
-
findAll
-
findAll
-
findAll
-
findFirst
-
count
-
deleteById
-
deleteAll
-
delete
-
deleteAllById
-
deleteAll
-
findAll
-