ingo@69: package de.intevation.flys.client.client.services; ingo@69: ingo@69: import com.google.gwt.user.client.rpc.RemoteService; ingo@69: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@69: ingo@69: import de.intevation.flys.client.shared.model.Artifact; ingo@69: import de.intevation.flys.client.shared.model.Collection; ingo@69: ingo@69: ingo@69: /** ingo@69: * This interface describes the service to add an existing artifact to an ingo@69: * existing collection. ingo@69: * ingo@69: * @author Ingo Weinzierl ingo@69: */ ingo@69: @RemoteServiceRelativePath("add-artifact") ingo@69: public interface AddArtifactService extends RemoteService { ingo@69: ingo@69: /** ingo@69: * Adds an artifact to a collection. ingo@69: * ingo@69: * @param collection The Collection that should be extended. ingo@69: * @param artifact The artifact that should be added. ingo@69: * @param url The url of the artifact server. ingo@69: * ingo@69: * @return the Collection after the operation. ingo@69: */ ingo@69: Collection add(Collection collection, Artifact artifact, String url); ingo@69: } ingo@69: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :