Package org.dspace.submit.lookup
Class PubmedOnlineDataLoader
- java.lang.Object
-
- org.dspace.submit.lookup.NetworkSubmissionLookupDataLoader
-
- org.dspace.submit.lookup.PubmedOnlineDataLoader
-
- All Implemented Interfaces:
gr.ekt.bte.core.DataLoader,SubmissionLookupDataLoader
public class PubmedOnlineDataLoader extends NetworkSubmissionLookupDataLoader
- Author:
- Andrea Bollini, Kostas Stamatis, Luigi Andrea Pascarelli, Panagiotis Koutsourakis
-
-
Field Summary
Fields Modifier and Type Field Description protected PubmedServicepubmedServiceprotected booleansearchProvider
-
Constructor Summary
Constructors Constructor Description PubmedOnlineDataLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<gr.ekt.bte.core.Record>getByIdentifier(Context context, Map<String,Set<String>> keys)List<String>getSupportedIdentifiers()booleanisSearchProvider()List<gr.ekt.bte.core.Record>search(Context context, String title, String author, int year)voidsetPubmedService(PubmedService pubmedService)voidsetSearchProvider(boolean searchProvider)-
Methods inherited from class org.dspace.submit.lookup.NetworkSubmissionLookupDataLoader
convertFields, getByDOIs, getFieldMap, getIdentifiers, getRecords, getRecords, getSearchTerms, setFieldMap, setIdentifiers, setProviderName, setSearchTerms
-
-
-
-
Field Detail
-
searchProvider
protected boolean searchProvider
-
pubmedService
protected PubmedService pubmedService
-
-
Method Detail
-
setPubmedService
public void setPubmedService(PubmedService pubmedService)
-
setSearchProvider
public void setSearchProvider(boolean searchProvider)
-
isSearchProvider
public boolean isSearchProvider()
-
getByIdentifier
public List<gr.ekt.bte.core.Record> getByIdentifier(Context context, Map<String,Set<String>> keys) throws org.apache.http.HttpException, IOException
- Throws:
org.apache.http.HttpExceptionIOException
-
search
public List<gr.ekt.bte.core.Record> search(Context context, String title, String author, int year) throws org.apache.http.HttpException, IOException
- Throws:
org.apache.http.HttpExceptionIOException
-
-