view flys-client/src/main/java/de/intevation/flys/client/client/services/CollectionItemAttributeService.java @ 3491:1c9bfdbfb265

Add new RemoteServiceServlet class Implement an extended GWT RemoteServiceServlet to be able to get the current logged in user easily. This class can be used as a base class for all flys RemoteServices if the current user and the allowed features have to be evaluated. flys-client/trunk@5207 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 15 Aug 2012 12:08:20 +0000
parents bc06a671ef60
children
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.exceptions.ServerException;
import de.intevation.flys.client.shared.model.Collection;
import de.intevation.flys.client.shared.model.CollectionItemAttribute;

/**
 * This interface provides a method to retrieve an artifact based on its uuid.
 *
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 */
@RemoteServiceRelativePath("collection-item-attribute")
public interface CollectionItemAttributeService extends RemoteService {

    CollectionItemAttribute getCollectionItemAttribute(
        Collection collection,
        String artifact,
        String locale)
    throws ServerException;

    void setCollectionItemAttribute(
        Collection collection,
        String artifact,
        String locale,
        CollectionItemAttribute attribute)
    throws ServerException;

}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org