- Timestamp:
- Feb 28, 2011, 7:40:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/TagService.java
r9392 r9430 7 7 import fr.mael.jiwigo.om.Image; 8 8 import fr.mael.jiwigo.om.Tag; 9 import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException; 9 10 import fr.mael.jiwigo.transverse.session.SessionManager; 10 11 … … 76 77 * @return le list of tags 77 78 * @throws IOException 79 * @throws ProxyAuthenticationException 78 80 */ 79 public List<Tag> list() throws IOException {81 public List<Tag> list() throws IOException, ProxyAuthenticationException { 80 82 return TagDao.getInstance(sessionManager).list(); 81 83 } … … 86 88 * @return true if the tag is created 87 89 * @throws IOException 90 * @throws ProxyAuthenticationException 88 91 */ 89 public boolean create(String nom) throws IOException {92 public boolean create(String nom) throws IOException, ProxyAuthenticationException { 90 93 Tag tag = new Tag(); 91 94 tag.setName(nom); … … 98 101 * @return the list of tags 99 102 * @throws IOException 103 * @throws ProxyAuthenticationException 100 104 */ 101 public List<Tag> tagsForImage(Image image) throws IOException {105 public List<Tag> tagsForImage(Image image) throws IOException, ProxyAuthenticationException { 102 106 return TagDao.getInstance(sessionManager).tagsForImage(image); 103 107 }
Note: See TracChangeset
for help on using the changeset viewer.