Package | Description |
---|---|
pt.ptcris | |
pt.ptcris.test | |
pt.ptcris.utils |
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 | Class | Description |
---|---|---|
class |
Tester |
A simple implementation of the progress handler to log the execution of
PTCRISync procedures.
|
Modifier and Type | Method | Description |
---|---|---|
static ProgressHandler |
TestHelper.handler() |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<PTCRISyncResult<E>> |
ORCIDHelper.add(java.util.List<E> activities,
ProgressHandler handler) |
Synchronously adds a list of activities to an ORCID profile, either
through atomic or bulk calls if available.
|
void |
ORCIDHelper.getFulls(java.util.List<S> summaries,
java.util.Map<java.math.BigInteger,PTCRISyncResult<E>> cb,
ProgressHandler handler) |
Reads a full ORCID activity from an ORCID profile and adds it to a
callback map.
|