Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/services/GetArtifactService.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/client/services/GetArtifactService.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.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 org.dive4elements.river.client.shared.exceptions.ServerException; | |
7 import org.dive4elements.river.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 url The url of the artifact server. | |
21 * @param locale The string representation of a locale that is used for the | |
22 * request. | |
23 * @param uuid The artifact's identifier. | |
24 * @param hash The artifact's hash. | |
25 * | |
26 * @return the artifact. | |
27 */ | |
28 Artifact getArtifact(String locale, String uuid, String hash) | |
29 throws ServerException; | |
30 } | |
31 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |