1 package sk.stuba.fiit.foo07.genex.dao; 2 3 import java.sql.SQLException; 4 import java.util.ArrayList; 5 6 import sk.stuba.fiit.foo07.genex.beans.QuestionPoints; 7 import sk.stuba.fiit.foo07.genex.exceptions.QuestionPointsExistsException; 8 9 public interface QuestionPointsDao { 10 public ArrayList<QuestionPoints> getQuestionPointsByTestID(Integer testID) 11 throws SQLException; 12 13 public void addQuestionsPoints(Integer testID, ArrayList<QuestionPoints> qps) 14 throws QuestionPointsExistsException, SQLException; 15 16 public void updateQuestionPoints(Integer testID, 17 ArrayList<QuestionPoints> qps) throws SQLException; 18 19 }