Interface CkanToZenodoPublisherService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
CkanToZenodoPublisherServiceImpl
@RemoteServiceRelativePath("ckantozenodo") public interface CkanToZenodoPublisherService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the RPC service.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jan 28, 2020
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleancheckZenodoEnvironment()Check zenodo environment.ZenodoItemconvertToZenodoItem(CatalogueItem item)Convert to zenodo item.DOI_dvpublishOnZenodo(ZenodoItem zenodoItem)Publish on zenodo.Map<String,String>readFieldsDescriptions()Read fields descriptions.
-
-
-
Method Detail
-
convertToZenodoItem
ZenodoItem convertToZenodoItem(CatalogueItem item) throws Exception
Convert to zenodo item.- Parameters:
item- the item- Returns:
- the zenodo item
- Throws:
Exception- the exception
-
publishOnZenodo
DOI_dv publishOnZenodo(ZenodoItem zenodoItem) throws Exception
Publish on zenodo.- Parameters:
zenodoItem- the zenodo item- Returns:
- the DOI of published Zenodo Item
- Throws:
Exception- the exception
-
readFieldsDescriptions
Map<String,String> readFieldsDescriptions() throws Exception
Read fields descriptions.- Returns:
- the map
- Throws:
Exception- the exception
-
checkZenodoEnvironment
Boolean checkZenodoEnvironment()
Check zenodo environment.- Returns:
- the true is Zenodo environment is configured in the operating scope, false otherwise
-
-