X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdao%2FTestResultDao.java;fp=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdao%2FTestResultDao.java;h=dc30b05476204aa97eb64f1f4394be6f7e327248;hb=16e2ffb035a4c41576acc74efb37610c7aec1887;hp=0000000000000000000000000000000000000000;hpb=30f4c6af6c20077e5e36b61faf5edb22c1aae6c6;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/TestResultDao.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/TestResultDao.java new file mode 100644 index 000000000..dc30b0547 --- /dev/null +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/TestResultDao.java @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2010 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.argeo.slc.dao; + +import java.util.Date; +import java.util.List; + +import org.argeo.slc.test.TestResult; + +/** + * The dao for TestResult. + * + * @see TestResult + */ +@SuppressWarnings("deprecation") +public interface TestResultDao extends + org.argeo.slc.dao.test.TestResultDao { + /** Gets a test result based on its id. */ + public T getTestResult(String uuid); + + /** Persists a new test result. */ + public void create(TestResult testResult); + + /** Updates an already persisted test result. */ + public void update(TestResult testResult); + + /** Lists all test results. */ + public List listTestResults(); + + public void close(String id, Date closeDate); +}