public class CrossRefOnlineDataLoader extends NetworkSubmissionLookupDataLoader
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiKey |
protected CrossRefService |
crossrefService |
protected int |
maxResults |
protected boolean |
searchProvider |
| Constructor and Description |
|---|
CrossRefOnlineDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
List<gr.ekt.bte.core.Record> |
getByIdentifier(Context context,
Map<String,Set<String>> keys) |
int |
getMaxResults() |
List<String> |
getSupportedIdentifiers() |
boolean |
isSearchProvider() |
List<gr.ekt.bte.core.Record> |
search(Context context,
String title,
String author,
int year) |
void |
setApiKey(String apiKey) |
void |
setCrossrefService(CrossRefService crossrefService) |
void |
setMaxResults(int maxResults) |
void |
setSearchProvider(boolean searchProvider) |
convertFields, getByDOIs, getFieldMap, getIdentifiers, getRecords, getRecords, getSearchTerms, setFieldMap, setIdentifiers, setProviderName, setSearchTermsprotected CrossRefService crossrefService
protected boolean searchProvider
protected String apiKey
protected int maxResults
public void setSearchProvider(boolean searchProvider)
public void setCrossrefService(CrossRefService crossrefService)
public List<gr.ekt.bte.core.Record> getByIdentifier(Context context, Map<String,Set<String>> keys) throws org.apache.http.HttpException, IOException
org.apache.http.HttpExceptionIOExceptionpublic List<gr.ekt.bte.core.Record> search(Context context, String title, String author, int year) throws org.apache.http.HttpException, IOException
org.apache.http.HttpExceptionIOExceptionpublic boolean isSearchProvider()
public String getApiKey()
public void setApiKey(String apiKey)
public int getMaxResults()
public void setMaxResults(int maxResults)
Copyright © 2016 DuraSpace. All rights reserved.