Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/ArtifactService.java @ 11:6aeb4072eeb4
Added interfaces and a stub implementation of an artifact service the should provide the methods for communicating with the artifact server.
flys-client/trunk@1320 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 Feb 2011 15:40:17 +0000 |
parents | |
children | fe2f4d1dd784 |
comparison
equal
deleted
inserted
replaced
10:fc616c192902 | 11:6aeb4072eeb4 |
---|---|
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.model.Artifact; | |
7 | |
8 /** | |
9 * This interface provides artifact specific services as CREATE, DESCRIBE, FEED, | |
10 * ADVANCE and OUT. | |
11 * | |
12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
13 */ | |
14 @RemoteServiceRelativePath("artifact") | |
15 public interface ArtifactService extends RemoteService { | |
16 | |
17 /** | |
18 * This method creates a new artifact based on the given <i>factory</i>. | |
19 * | |
20 * @param factory The factory that should be used for the artifact creation. | |
21 * | |
22 * @return the new artifact. | |
23 */ | |
24 public Artifact create(String factory); | |
25 } | |
26 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |