2019-12-06 17:16:39 +01:00
|
|
|
package org.gcube.portlets.widgets.ckan2zenodopublisher.client;
|
|
|
|
|
2019-12-09 11:56:04 +01:00
|
|
|
import org.gcube.portlets.widgets.ckan2zenodopublisher.shared.CatalogueItem;
|
2019-12-09 17:17:05 +01:00
|
|
|
import org.gcube.portlets.widgets.ckan2zenodopublisher.shared.wrapped.ZenodoItem;
|
2019-12-09 11:56:04 +01:00
|
|
|
|
2019-12-06 17:16:39 +01:00
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The client side stub for the RPC service.
|
|
|
|
*/
|
2019-12-06 17:23:52 +01:00
|
|
|
@RemoteServiceRelativePath("ckantozenodo")
|
|
|
|
public interface CkanToZenodoPublisherService extends RemoteService {
|
2019-12-09 11:56:04 +01:00
|
|
|
|
2019-12-09 17:17:05 +01:00
|
|
|
ZenodoItem convertToZenodoItem(CatalogueItem item) throws Exception;
|
2020-01-10 17:07:03 +01:00
|
|
|
|
|
|
|
String publishOnZenodo(ZenodoItem zenodoItem) throws Exception;
|
|
|
|
|
2019-12-06 17:16:39 +01:00
|
|
|
}
|