teichmann@5835: package org.dive4elements.river.client.client.services; ingo@26: ingo@26: import com.google.gwt.user.client.rpc.RemoteService; ingo@26: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; ingo@26: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; ingo@71: ingo@26: ingo@26: /** ingo@26: * This interface describes the service for creating new collections. ingo@26: * ingo@26: * @author Ingo Weinzierl ingo@26: */ ingo@26: @RemoteServiceRelativePath("create-collection") ingo@26: public interface CreateCollectionService extends RemoteService { ingo@26: ingo@26: /** ingo@26: * This method creates a new collection in the artifact server and returns ingo@26: * the uuid of this collection. ingo@26: * ingo@26: * @return the uuid of the created collection. ingo@26: */ raimund@1425: Collection create(String locale, String ownerId) ingo@215: throws ServerException; ingo@26: } ingo@26: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :