Class SimpleEclipseStoreRepository<T,ID>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.support.SimpleEclipseStoreRepository<T,ID>
- All Implemented Interfaces:
org.springframework.data.repository.CrudRepository<T,,ID> org.springframework.data.repository.ListCrudRepository<T,,ID> org.springframework.data.repository.ListPagingAndSortingRepository<T,,ID> org.springframework.data.repository.PagingAndSortingRepository<T,,ID> org.springframework.data.repository.Repository<T,,ID> EclipseStoreCrudRepository<T,,ID> EclipseStoreListCrudRepository<T,,ID> EclipseStoreListPagingAndSortingRepositoryRepository<T,,ID> EclipseStorePagingAndSortingRepositoryRepository<T,,ID> EclipseStoreRepository<T,ID>
public class SimpleEclipseStoreRepository<T,ID>
extends Object
implements EclipseStoreRepository<T,ID>, EclipseStorePagingAndSortingRepositoryRepository<T,ID>, EclipseStoreListPagingAndSortingRepositoryRepository<T,ID>, EclipseStoreCrudRepository<T,ID>, EclipseStoreListCrudRepository<T,ID>
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleEclipseStoreRepository(EclipseStoreStorage storage, WorkingCopier<T> copier, Class<T> domainClass) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()voidvoidvoidvoiddeleteAllById(Iterable<? extends ID> ids) voiddeleteById(ID id) booleanexistsById(ID id) findAll()org.springframework.data.domain.Page<T>findAll(org.springframework.data.domain.Pageable pageable) findAll(org.springframework.data.domain.Sort sort) findAllById(Iterable<ID> ids) <S extends T>
Ssave(S entity) saveBulk(Collection<S> entities)
-
Constructor Details
-
SimpleEclipseStoreRepository
public SimpleEclipseStoreRepository(EclipseStoreStorage storage, WorkingCopier<T> copier, Class<T> domainClass)
-
-
Method Details
-
getIdField
-
saveBulk
-
save
-
saveAll
-
findById
-
existsById
-
findAll
-
findAllById
-
count
public long count() -
deleteById
-
delete
-
deleteAllById
-
deleteAll
-
deleteAll
public void deleteAll() -
findAll
-
findAll
@Nonnull public org.springframework.data.domain.Page<T> findAll(@Nonnull org.springframework.data.domain.Pageable pageable)
-