2211 |
arthur |
1 |
package org.tela_botanica.del.client.services.rest;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
|
|
|
5 |
import org.tela_botanica.del.client.modeles.VoteProtocole;
|
|
|
6 |
import org.tela_botanica.del.client.services.rest.async.AjoutVoteProtocoleCallback;
|
|
|
7 |
import org.tela_botanica.del.client.services.rest.async.VoteProtocoleCallback;
|
|
|
8 |
|
|
|
9 |
public interface VoteProtocoleService {
|
|
|
10 |
|
|
|
11 |
public List<VoteProtocole> getVote(String idImage);
|
|
|
12 |
|
|
|
13 |
public List<VoteProtocole> getVotePourImageEtProtocole(String idImage, String protocolName);
|
|
|
14 |
|
|
|
15 |
void ajouterVote(String idImage, VoteProtocole voteProtocole, AjoutVoteProtocoleCallback callback);
|
|
|
16 |
|
|
|
17 |
public void modifierVote(String idImage, VoteProtocole voteProtocole, VoteProtocoleCallback vpc);
|
|
|
18 |
|
|
|
19 |
public void supprimerVote(String idImage, VoteProtocole voteProtocole, VoteProtocoleCallback vpc);
|
|
|
20 |
|
|
|
21 |
}
|