public class Orcidv2 extends Object implements SolrAuthorityInterface
| Modifier and Type | Field and Description |
|---|---|
RESTConnector |
restConnector |
| Modifier and Type | Method and Description |
|---|---|
org.orcid.jaxb.model.record_v2.Person |
getBio(String id)
Retrieve a Person object based on a given orcid identifier
|
void |
init()
Initialize the accessToken that is required for all subsequent calls to ORCID
|
List<AuthorityValue> |
queryAuthorities(String text,
int max)
Makes an instance of the AuthorityValue with the given information.
|
AuthorityValue |
queryAuthorityID(String id)
Create an AuthorityValue from a Person retrieved using the given orcid identifier.
|
List<org.orcid.jaxb.model.record_v2.Person> |
queryBio(String text,
int max)
Retrieve a list of Person objects.
|
List<org.orcid.jaxb.model.record_v2.Person> |
queryBio(String text,
int start,
int rows)
Retrieve a list of Person objects.
|
public RESTConnector restConnector
public void init()
throws IOException
IOExceptionpublic List<AuthorityValue> queryAuthorities(String text, int max)
queryAuthorities in interface SolrAuthorityInterfacetext - search stringpublic AuthorityValue queryAuthorityID(String id)
queryAuthorityID in interface SolrAuthorityInterfaceid - orcid identifierpublic org.orcid.jaxb.model.record_v2.Person getBio(String id)
id - orcid identifierpublic List<org.orcid.jaxb.model.record_v2.Person> queryBio(String text, int start, int rows)
text - search stringstart - offset to userows - how many rows to returnCopyright © 2022 LYRASIS. All rights reserved.