Created
April 13, 2018 07:51
-
-
Save Pudding124/cda09a6e31c6324712317656648bf52e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface GraphRepository<T> extends Neo4jRepository<T, Long> { | |
<S extends T> S save(S s, int depth); | |
<S extends T> Iterable<S> save(Iterable<S> entities, int depth); | |
T findOne(Long id, int depth); | |
Iterable<T> findAll(); | |
Iterable<T> findAll(int depth); | |
Iterable<T> findAll(Sort sort); | |
Iterable<T> findAll(Sort sort, int depth); | |
Iterable<T> findAll(Iterable<Long> ids); | |
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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment