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.query.QueryByExampleExecutor<T>,org.springframework.data.repository.Repository<T,,ID> EclipseStoreCrudRepository<T,,ID> EclipseStoreListCrudRepository<T,,ID> EclipseStoreListPagingAndSortingRepositoryRepository<T,,ID> EclipseStorePagingAndSortingRepositoryRepository<T,,ID> EclipseStoreQueryByExampleExecutor<T>,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>, EclipseStoreQueryByExampleExecutor<T>
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleEclipseStoreRepository(EclipseStoreStorage storage, WorkingCopier<T> copier, Class<T> domainClass, EclipseStoreTransactionManager transactionManager, IdManager<T, ID> idManager) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()<S extends T>
longcount(org.springframework.data.domain.Example<S> example) voidvoidvoidvoiddeleteAllById(Iterable<? extends ID> ids) voiddeleteById(ID id) <S extends T>
booleanexists(org.springframework.data.domain.Example<S> example) booleanexistsById(ID id) findAll()findAll(org.springframework.data.domain.Example<S> example) <S extends T>
org.springframework.data.domain.Page<S>findAll(org.springframework.data.domain.Example<S> example, org.springframework.data.domain.Pageable pageable) findAll(org.springframework.data.domain.Example<S> example, org.springframework.data.domain.Sort sort) org.springframework.data.domain.Page<T>findAll(org.springframework.data.domain.Pageable pageable) findAll(org.springframework.data.domain.Sort sort) findAllById(Iterable<ID> idsToFind) <S extends T,R>
RfindBy(org.springframework.data.domain.Example<S> example, Function<org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>, R> queryFunction) findOne(org.springframework.data.domain.Example<S> example) <S extends T>
Ssave(S entity) saveBulk(Collection<S> entities)
-
Constructor Details
-
SimpleEclipseStoreRepository
public SimpleEclipseStoreRepository(EclipseStoreStorage storage, WorkingCopier<T> copier, Class<T> domainClass, EclipseStoreTransactionManager transactionManager, IdManager<T, ID> idManager)
-
-
Method Details
-
saveBulk
-
save
-
saveAll
-
findById
-
existsById
-
findAll
-
findAllById
-
count
public long count() -
deleteById
- Specified by:
deleteByIdin interfaceorg.springframework.data.repository.CrudRepository<T,ID> - Specified by:
deleteByIdin interfaceEclipseStoreCrudRepository<T,ID> - Specified by:
deleteByIdin interfaceEclipseStoreListCrudRepository<T,ID>
-
delete
- Specified by:
deletein interfaceorg.springframework.data.repository.CrudRepository<T,ID> - Specified by:
deletein interfaceEclipseStoreCrudRepository<T,ID> - Specified by:
deletein interfaceEclipseStoreListCrudRepository<T,ID>
-
deleteAllById
- Specified by:
deleteAllByIdin interfaceorg.springframework.data.repository.CrudRepository<T,ID> - Specified by:
deleteAllByIdin interfaceEclipseStoreCrudRepository<T,ID> - Specified by:
deleteAllByIdin interfaceEclipseStoreListCrudRepository<T,ID>
-
deleteAll
- Specified by:
deleteAllin interfaceorg.springframework.data.repository.CrudRepository<T,ID> - Specified by:
deleteAllin interfaceEclipseStoreCrudRepository<T,ID> - Specified by:
deleteAllin interfaceEclipseStoreListCrudRepository<T,ID>
-
deleteAll
public void deleteAll()- Specified by:
deleteAllin interfaceorg.springframework.data.repository.CrudRepository<T,ID> - Specified by:
deleteAllin interfaceEclipseStoreCrudRepository<T,ID> - Specified by:
deleteAllin interfaceEclipseStoreListCrudRepository<T,ID>
-
findAll
-
findAll
@Nonnull public org.springframework.data.domain.Page<T> findAll(@Nonnull org.springframework.data.domain.Pageable pageable) -
findOne
- Specified by:
findOnein interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-
findAll
- Specified by:
findAllin interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-
findAll
public <S extends T> Iterable<S> findAll(org.springframework.data.domain.Example<S> example, org.springframework.data.domain.Sort sort) - Specified by:
findAllin interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-
findAll
public <S extends T> org.springframework.data.domain.Page<S> findAll(org.springframework.data.domain.Example<S> example, org.springframework.data.domain.Pageable pageable) - Specified by:
findAllin interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-
count
- Specified by:
countin interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-
exists
- Specified by:
existsin interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-
findBy
public <S extends T,R> R findBy(org.springframework.data.domain.Example<S> example, Function<org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>, R> queryFunction) - Specified by:
findByin interfaceorg.springframework.data.repository.query.QueryByExampleExecutor<T>
-