- 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/ImageService.java
r10494 r10505 8 8 import fr.mael.jiwigo.om.Image; 9 9 import fr.mael.jiwigo.transverse.exception.FileAlreadyExistsException; 10 import fr.mael.jiwigo.transverse.exception.JiwigoException; 10 11 import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException; 11 12 import fr.mael.jiwigo.transverse.exception.WrongChunkSizeException; … … 20 21 * @throws ProxyAuthenticationException 21 22 */ 22 public List<Image> listByCategory(Integer categoryId, boolean rafraichir) throws IOException, 23 ProxyAuthenticationException; 23 public List<Image> listByCategory(Integer categoryId, boolean rafraichir) throws JiwigoException; 24 24 25 25 /** … … 35 35 * @throws FileAlreadyExistsException 36 36 * @throws NoSuchAlgorithmException 37 * @throws JiwigoException 37 38 * @throws Exception 38 39 */ 39 40 public boolean create(String filePath, Integer idCategory, Integer originalWidth, Integer originalHeight, 40 41 Double chunckSize, Integer privacyLevel) throws IOException, NoSuchAlgorithmException, 41 FileAlreadyExistsException, ProxyAuthenticationException, WrongChunkSizeException; 42 FileAlreadyExistsException, ProxyAuthenticationException, WrongChunkSizeException, 43 JiwigoException; 42 44 43 45 /** … … 49 51 * @throws ProxyAuthenticationException 50 52 */ 51 public boolean addTags(Image image, String tagId) throws IOException, ProxyAuthenticationException;53 public boolean addTags(Image image, String tagId) throws JiwigoException; 52 54 53 55 /** … … 58 60 * @throws ProxyAuthenticationException 59 61 */ 60 public List<Image> search(String queryString) throws IOException, ProxyAuthenticationException;62 public List<Image> search(String queryString) throws JiwigoException; 61 63 62 64 /** … … 68 70 * @param title 69 71 * @throws IOException 72 * @throws JiwigoException 70 73 */ 71 public void addSimple(File file, Integer category, String title) throws IOException;74 public void addSimple(File file, Integer category, String title) throws JiwigoException; 72 75 73 76 }
Note: See TracChangeset
for help on using the changeset viewer.