예제 #1
0
 public ClientResponse getGroupIdRecords(int pageSize, int page, String accessToken) {
   URI uri =
       UriBuilder.fromPath(GROUP_ID_RECORD)
           .queryParam("page-size", pageSize)
           .queryParam("page", page)
           .build();
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #2
0
 public ClientResponse viewWorkXml(String orcid, Long putCode, String accessToken) {
   URI uri = UriBuilder.fromPath(WORK + PUTCODE).build(orcid, putCode);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #3
0
 public ClientResponse viewActivities(String orcid, String accessToken) {
   URI activitiesUri = UriBuilder.fromPath(ACTIVITIES).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(activitiesUri, VND_ORCID_XML, accessToken);
 }
예제 #4
0
 public ClientResponse viewLocationXml(URI location, String accessToken)
     throws URISyntaxException {
   return orcidClientHelper.getClientResponseWithToken(location, VND_ORCID_XML, accessToken);
 }
예제 #5
0
 public ClientResponse viewRecord(String orcid, String accessToken) {
   URI uri = UriBuilder.fromPath(PROFILE_ROOT_PATH).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #6
0
 public ClientResponse viewPerson(String orcid, String accessToken) {
   URI uri = UriBuilder.fromPath(PERSON).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #7
0
 public ClientResponse viewAddresses(String orcid, String accessToken) {
   URI uri = UriBuilder.fromPath(ADDRESS).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #8
0
 public ClientResponse viewKeywords(String orcid, String accessToken) {
   URI uri = UriBuilder.fromPath(KEYWORDS).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #9
0
 public ClientResponse viewBiography(String orcid, String accessToken) {
   URI uri = UriBuilder.fromPath(BIOGRAPHY).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #10
0
 public ClientResponse viewExternalIdentifier(String orcid, Long putCode, String accessToken) {
   URI uri = UriBuilder.fromPath(EXTERNAL_IDENTIFIERS + PUTCODE).build(orcid, putCode);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #11
0
 public ClientResponse viewOtherName(String orcid, Long putCode, String accessToken) {
   URI uri = UriBuilder.fromPath(OTHER_NAMES + PUTCODE).build(orcid, putCode);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #12
0
 public ClientResponse getEmails(String orcid, String accessToken) {
   URI uri = UriBuilder.fromPath(EMAIL).build(orcid);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }
예제 #13
0
 public ClientResponse getResearcherUrl(String orcid, Long putCode, String accessToken) {
   URI uri = UriBuilder.fromPath(RESEARCHER_URLS + PUTCODE).build(orcid, putCode);
   return orcidClientHelper.getClientResponseWithToken(uri, VND_ORCID_XML, accessToken);
 }