Exemplo n.º 1
0
 public ClientResponse updateExternalIdentifier(
     String orcid, PersonExternalIdentifier externalIdentifier, String accessToken) {
   URI uri =
       UriBuilder.fromPath(EXTERNAL_IDENTIFIERS + PUTCODE)
           .build(orcid, externalIdentifier.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(
       uri, VND_ORCID_XML, externalIdentifier, accessToken);
 }
Exemplo n.º 2
0
 public ClientResponse updateWork(String orcid, Work work, String accessToken) {
   URI uri = UriBuilder.fromPath(WORK + PUTCODE).build(orcid, work.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, work, accessToken);
 }
Exemplo n.º 3
0
 public ClientResponse updateAddress(String orcid, Address address, String accessToken) {
   URI uri = UriBuilder.fromPath(ADDRESS + PUTCODE).build(orcid, address.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, address, accessToken);
 }
Exemplo n.º 4
0
 public ClientResponse updateKeyword(String orcid, Keyword keyword, String accessToken) {
   URI uri = UriBuilder.fromPath(KEYWORDS + PUTCODE).build(orcid, keyword.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, keyword, accessToken);
 }
Exemplo n.º 5
0
 public ClientResponse updateResearcherUrls(String orcid, ResearcherUrl rUrl, String accessToken) {
   URI uri = UriBuilder.fromPath(RESEARCHER_URLS + PUTCODE).build(orcid, rUrl.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, rUrl, accessToken);
 }
Exemplo n.º 6
0
 public ClientResponse updateOtherName(String orcid, OtherName otherName, String accessToken) {
   URI uri = UriBuilder.fromPath(OTHER_NAMES + PUTCODE).build(orcid, otherName.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, otherName, accessToken);
 }
Exemplo n.º 7
0
 public ClientResponse updatePeerReview(String orcid, PeerReview peerReview, String accessToken) {
   URI uri = UriBuilder.fromPath(PEER_REVIEW + PUTCODE).build(orcid, peerReview.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(
       uri, VND_ORCID_XML, peerReview, accessToken);
 }
Exemplo n.º 8
0
 public ClientResponse updateLocationXml(
     URI location, String accessToken, Object jaxbRootElement) {
   return orcidClientHelper.putClientResponseWithToken(
       location, VND_ORCID_XML, jaxbRootElement, accessToken);
 }
Exemplo n.º 9
0
 public ClientResponse updateFunding(String orcid, Funding funding, String accessToken) {
   URI uri = UriBuilder.fromPath(FUNDING + PUTCODE).build(orcid, funding.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, funding, accessToken);
 }
Exemplo n.º 10
0
 public ClientResponse updateEmployment(String orcid, Employment employment, String accessToken) {
   URI uri = UriBuilder.fromPath(EMPLOYMENT + PUTCODE).build(orcid, employment.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(
       uri, VND_ORCID_XML, employment, accessToken);
 }
Exemplo n.º 11
0
 public ClientResponse updateEducation(String orcid, Education education, String accessToken) {
   URI uri = UriBuilder.fromPath(EDUCATION + PUTCODE).build(orcid, education.getPutCode());
   return orcidClientHelper.putClientResponseWithToken(uri, VND_ORCID_XML, education, accessToken);
 }