]> git.somenet.org - pub/jan/dst18.git/blob - ass1-doc/src/main/java/dst/ass1/doc/IDocumentQuery.java
Make h2 delete EVERYTHING on connect.
[pub/jan/dst18.git] / ass1-doc / src / main / java / dst / ass1 / doc / IDocumentQuery.java
1 package dst.ass1.doc;
2
3 import java.util.List;
4
5 import org.bson.Document;
6
7 public interface IDocumentQuery {
8
9     Document findByMaterialId(Long materialId);
10
11     List<Long> findIdsByType(String typeSubstring);
12
13     List<Document> getDocumentStatistics();
14
15 }