public class CiNiiOnlineDataLoader extends NetworkSubmissionLookupDataLoader
| Modifier and Type | Field and Description |
|---|---|
protected String |
appId
Application id to use CiNii
|
protected CiNiiService |
ciniiService |
protected int |
maxResults
max result number to return
|
protected boolean |
searchProvider |
| Constructor and Description |
|---|
CiNiiOnlineDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppId() |
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 |
setAppId(String appId) |
void |
setCiNiiService(CiNiiService ciniiService) |
void |
setMaxResults(int maxResults) |
void |
setSearchProvider(boolean searchProvider) |
convertFields, getByDOIs, getFieldMap, getIdentifiers, getRecords, getRecords, getSearchTerms, setFieldMap, setIdentifiers, setProviderName, setSearchTermsprotected CiNiiService ciniiService
protected boolean searchProvider
protected String appId
protected int maxResults
public void setCiNiiService(CiNiiService ciniiService)
public void setSearchProvider(boolean searchProvider)
public boolean isSearchProvider()
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 String getAppId()
public void setAppId(String appId)
public int getMaxResults()
public void setMaxResults(int maxResults)
Copyright © 2017 DuraSpace. All rights reserved.