1 package org
.argeo
.slc
.dao
.test
.tree
;
5 import java
.util
.SortedSet
;
7 import org
.argeo
.slc
.core
.test
.tree
.ResultAttributes
;
8 import org
.argeo
.slc
.core
.test
.tree
.TreeTestResult
;
9 import org
.argeo
.slc
.core
.test
.tree
.TreeTestResultCollection
;
11 /** Collections DAO */
12 public interface TreeTestResultCollectionDao
{
13 public void create(TreeTestResultCollection ttrCollection
);
15 public void update(TreeTestResultCollection ttrCollection
);
17 public void delete(TreeTestResultCollection ttrCollection
);
19 public TreeTestResultCollection
getTestResultCollection(String id
);
21 /** Lists all collections */
22 public SortedSet
<TreeTestResultCollection
> listCollections();
25 * Lists only result ids and attributes of the results belonging to these
26 * collection, or all results if id is null.
28 public List
<ResultAttributes
> listResultAttributes(String collectionId
);
30 /** Lists results filtering based on the arguments. */
31 public List
<TreeTestResult
> listResults(String collectionId
,
32 Map
<String
, String
> attributes
);
34 /** Adds a result to a collection. */
35 public void addResultToCollection(TreeTestResultCollection ttrc
,
38 /** Removes a result from a collection. */
39 public void removeResultFromCollection(TreeTestResultCollection ttrc
,