Subversion Repositories eFlore/Applications.del

Rev

Rev 1471 | Blame | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.services.rest;

import java.util.List;

import org.tela_botanica.del.client.modeles.VoteProtocole;
import org.tela_botanica.del.client.services.rest.async.AjoutVoteProtocoleCallback;
import org.tela_botanica.del.client.services.rest.async.VoteProtocoleCallback;

public interface VoteProtocoleService {
                
        public List<VoteProtocole> getVote(String idImage);

        public List<VoteProtocole> getVotePourImageEtProtocole(String idImage, String protocolName);

        void ajouterVote(String idImage, VoteProtocole voteProtocole, AjoutVoteProtocoleCallback callback);

        public void modifierVote(String idImage, VoteProtocole voteProtocole, VoteProtocoleCallback vpc);
        
        public void supprimerVote(String idImage, VoteProtocole voteProtocole, VoteProtocoleCallback vpc);

}