package org.argeo.slc.dao.test;\r
\r
+import java.util.Date;\r
import java.util.List;\r
\r
import org.argeo.slc.core.test.TestResult;\r
-import org.argeo.slc.core.test.TestResultId;\r
\r
/**\r
* The dao for <code>TestResult</code>.\r
* \r
* @see TestResult\r
*/\r
-public interface TestResultDao {\r
+public interface TestResultDao<T extends TestResult> {\r
/** Gets a test result based on its id. */\r
- public TestResult getTestResult(TestResultId id);\r
+ public T getTestResult(String uuid);\r
\r
/** Persists a new test result. */\r
public void create(TestResult testResult);\r
public void update(TestResult testResult);\r
\r
/** Lists all test results. */\r
- public List<TestResult> listTestResults();\r
+ public List<T> listTestResults();\r
+ \r
+\r
+ public void close(String id, Date closeDate);\r
}\r