comparison flys-client/src/main/java/de/intevation/flys/client/client/services/ArtifactService.java @ 14:fe2f4d1dd784

Integrated the httpclient for the communication between client and server. It is now possible to create a new WINFO artifact. flys-client/trunk@1326 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Feb 2011 11:52:55 +0000
parents 6aeb4072eeb4
children e02f50a3ad59
comparison
equal deleted inserted replaced
13:8d9075c07667 14:fe2f4d1dd784
15 public interface ArtifactService extends RemoteService { 15 public interface ArtifactService extends RemoteService {
16 16
17 /** 17 /**
18 * This method creates a new artifact based on the given <i>factory</i>. 18 * This method creates a new artifact based on the given <i>factory</i>.
19 * 19 *
20 * @param serverUrl The url of the artifact server.
20 * @param factory The factory that should be used for the artifact creation. 21 * @param factory The factory that should be used for the artifact creation.
21 * 22 *
22 * @return the new artifact. 23 * @return the new artifact.
23 */ 24 */
24 public Artifact create(String factory); 25 public Artifact create(String serverUrl, String factory);
25 } 26 }
26 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 27 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org