package fr.mael.jiwigo.dao; import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.util.List; import fr.mael.jiwigo.om.Image; import fr.mael.jiwigo.transverse.exception.FileAlreadyExistsException; import fr.mael.jiwigo.transverse.exception.JiwigoException; import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException; import fr.mael.jiwigo.transverse.exception.WrongChunkSizeException; public interface ImageDao { /** * Lists all images * @return the list of images * @throws IOException * @throws ProxyAuthenticationException */ public List list(boolean refresh) throws JiwigoException; /** * Listing of the images for a category * @param categoryId the id of the category * @return the list of images * @throws IOException * @throws ProxyAuthenticationException */ public List listByCategory(Integer categoryId, boolean refresh) throws JiwigoException; /** * Creation of an image
* Sequence :
*
  • * * *