ORCIDClientImplpublic interface ORCIDClient
works.| Modifier and Type | Method | Description |
|---|---|---|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> |
addFunding(org.um.dsi.gavea.orcid.model.funding.Funding funding) |
Adds a new funding entry to the ORCID profile and returns the assigned
put-code.
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> |
addWork(org.um.dsi.gavea.orcid.model.work.Work work) |
Adds a new work to the ORCID profile and returns the assigned put-code.
|
java.util.List<PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> |
addWorks(java.util.List<org.um.dsi.gavea.orcid.model.work.Work> works) |
Adds a list of new works to the ORCID profile.
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> |
deleteFunding(java.math.BigInteger putcode) |
Deletes a funding entry from the ORCID profile.
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> |
deleteWork(java.math.BigInteger putcode) |
Deletes a work from the ORCID profile.
|
org.um.dsi.gavea.orcid.model.activities.ActivitiesSummary |
getActivitiesSummary() |
Retrieves every activity summary from the ORCID profile.
|
java.lang.String |
getClientId() |
Returns the Member API client id that will commit the changes (i.e., the
works' source).
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> |
getFunding(org.um.dsi.gavea.orcid.model.funding.FundingSummary summary) |
Retrieves a complete funding entry from the ORCID profile (as opposed to
only its summary).
|
org.um.dsi.gavea.orcid.model.activities.Fundings |
getFundingsSummary() |
Retrieves every funding summary from the ORCID profile.
|
java.lang.String |
getUserId() |
Returns the user ORCID to whose profiles the changes will be commited.
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> |
getWork(org.um.dsi.gavea.orcid.model.work.WorkSummary summary) |
Retrieves a complete work from the ORCID profile (as opposed to only its
summary).
|
java.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> |
getWorks(java.util.List<org.um.dsi.gavea.orcid.model.work.WorkSummary> summaries) |
Retrieves a list of complete work from the ORCID profile (as opposed to
only their summaries).
|
org.um.dsi.gavea.orcid.model.activities.Works |
getWorksSummary() |
Retrieves every work summary from the ORCID profile.
|
int |
threads() |
The number of worker threads that will be used to communicate with the
ORCID API.
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> |
updateFunding(java.math.BigInteger putcode,
org.um.dsi.gavea.orcid.model.funding.Funding funding) |
Updates a funding entry in the ORCID profile.
|
PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> |
updateWork(java.math.BigInteger putcode,
org.um.dsi.gavea.orcid.model.work.Work work) |
Updates a work in the ORCID profile.
|
java.lang.String getClientId()
java.lang.String getUserId()
org.um.dsi.gavea.orcid.model.activities.ActivitiesSummary getActivitiesSummary()
throws org.um.dsi.gavea.orcid.client.exception.OrcidClientException
org.um.dsi.gavea.orcid.client.exception.OrcidClientException - if the communication with ORCID failsorg.um.dsi.gavea.orcid.model.activities.Works getWorksSummary()
throws org.um.dsi.gavea.orcid.client.exception.OrcidClientException
org.um.dsi.gavea.orcid.client.exception.OrcidClientException - if the communication with ORCID failsorg.um.dsi.gavea.orcid.model.activities.Fundings getFundingsSummary()
throws org.um.dsi.gavea.orcid.client.exception.OrcidClientException
org.um.dsi.gavea.orcid.client.exception.OrcidClientException - if the communication with ORCID failsPTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> getWork(org.um.dsi.gavea.orcid.model.work.WorkSummary summary)
PTCRISyncResult.summary - the summary of the work to be retrievedPTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> getFunding(org.um.dsi.gavea.orcid.model.funding.FundingSummary summary)
PTCRISyncResult.summary - the summary of the funding entry to be retrievedjava.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> getWorks(java.util.List<org.um.dsi.gavea.orcid.model.work.WorkSummary> summaries)
PTCRISyncResult. This should generate a single API call
internally.summaries - the summaries of the works to be retrievedPTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> addWork(org.um.dsi.gavea.orcid.model.work.Work work)
PTCRISyncResult.work - the work to be added to the ORCID profilePTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> addFunding(org.um.dsi.gavea.orcid.model.funding.Funding funding)
PTCRISyncResult.funding - the funding entry to be added to the ORCID profilejava.util.List<PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> addWorks(java.util.List<org.um.dsi.gavea.orcid.model.work.Work> works)
PTCRISyncResult. This should generate a single API call
internally.works - the works to be added to the ORCID profilePTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> deleteWork(java.math.BigInteger putcode)
PTCRISyncResult.putcode - the put-code of the work to be deletedPTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> deleteFunding(java.math.BigInteger putcode)
PTCRISyncResult.putcode - the put-code of the funding entry to be deletedPTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work> updateWork(java.math.BigInteger putcode, org.um.dsi.gavea.orcid.model.work.Work work)
PTCRISyncResult.putcode - the put-code of the work to be updatedwork - the new state of the workPTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding> updateFunding(java.math.BigInteger putcode, org.um.dsi.gavea.orcid.model.funding.Funding funding)
PTCRISyncResult.putcode - the put-code of the funding entry to be updatedfunding - the new state of the funding entryint threads()