]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/dao/test/tree/TreeTestResultDao.java
FlowNamespace extended (flows in flows, param in arg)
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / dao / test / tree / TreeTestResultDao.java
1 package org.argeo.slc.dao.test.tree;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.argeo.slc.core.attachment.SimpleAttachment;
7 import org.argeo.slc.core.structure.tree.TreeSPath;
8 import org.argeo.slc.core.test.SimpleResultPart;
9 import org.argeo.slc.core.test.tree.TreeTestResult;
10 import org.argeo.slc.dao.test.TestResultDao;
11 import org.argeo.slc.structure.StructureElement;
12
13 /**
14 * Adds DAO features specific to tree test result.
15 *
16 * @see TreeTestResult
17 */
18 public interface TreeTestResultDao extends TestResultDao<TreeTestResult> {
19 /** Lists results containing this path */
20 public List<TreeTestResult> listResults(TreeSPath path);
21
22 /** Adds a result part related to this path */
23 public void addResultPart(String testResultId, TreeSPath path,
24 SimpleResultPart resultPart,
25 Map<TreeSPath, StructureElement> relatedElements);
26
27 /** Update attributes */
28 public void updateAttributes(String testResultId,
29 Map<String, String> attributes);
30
31 public void addAttachment(String testResultId, SimpleAttachment attachment);
32 }