Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/GetArtifactService.java @ 221:f03c34bec364
Added a new service to query an artifact description.
flys-client/trunk@1666 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 12 Apr 2011 07:56:33 +0000 |
parents | |
children | 924da6695800 |
comparison
equal
deleted
inserted
replaced
220:35094660f91a | 221:f03c34bec364 |
---|---|
1 package de.intevation.flys.client.client.services; | |
2 | |
3 import com.google.gwt.user.client.rpc.RemoteService; | |
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | |
5 | |
6 import de.intevation.flys.client.shared.exceptions.ServerException; | |
7 import de.intevation.flys.client.shared.model.Artifact; | |
8 | |
9 /** | |
10 * This interface provides a method to retrieve an artifact based on its uuid. | |
11 * | |
12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
13 */ | |
14 @RemoteServiceRelativePath("getartifact") | |
15 public interface GetArtifactService extends RemoteService { | |
16 | |
17 /** | |
18 * This method inserts new data into the an existing artifact. | |
19 * | |
20 * @param serverUrl The url of the artifact server. | |
21 * @param uuid The artifact's identifier. | |
22 * @param hash The artifact's hash. | |
23 * | |
24 * @return the artifact. | |
25 */ | |
26 Artifact getArtifact(String url, String uuid, String hash) | |
27 throws ServerException; | |
28 } | |
29 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |