sk.stuba.fiit.foo07.genex.dao
Interface PictureDao
- All Known Implementing Classes:
- PictureDaoDerby
public interface PictureDao
- Author:
- _mizu_
getPictureByID
Picture getPictureByID(java.lang.Integer pictureID)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
existsPictureByName
boolean existsPictureByName(java.lang.String name)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getPicturesByTestID
java.util.ArrayList<Picture> getPicturesByTestID(java.lang.Integer testID)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getAllPictures
java.util.ArrayList<Picture> getAllPictures()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getPicturesByQuestionID
java.util.ArrayList<Picture> getPicturesByQuestionID(java.lang.Integer QuestionID)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addPicture
void addPicture(Picture toAdd)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addPictures
void addPictures(java.util.ArrayList<Picture> toAdd)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addPictureToQuestion
void addPictureToQuestion(java.lang.Integer pictureId,
java.lang.Integer questionId)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
deletePictureFromQuestion
void deletePictureFromQuestion(java.lang.Integer pictureId,
java.lang.Integer questionId)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
deletePicture
void deletePicture(Picture toDelete)
throws PictureInPictureQuestionException,
java.sql.SQLException
- Throws:
PictureInPictureQuestionException
java.sql.SQLException
deletePictures
void deletePictures(java.util.ArrayList<Picture> toDelete)
throws PictureInPictureQuestionException,
java.sql.SQLException
- Throws:
PictureInPictureQuestionException
java.sql.SQLException
updatePicture
void updatePicture(Picture toUpdate)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2008 Faculty of Informatics and Information Technologies, STU Bratislava. All Rights Reserved.