Changeset 9392 for extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/CommentService.java
- Timestamp:
- Feb 27, 2011, 1:38:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/CommentService.java
r9387 r9392 76 76 * @throws IOException 77 77 */ 78 public List<Comment> list er(Integer imageId) throws IOException {79 return CommentDao.getInstance(sessionManager).list er(imageId);78 public List<Comment> list(Integer imageId) throws IOException { 79 return CommentDao.getInstance(sessionManager).list(imageId); 80 80 } 81 81 … … 88 88 * @throws IOException 89 89 */ 90 public boolean cre er(String content, Integer imageId, String auteur) throws IOException {91 Comment comment aire= new Comment();92 comment aire.setContent(content);93 comment aire.setImageId(imageId);94 comment aire.setAuthor(auteur);95 return CommentDao.getInstance(sessionManager).cre er(commentaire);90 public boolean create(String content, Integer imageId, String auteur) throws IOException { 91 Comment comment = new Comment(); 92 comment.setContent(content); 93 comment.setImageId(imageId); 94 comment.setAuthor(auteur); 95 return CommentDao.getInstance(sessionManager).create(comment); 96 96 } 97 97
Note: See TracChangeset
for help on using the changeset viewer.