public class DataCiteSearchConnector extends Object
| Constructor and Description |
|---|
DataCiteSearchConnector(EdalConfiguration configuration)
Constructor to initialize a SolrServer to DateCite.
|
| Modifier and Type | Method and Description |
|---|---|
String |
generateNewDOI(int year)
Generate a new DOI by counting current DOI
|
org.apache.solr.client.solrj.impl.HttpSolrServer |
getDataciteSolrServer() |
public DataCiteSearchConnector(EdalConfiguration configuration) throws DataCiteException
DataCiteException - if unable to create SolrServer.public org.apache.solr.client.solrj.impl.HttpSolrServer getDataciteSolrServer()
public String generateNewDOI(int year) throws DataCiteException
year - the current year.org.apache.solr.client.solrj.SolrServerException - if unable to generate new DOI.DataCiteExceptionCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.