sk.stuba.fiit.foo07.genex.dao
Class QuestionPointsDaoDerby

java.lang.Object
  extended by sk.stuba.fiit.foo07.genex.dao.BasicDao
      extended by sk.stuba.fiit.foo07.genex.dao.QuestionPointsDaoDerby
All Implemented Interfaces:
QuestionPointsDao

public class QuestionPointsDaoDerby
extends BasicDao
implements QuestionPointsDao


Field Summary
 
Fields inherited from class sk.stuba.fiit.foo07.genex.dao.BasicDao
con
 
Constructor Summary
QuestionPointsDaoDerby(java.sql.Connection con)
           
 
Method Summary
 void addQuestionsPoints(java.lang.Integer testID, java.util.ArrayList<QuestionPoints> qps)
           
 java.util.ArrayList<QuestionPoints> getQuestionPointsByTestID(java.lang.Integer testID)
           
 void updateQuestionPoints(java.lang.Integer testID, java.util.ArrayList<QuestionPoints> qps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionPointsDaoDerby

public QuestionPointsDaoDerby(java.sql.Connection con)
Method Detail

addQuestionsPoints

public void addQuestionsPoints(java.lang.Integer testID,
                               java.util.ArrayList<QuestionPoints> qps)
                        throws QuestionPointsExistsException,
                               java.sql.SQLException
Specified by:
addQuestionsPoints in interface QuestionPointsDao
Throws:
QuestionPointsExistsException
java.sql.SQLException

getQuestionPointsByTestID

public java.util.ArrayList<QuestionPoints> getQuestionPointsByTestID(java.lang.Integer testID)
                                                              throws java.sql.SQLException
Specified by:
getQuestionPointsByTestID in interface QuestionPointsDao
Throws:
java.sql.SQLException

updateQuestionPoints

public void updateQuestionPoints(java.lang.Integer testID,
                                 java.util.ArrayList<QuestionPoints> qps)
                          throws java.sql.SQLException
Specified by:
updateQuestionPoints in interface QuestionPointsDao
Throws:
java.sql.SQLException


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