sk.stuba.fiit.foo07.genex.dao
Interface TestDao

All Known Implementing Classes:
TestDaoDerby

public interface TestDao

Author:
_mizu_

Method Summary
 void addTest(java.lang.Integer testCategoryID, Test toAdd)
           
 void addTests(java.lang.Integer testCategoryID, java.util.ArrayList<Test> toAdd)
           
 void deleteTest(Test toDelete)
           
 void deleteTests(java.util.ArrayList<Test> toDelete)
           
 Test getTestByID(java.lang.Integer testID)
           
 java.util.ArrayList<Test> getTestsByCategoryID(java.lang.Integer categoryID)
           
 void updateTest(Test toUpdate)
           
 

Method Detail

getTestByID

Test getTestByID(java.lang.Integer testID)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getTestsByCategoryID

java.util.ArrayList<Test> getTestsByCategoryID(java.lang.Integer categoryID)
                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

addTest

void addTest(java.lang.Integer testCategoryID,
             Test toAdd)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

addTests

void addTests(java.lang.Integer testCategoryID,
              java.util.ArrayList<Test> toAdd)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

updateTest

void updateTest(Test toUpdate)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

deleteTest

void deleteTest(Test toDelete)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

deleteTests

void deleteTests(java.util.ArrayList<Test> toDelete)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2008 Faculty of Informatics and Information Technologies, STU Bratislava. All Rights Reserved.