Ignore:
Timestamp:
Apr 19, 2011, 3:36:26 AM (13 years ago)
Author:
anthony43
Message:

addSimple ws api method added, with unit tests
http://piwigo.org/doc/doku.php?id=en:dev:webapi:pwg.images.addsimple
pom upgraded to 0.3.0-SNAPSHOT since this is a minor change, and also a dependency was added (httpmime)
SessionManagerImpl was modified to make available its httpclient.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/service/ImageService.java

    r9919 r10494  
    11package fr.mael.jiwigo.service;
    22
     3import java.io.File;
    34import java.io.IOException;
    45import java.security.NoSuchAlgorithmException;
     
    5960    public List<Image> search(String queryString) throws IOException, ProxyAuthenticationException;
    6061
     62    /**
     63     * Uses the pwg.images.addsimple web API to add a new picture
     64     * http://piwigo.org/doc/doku.php?id=en:dev:webapi:pwg.images.addsimple
     65     *
     66     * @param file
     67     * @param category
     68     * @param title
     69     * @throws IOException
     70     */
     71    public void addSimple(File file, Integer category, String title) throws IOException;
     72
    6173}
Note: See TracChangeset for help on using the changeset viewer.