view flys-client/src/main/java/de/intevation/flys/client/client/services/DescribeCollectionService.java @ 2546:2618d5de9ce4

Merged revisions 4533 via svnmerge from svn+ssh://ingo@thoe.intevation.de/home/clients/bsh/bsh-generischer-viewer/Material/SVN/flys-client/trunk ........ r4533 | ingo | 2012-05-27 12:50:38 +0000 (Sun, 27 May 2012) | 1 line Corrected image path to add_wms.png ........ flys-client/tags/2.7@4535 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Sun, 27 May 2012 12:58:01 +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;


/**
 * This service describes an operation the fetches the DESCRIBE document of a
 * specific collection and returns a Collection.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
@RemoteServiceRelativePath("describe-collection")
public interface DescribeCollectionService extends RemoteService {

    /**
     * Adds an artifact to a collection.
     *
     * @param uuid The uuid of the desired collection.
     * @param url  The url of the artifact server.
     * @param locale The name of the locale used for the request.
     *
     * @return the Collection after the operation.
     */
    Collection describe(String uuid, String locale)
    throws ServerException;
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org