Package | Description |
---|---|
pt.ptcris | |
pt.ptcris.test | |
pt.ptcris.utils |
Modifier and Type | Class and Description |
---|---|
class |
ORCIDClientImpl
An implementation of the ORCID client interface built over the
Degois client . |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.math.BigInteger,PTCRISyncResult> |
PTCRISync.export(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> localWorks,
ProgressHandler handler)
A version of the export procedure that tests whether the meta-data is
up-to-date prior to updating a work in ORCID.
|
static java.util.Map<java.math.BigInteger,PTCRISyncResult> |
PTCRISync.exportForce(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> localWorks,
ProgressHandler handler)
A version of the export procedure that forces the update of the CRIS
sourced works at ORCID, even if they are already up-to-date.
|
static java.lang.Integer |
PTCRISync.importCounter(ORCIDClient client,
java.util.List<org.um.dsi.gavea.orcid.model.work.Work> localWorks,
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) . |
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> localWorks,
ProgressHandler handler)
Discovers new invalid works (that do not pass the quality criteria) in an
ORCID profile given a set of known local CRIS productions, as well as the
causes for invalidity (defined at
ORCIDHelper ). |
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> localWorks,
ProgressHandler handler)
Discovers updates to existing local CRIS productions in an ORCID profile.
|
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> localWorks,
ProgressHandler handler)
Discovers new valid works in an ORCID profile given a set of known local
CRIS productions.
|
Modifier and Type | Method and 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 and Description |
---|---|
ORCIDClient |
ORCIDHelper.client
The client used to communicate with ORCID.
|
Constructor and Description |
---|
ORCIDAddWorker(org.um.dsi.gavea.orcid.model.work.Work work,
ORCIDClient client,
java.util.Map<java.math.BigInteger,java.lang.Object> cb,
org.apache.logging.log4j.Logger log)
A threaded worker that can be launched in parallel to ADD works with the
ORCID API.
|
ORCIDDelWorker(java.math.BigInteger putcode,
ORCIDClient client,
java.util.Map<java.math.BigInteger,java.lang.Object> cb,
org.apache.logging.log4j.Logger log)
A threaded worker that can be launched in parallel to DELETE works with
the ORCID API.
|
ORCIDGetWorker(org.um.dsi.gavea.orcid.model.work.WorkSummary work,
ORCIDClient client,
java.util.Map<java.math.BigInteger,java.lang.Object> cb,
org.apache.logging.log4j.Logger log)
A threaded worker that can be launched in parallel to GET works with the
ORCID API.
|
ORCIDHelper(ORCIDClient orcidClient)
Initializes the helper with a given ORCID client.
|
ORCIDUpdWorker(org.um.dsi.gavea.orcid.model.work.Work work,
ORCIDClient client,
java.util.Map<java.math.BigInteger,java.lang.Object> cb,
org.apache.logging.log4j.Logger log)
A threaded worker that can be launched in parallel to UPDATE works with
the ORCID API.
|