backend.services.DBService Maven / Gradle / Ivy
package backend.services;
import org.neo4j.ogm.cypher.query.SortOrder;
/**
* Created by zua on 15/04/17.
*
* @param The type of managed domain entities
*/
public interface DBService {
public Iterable findAll();
public T find(String id);
public void save(T object);
public void delete(String id);
public long count();
public Class getClassType();
public SortOrder getSortOrderAsc();
public SortOrder getSortOrderDesc();
public Iterable executeQuery(String query);
public Iterable executeQuery(Class aClass, String query);
public T executeQueryForObject(String query);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy