Ignore:
Timestamp:
Feb 27, 2011, 1:38:04 PM (13 years ago)
Author:
mlg
Message:

Changes function name (to english)
version changed to 0.13.1

File:
1 edited

Legend:

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

    r9387 r9392  
    7676     * @throws IOException
    7777     */
    78     public List<Comment> lister(Integer imageId) throws IOException {
    79         return CommentDao.getInstance(sessionManager).lister(imageId);
     78    public List<Comment> list(Integer imageId) throws IOException {
     79        return CommentDao.getInstance(sessionManager).list(imageId);
    8080    }
    8181
     
    8888     * @throws IOException
    8989     */
    90     public boolean creer(String content, Integer imageId, String auteur) throws IOException {
    91         Comment commentaire = new Comment();
    92         commentaire.setContent(content);
    93         commentaire.setImageId(imageId);
    94         commentaire.setAuthor(auteur);
    95         return CommentDao.getInstance(sessionManager).creer(commentaire);
     90    public boolean create(String content, Integer imageId, String auteur) throws IOException {
     91        Comment comment = new Comment();
     92        comment.setContent(content);
     93        comment.setImageId(imageId);
     94        comment.setAuthor(auteur);
     95        return CommentDao.getInstance(sessionManager).create(comment);
    9696    }
    9797
Note: See TracChangeset for help on using the changeset viewer.