- 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/service/CommentService.java
r6821 r6980 50 50 51 51 /** 52 * @return le singleton52 * @return the singleton 53 53 */ 54 54 public static CommentService getInstance() { … … 60 60 61 61 /** 62 * Constructeur privé, pour n'avoir accès qu'ausingleton62 * private constructor, to use a singleton 63 63 */ 64 64 private CommentService() { … … 67 67 68 68 /** 69 * List ing des commentaires pour uneimage70 * @param imageId id de l'image71 * @return la liste des commentaires69 * Lists all comments for an image 70 * @param imageId the id of the image 71 * @return the list of comments 72 72 * @throws IOException 73 73 */ … … 76 76 } 77 77 78 /** 79 * Creates a comment for an image 80 * @param content the comment 81 * @param imageId the id of the image 82 * @param auteur the author of the comment 83 * @return true if successful 84 * @throws IOException 85 */ 78 86 public boolean creer(String content, Integer imageId, String auteur) throws IOException { 79 87 Comment commentaire = new Comment();
Note: See TracChangeset
for help on using the changeset viewer.