felix@851: package de.intevation.flys.client.client.services; felix@851: felix@1518: import java.util.List; felix@1518: felix@851: import com.google.gwt.user.client.rpc.RemoteService; felix@851: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; felix@851: felix@851: import de.intevation.flys.client.shared.exceptions.ServerException; felix@851: import de.intevation.flys.client.shared.model.Artifact; felix@851: import de.intevation.flys.client.shared.model.Data; felix@851: felix@851: /** felix@851: * This interface provides artifact specific operation FEED. felix@851: */ felix@851: @RemoteServiceRelativePath("feed") felix@851: public interface FeedService extends RemoteService { felix@851: felix@851: /** felix@855: * Inserts new data into an existing artifact. felix@851: * felix@851: * @param locale The locale used for the request. felix@851: * @param artifact The artifact. felix@851: * @param data The data that should be inserted. felix@851: * felix@851: * @return the artifact which description might have been changed. felix@851: */ felix@851: public Artifact feed( felix@851: String locale, felix@851: Artifact artifact, felix@851: Data[] data) felix@851: throws ServerException; felix@1518: felix@1518: felix@1518: /** felix@1518: * Inserts (the same) new data into existing artifacts. felix@1518: * felix@1518: * @param locale The locale used for the request. felix@1518: * @param artifact The artifact. felix@1518: * @param data The data that should be inserted. felix@1518: * felix@1518: * @return the artifact which description might have been changed. felix@1518: */ felix@1518: public List feedMany( felix@1518: String locale, felix@1518: List artifacts, felix@1518: Data[] data) felix@1518: throws ServerException; felix@851: } felix@851: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :