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; ingo@96: ingo@96: import com.google.gwt.user.client.rpc.RemoteService; ingo@96: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@96: teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; ingo@96: ingo@96: ingo@96: /** ingo@96: * This interface describes a method that retrieves a list of Collections owned ingo@96: * by a specified user. ingo@96: * ingo@96: * @author Ingo Weinzierl ingo@96: */ ingo@96: @RemoteServiceRelativePath("user-collections") ingo@96: public interface UserCollectionsService extends RemoteService { ingo@96: ingo@96: /** ingo@96: * This method retrieves the user that is currently logged in. ingo@96: * ingo@96: * @param serverUrl The url of the artifact server. ingo@229: * @param locale The locale used for the request object. ingo@229: * @param userid The identifier of the owner. ingo@96: * ingo@96: * @return the current {@link User}. ingo@96: */ ingo@1493: Collection[] getUserCollections(String locale, String userid); ingo@96: } ingo@96: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :