Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/client/services/ArtifactService.java @ 5834:f507086aa94b
Repaired internal references.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:31:32 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/client/services/ArtifactService.java@b660090b417d |
children | 821a02bbfb4e |
comparison
equal
deleted
inserted
replaced
5833:a2bdc0f524e8 | 5834:f507086aa94b |
---|---|
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 import de.intevation.flys.client.shared.model.Collection; | |
9 | |
10 import de.intevation.flys.client.shared.model.Recommendation; | |
11 | |
12 /** | |
13 * This interface provides artifact specific services as CREATE, DESCRIBE, FEED, | |
14 * ADVANCE and OUT. | |
15 * | |
16 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
17 */ | |
18 @RemoteServiceRelativePath("artifact") | |
19 public interface ArtifactService extends RemoteService { | |
20 | |
21 /** | |
22 * This method creates a new artifact based on the given <i>factory</i>. | |
23 * | |
24 * @param serverUrl The url of the artifact server. | |
25 * @param locale The locale used for the request. | |
26 * @param factory The factory that should be used for the artifact creation. | |
27 * | |
28 * @return the new artifact. | |
29 */ | |
30 public Artifact create( | |
31 String locale, | |
32 String factory, | |
33 Recommendation recommendation | |
34 ) throws ServerException; | |
35 | |
36 /** | |
37 * Create a new GaugeDischageCurveArtifact | |
38 * | |
39 * @param collection the collection to add the artifact to | |
40 * @param river the river | |
41 * @param gaugeref reference id of the gauge | |
42 */ | |
43 public Artifact createGaugeDischargeCurveArtifact( | |
44 Collection collection, | |
45 String locale, | |
46 String river, | |
47 Long gaugeref | |
48 ) throws ServerException; | |
49 | |
50 /** | |
51 * Create a new SQRelationArtifact | |
52 * | |
53 * @param collection the collection to add the artifact to | |
54 * @param river the river | |
55 * @param measurementStation the measurement station id | |
56 */ | |
57 public Artifact createSQRelationArtifact( | |
58 Collection collection, | |
59 String locale, | |
60 String river, | |
61 int measurementStation | |
62 ) throws ServerException; | |
63 } | |
64 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |