ingo@11: package de.intevation.flys.client.client.services; ingo@11: ingo@11: import com.google.gwt.user.client.rpc.RemoteService; ingo@11: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@11: ingo@215: import de.intevation.flys.client.shared.exceptions.ServerException; ingo@11: import de.intevation.flys.client.shared.model.Artifact; ingo@11: ingo@11: /** ingo@11: * This interface provides artifact specific services as CREATE, DESCRIBE, FEED, ingo@11: * ADVANCE and OUT. ingo@11: * ingo@11: * @author Ingo Weinzierl ingo@11: */ ingo@11: @RemoteServiceRelativePath("artifact") ingo@11: public interface ArtifactService extends RemoteService { ingo@11: ingo@11: /** ingo@11: * This method creates a new artifact based on the given factory. ingo@11: * ingo@14: * @param serverUrl The url of the artifact server. ingo@229: * @param locale The locale used for the request. ingo@11: * @param factory The factory that should be used for the artifact creation. ingo@11: * ingo@11: * @return the new artifact. ingo@11: */ ingo@803: public Artifact create( ingo@803: String serverUrl, ingo@803: String locale, ingo@803: String factory, ingo@803: String uuid ingo@803: ) throws ServerException; ingo@11: } ingo@11: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :