Mercurial > dive4elements > river
view 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 |
line wrap: on
line source
package de.intevation.flys.client.client.services; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import de.intevation.flys.client.shared.model.Artifact; /** * This interface provides artifact specific services as CREATE, DESCRIBE, FEED, * ADVANCE and OUT. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ @RemoteServiceRelativePath("artifact") public interface ArtifactService extends RemoteService { /** * This method creates a new artifact based on the given <i>factory</i>. * * @param factory The factory that should be used for the artifact creation. * * @return the new artifact. */ public Artifact create(String factory); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :