teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5993: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5993: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.services; raimund@1285: raimund@1285: import com.google.gwt.user.client.rpc.RemoteService; raimund@1285: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; raimund@1285: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; teichmann@5835: import org.dive4elements.river.client.shared.model.CollectionItemAttribute; raimund@1285: raimund@1285: /** raimund@1285: * This interface provides a method to retrieve an artifact based on its uuid. raimund@1285: * raimund@1285: * @author Raimund Renkert raimund@1285: */ raimund@1285: @RemoteServiceRelativePath("collection-item-attribute") raimund@1285: public interface CollectionItemAttributeService extends RemoteService { raimund@1285: raimund@1285: CollectionItemAttribute getCollectionItemAttribute( raimund@1285: Collection collection, raimund@1285: String artifact, raimund@1285: String locale) raimund@1285: throws ServerException; raimund@1285: raimund@1292: void setCollectionItemAttribute( raimund@1292: Collection collection, raimund@1292: String artifact, raimund@1292: String locale, raimund@1292: CollectionItemAttribute attribute) raimund@1292: throws ServerException; raimund@1292: raimund@1285: } raimund@1285: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :