@Repository public class GraphRepositoryImpl<T> extends Object implements GraphRepository<T>
Constructor and Description |
---|
GraphRepositoryImpl(Class<T> clazz,
Neo4jOperations neo4jOperations) |
Modifier and Type | Method and Description |
---|---|
long |
count() |
void |
delete(Iterable<? extends T> ts) |
void |
delete(Long id) |
void |
delete(T t) |
void |
deleteAll() |
boolean |
exists(Long id) |
Iterable<T> |
findAll() |
Iterable<T> |
findAll(int depth) |
Iterable<T> |
findAll(Iterable<Long> longs) |
Iterable<T> |
findAll(Iterable<Long> ids,
int depth) |
Iterable<T> |
findAll(Iterable<Long> ids,
Sort sort) |
Iterable<T> |
findAll(Iterable<Long> ids,
Sort sort,
int depth) |
Page<T> |
findAll(Pageable pageable) |
Page<T> |
findAll(Pageable pageable,
int depth) |
Iterable<T> |
findAll(Sort sort) |
Iterable<T> |
findAll(Sort sort,
int depth) |
T |
findOne(Long id) |
T |
findOne(Long id,
int depth) |
<S extends T> |
save(Iterable<S> entities) |
<S extends T> |
save(Iterable<S> ses,
int depth) |
<S extends T> |
save(S entity) |
<S extends T> |
save(S s,
int depth) |
public GraphRepositoryImpl(Class<T> clazz, Neo4jOperations neo4jOperations)
public <S extends T> S save(S entity)
save
in interface CrudRepository<T,Long>
public <S extends T> Iterable<S> save(Iterable<S> entities)
save
in interface CrudRepository<T,Long>
public boolean exists(Long id)
exists
in interface CrudRepository<T,Long>
public long count()
count
in interface CrudRepository<T,Long>
public void delete(Long id)
delete
in interface CrudRepository<T,Long>
public void delete(T t)
delete
in interface CrudRepository<T,Long>
public void delete(Iterable<? extends T> ts)
delete
in interface CrudRepository<T,Long>
public void deleteAll()
deleteAll
in interface CrudRepository<T,Long>
public <S extends T> S save(S s, int depth)
save
in interface GraphRepository<T>
public <S extends T> Iterable<S> save(Iterable<S> ses, int depth)
save
in interface GraphRepository<T>
public T findOne(Long id, int depth)
findOne
in interface GraphRepository<T>
public Iterable<T> findAll()
findAll
in interface GraphRepository<T>
findAll
in interface CrudRepository<T,Long>
public Iterable<T> findAll(int depth)
findAll
in interface GraphRepository<T>
public Iterable<T> findAll(Iterable<Long> longs)
findAll
in interface GraphRepository<T>
findAll
in interface CrudRepository<T,Long>
public Iterable<T> findAll(Iterable<Long> ids, int depth)
findAll
in interface GraphRepository<T>
public Iterable<T> findAll(Sort sort)
findAll
in interface GraphRepository<T>
findAll
in interface PagingAndSortingRepository<T,Long>
public Iterable<T> findAll(Sort sort, int depth)
findAll
in interface GraphRepository<T>
public Iterable<T> findAll(Iterable<Long> ids, Sort sort)
findAll
in interface GraphRepository<T>
public Iterable<T> findAll(Iterable<Long> ids, Sort sort, int depth)
findAll
in interface GraphRepository<T>
public Page<T> findAll(Pageable pageable)
findAll
in interface GraphRepository<T>
findAll
in interface PagingAndSortingRepository<T,Long>
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.