Changeset 10505 for extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/impl/CommentServiceImpl.java
- Timestamp:
- Apr 20, 2011, 5:17:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/impl/CommentServiceImpl.java
r9919 r10505 10 10 import fr.mael.jiwigo.om.Comment; 11 11 import fr.mael.jiwigo.service.CommentService; 12 import fr.mael.jiwigo.transverse.exception.JiwigoException; 12 13 import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException; 13 14 … … 43 44 * @throws ProxyAuthenticationException 44 45 */ 45 public List<Comment> list(Integer imageId) throws IOException, ProxyAuthenticationException {46 public List<Comment> list(Integer imageId) throws JiwigoException { 46 47 return dao.list(imageId); 47 48 } … … 56 57 * @throws ProxyAuthenticationException 57 58 */ 58 public boolean create(String content, Integer imageId, String auteur) throws IOException, 59 ProxyAuthenticationException { 59 public boolean create(String content, Integer imageId, String auteur) throws JiwigoException { 60 60 Comment comment = new Comment(); 61 61 comment.setContent(content);
Note: See TracChangeset
for help on using the changeset viewer.