|
Spring Data Neo4j | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@NoRepositoryBean public interface CRUDRepository<T>
CRUD interface for graph repositories, used as base repository for crud operations
| Method Summary | ||
|---|---|---|
long |
count()
uses the configured TypeRepresentationStrategy, depending on the strategy this number might be an approximation |
|
void |
delete(Iterable<? extends T> entities)
deletes the given entities by calling their entity.remove() methods |
|
void |
delete(T entity)
deletes the given entity by calling its entity.remove() method |
|
void |
deleteAll()
removes all entities of this type, use with care |
|
boolean |
exists(Long id)
|
|
EndResult<T> |
findAll()
uses the configured TypeRepresentationStrategy to load all entities, might return a large result |
|
org.springframework.data.domain.Page<T> |
findAll(org.springframework.data.domain.Pageable pageable)
finder that takes the provided sorting and paging into account NOTE: the sorting is not yet implemented |
|
EndResult<T> |
findAll(org.springframework.data.domain.Sort sort)
finder that takes the provided sorting into account NOTE: the sorting is not yet implemented |
|
T |
findOne(Long id)
|
|
Class |
getStoredJavaType(Object entity)
|
|
EndResult<T> |
query(String query,
Map<String,Object> params)
|
|
|
save(Iterable<U> entities)
persists the provided entities by forwarding to their entity.persist() methods |
|
|
save(U entity)
persists an entity by forwarding to entity.persist() |
|
| Methods inherited from interface org.springframework.data.repository.CrudRepository |
|---|
delete, findAll |
| Method Detail |
|---|
@Transactional <U extends T> U save(U entity)
save in interface org.springframework.data.repository.CrudRepository<T,Long>entity - to be persisted
@Transactional <U extends T> Iterable<U> save(Iterable<U> entities)
save in interface org.springframework.data.repository.CrudRepository<T,Long>entities - to be persisted
T findOne(Long id)
findOne in interface org.springframework.data.repository.CrudRepository<T,Long>id - of the node or relationship-entity
boolean exists(Long id)
exists in interface org.springframework.data.repository.CrudRepository<T,Long>id -
EndResult<T> findAll()
findAll in interface org.springframework.data.repository.CrudRepository<T,Long>long count()
count in interface org.springframework.data.repository.CrudRepository<T,Long>@Transactional void delete(T entity)
delete in interface org.springframework.data.repository.CrudRepository<T,Long>entity - to delete@Transactional void delete(Iterable<? extends T> entities)
delete in interface org.springframework.data.repository.CrudRepository<T,Long>entities - to delete@Transactional void deleteAll()
deleteAll in interface org.springframework.data.repository.CrudRepository<T,Long>EndResult<T> findAll(org.springframework.data.domain.Sort sort)
findAll in interface org.springframework.data.repository.PagingAndSortingRepository<T,Long>sort -
org.springframework.data.domain.Page<T> findAll(org.springframework.data.domain.Pageable pageable)
findAll in interface org.springframework.data.repository.PagingAndSortingRepository<T,Long>pageable -
Class getStoredJavaType(Object entity)
EndResult<T> query(String query,
Map<String,Object> params)
|
Spring Data Neo4j | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||