teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
teichmann@5861: * Software engineering by Intevation GmbH
teichmann@5861: *
teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3)
teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the
teichmann@5861: * documentation coming with Dive4Elements River for details.
teichmann@5861: */
teichmann@5861:
teichmann@5835: package org.dive4elements.river.client.client.services;
raimund@2540:
raimund@2540: import java.util.Map;
raimund@2540:
raimund@2540: import com.google.gwt.user.client.rpc.RemoteService;
raimund@2540: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
raimund@2540:
teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException;
teichmann@5835: import org.dive4elements.river.client.shared.model.Style;
raimund@2540:
raimund@2540: /**
raimund@2540: * This interface provides a method to list themes filtered by name.
raimund@2540: *
raimund@2540: * @author Raimund.Renkert
raimund@2540: */
raimund@2540: @RemoteServiceRelativePath("themelisting")
raimund@2540: public interface ThemeListingService extends RemoteService {
raimund@2540:
raimund@2540: /**
raimund@2540: * This method returns a list of themes filtered by name.
raimund@2540: *
raimund@2540: * @param locale The locale used for the request.
raimund@2540: *
raimund@2540: * @return a list of themes provided by the artifact server.
raimund@2540: */
raimund@2540: public Map list(String locale, String name)
raimund@2540: throws ServerException;
raimund@2540: }
raimund@2540: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :