Package org.dspace.submit.lookup
Class PubmedService
- java.lang.Object
-
- org.dspace.submit.lookup.PubmedService
-
public class PubmedService extends Object
- Author:
- Andrea Bollini, Kostas Stamatis, Luigi Andrea Pascarelli, Panagiotis Koutsourakis
-
-
Field Summary
Fields Modifier and Type Field Description protected inttimeout
-
Constructor Summary
Constructors Constructor Description PubmedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description gr.ekt.bte.core.RecordgetByPubmedID(String pubmedid)List<gr.ekt.bte.core.Record>getByPubmedIDs(List<String> pubmedIDs)List<gr.ekt.bte.core.Record>search(String query)List<gr.ekt.bte.core.Record>search(String doi, String pmid)List<gr.ekt.bte.core.Record>search(String title, String author, int year)voidsetTimeout(int timeout)
-
-
-
Method Detail
-
setTimeout
public void setTimeout(int timeout)
-
getByPubmedID
public gr.ekt.bte.core.Record getByPubmedID(String pubmedid) throws org.apache.http.HttpException, IOException, ParserConfigurationException, SAXException
- Throws:
org.apache.http.HttpExceptionIOExceptionParserConfigurationExceptionSAXException
-
search
public List<gr.ekt.bte.core.Record> search(String title, String author, int year) throws org.apache.http.HttpException, IOException
- Throws:
org.apache.http.HttpExceptionIOException
-
search
public List<gr.ekt.bte.core.Record> search(String query) throws IOException, org.apache.http.HttpException
- Throws:
IOExceptionorg.apache.http.HttpException
-
getByPubmedIDs
public List<gr.ekt.bte.core.Record> getByPubmedIDs(List<String> pubmedIDs) throws org.apache.http.HttpException, IOException, ParserConfigurationException, SAXException
- Throws:
org.apache.http.HttpExceptionIOExceptionParserConfigurationExceptionSAXException
-
search
public List<gr.ekt.bte.core.Record> search(String doi, String pmid) throws org.apache.http.HttpException, IOException
- Throws:
org.apache.http.HttpExceptionIOException
-
-