- Timestamp:
- Sep 20, 2010, 8:51:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/dao/CommentDao.java
r6821 r6980 39 39 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 40 40 41 * Dao des commentaires41 * Dao for the comments 42 42 * @author mael 43 43 * … … 50 50 .getLog(CommentDao.class); 51 51 /** 52 * Instance qui permet d'utiliser unsingleton52 * Instance that allows to use a singleton 53 53 */ 54 54 private static CommentDao instance; 55 55 56 56 /** 57 * Constructeur privé, pour n'avoir accès qu'ausingleton57 * private constructor, to use a singleton 58 58 */ 59 59 private CommentDao() { … … 62 62 63 63 /** 64 * @return le singleton64 * @return the singleton 65 65 */ 66 66 public static CommentDao getInstance() { … … 72 72 73 73 /** 74 * Listing des commentaires pour une image donnée75 * @param idImage id entifiant de l'image76 * @return list e des commentaires74 * Listing of the comments for the given image 75 * @param idImage id of the image 76 * @return list of comments 77 77 * @throws IOException 78 78 */ … … 95 95 96 96 /** 97 * Recupération de la clé pour l'ajout d'un com98 * @param idImage 99 * @return 97 * Gets the key essential to add a comment 98 * @param idImage the id of the image 99 * @return the key 100 100 * @throws IOException 101 101 */ … … 107 107 } 108 108 109 /** 110 * Creates a comment 111 * @param commentaire the comment to add 112 * @return true if the comment is successfully added 113 * @throws IOException 114 */ 109 115 public boolean creer(Comment commentaire) throws IOException { 110 116 String key = getKey(commentaire.getImageId());
Note: See TracChangeset
for help on using the changeset viewer.