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/dao/ImageDao.java

    r9919 r10494  
    11package fr.mael.jiwigo.dao;
    22
     3import java.io.File;
    34import java.io.IOException;
    45import java.security.NoSuchAlgorithmException;
     
    6869    public List<Image> search(String searchString) throws IOException, ProxyAuthenticationException;
    6970
     71    /**
     72     * Uses the pwg.images.addsimple web API to add a new picture
     73     * http://piwigo.org/doc/doku.php?id=en:dev:webapi:pwg.images.addsimple
     74     *
     75     * @param file
     76     * @param category
     77     * @param title
     78     * @throws IOException
     79     */
     80    public void addSimple(File file, Integer category, String title) throws IOException;
     81
    7082}
Note: See TracChangeset for help on using the changeset viewer.