Package | Description |
---|---|
pt.ptcris | |
pt.ptcris.test | |
pt.ptcris.utils |
Modifier and Type | Class | Description |
---|---|---|
class |
ORCIDClientImpl |
An implementation of the ORCID client interface built over the
Degois client . |
Modifier and Type | Method | Description |
---|---|---|
static java.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> |
PTCRISync.export(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Deprecated.
|
static java.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> |
PTCRISync.exportForce(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Deprecated.
|
static java.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.funding.Funding>> |
PTCRISync.exportFundings(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> locals,
java.util.Collection<org.um.dsi.gavea.orcid.model.funding.FundingType> types,
ProgressHandler handler) |
Exports a list of local CRIS funding entries to an ORCID profile and
keeps them up-to-date.
|
static java.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> |
PTCRISync.exportWorks(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Exports a list of local CRIS productions to an ORCID profile and keeps
them up-to-date.
|
static java.util.Map<java.math.BigInteger,PTCRISyncResult<org.um.dsi.gavea.orcid.model.work.Work>> |
PTCRISync.exportWorksForced(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Exports a list of local CRIS productions to an ORCID profile and keeps
them up-to-date.
|
static java.lang.Integer |
PTCRISync.importCounter(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Deprecated.
|
static java.lang.Integer |
PTCRISync.importFundingCounter(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> locals,
java.util.Collection<org.um.dsi.gavea.orcid.model.funding.FundingType> types,
ProgressHandler handler) |
Counts new valid funding activities in an ORCID profile given a set of
known local CRIS funding entries, following the criteria of
PTCRISync.importFundings(ORCIDClient, List, Collection, ProgressHandler)
but is more efficient, generating less API calls. |
static java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> |
PTCRISync.importFundings(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> locals,
java.util.Collection<org.um.dsi.gavea.orcid.model.funding.FundingType> types,
ProgressHandler handler) |
Discovers new valid funding activities in an ORCID profile given a set of
known local CRIS funding entries.
|
static java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> |
PTCRISync.importFundingUpdates(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> locals,
java.util.Collection<org.um.dsi.gavea.orcid.model.funding.FundingType> types,
ProgressHandler handler) |
Discovers updates to existing local CRIS funding activities in an ORCID
profile.
|
static java.util.Map<org.um.dsi.gavea.orcid.model.work.Work,java.util.Set<java.lang.String>> |
PTCRISync.importInvalid(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Deprecated.
|
static java.util.Map<org.um.dsi.gavea.orcid.model.funding.Funding,java.util.Set<java.lang.String>> |
PTCRISync.importInvalidFundings(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.funding.Funding> locals,
java.util.Collection<org.um.dsi.gavea.orcid.model.funding.FundingType> types,
ProgressHandler handler) |
Discovers new invalid funding activities (that do not pass the quality
criteria, see
ORCIDHelper.testMinimalQuality(ElementSummary) ) in an
ORCID profile given a set of known local CRIS entries, as well as the
causes for invalidity (defined at ORCIDFundingHelper ). |
static java.util.Map<org.um.dsi.gavea.orcid.model.work.Work,java.util.Set<java.lang.String>> |
PTCRISync.importInvalidWorks(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Discovers new invalid works (that do not pass the quality criteria, see
ORCIDHelper.testMinimalQuality(ElementSummary) ) in an ORCID
profile given a set of known local CRIS entries, as well as the causes
for invalidity (defined at ORCIDWorkHelper ). |
static java.util.List<org.um.dsi.gavea.orcid.model.work.Work> |
PTCRISync.importUpdates(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Deprecated.
|
static java.lang.Integer |
PTCRISync.importWorkCounter(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Counts new valid works in an ORCID profile given a set of
known local CRIS productions, following the criteria of
PTCRISync.importWorks(ORCIDClient, List, ProgressHandler)
but is more efficient, generating less API calls. |
static java.util.List<org.um.dsi.gavea.orcid.model.work.Work> |
PTCRISync.importWorks(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Discovers new valid works in an ORCID profile given a set of known local
CRIS productions.
|
static java.util.List<org.um.dsi.gavea.orcid.model.work.Work> |
PTCRISync.importWorkUpdates(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> locals,
ProgressHandler handler) |
Discovers updates to existing local CRIS productions in an ORCID
profile.
|
Modifier and Type | Method | Description |
---|---|---|
static ORCIDClient |
TestClients.getCRISClient(TestClients.Profile profile) |
Retrieves an ORCID client for a given user profile using the local CRIS
Member API client id.
|
static ORCIDClient |
TestClients.getExternalClient(TestClients.Profile profile) |
Retrieves an ORCID client for a given user profile using the a Member API
client id that is not the local CRIS (used to simulate an external
source).
|
Modifier and Type | Field | Description |
---|---|---|
ORCIDClient |
ORCIDHelper.client |
The client used to communicate with ORCID.
|
Constructor | Description |
---|---|
ORCIDFundingHelper(ORCIDClient orcidClient) |
Initializes the helper with a given ORCID client.
|
ORCIDHelper(ORCIDClient orcidClient,
int bulk_size_add,
int bulk_size_get) |
Initializes the helper with a given ORCID client, which defines whether
asynchronous calls will be performed, and sets whether bulk ORCID
commands are available and with which size.
|
ORCIDWorkHelper(ORCIDClient orcidClient) |
Initializes the helper with a given ORCID client.
|