/** * ============================================================================= * * ORCID (R) Open Source * http://orcid.org * * Copyright (c) 2012-2014 ORCID, Inc. * Licensed under an MIT-Style License (MIT) * http://orcid.org/open-source-license * * This copyright and license information (including a link to the full license) * shall be included in its entirety in all copies or substantial portion of * the software. * * ============================================================================= */ package org.orcid.core.manager.read_only; import org.orcid.jaxb.model.record_v2.PersonExternalIdentifier; import org.orcid.jaxb.model.record_v2.PersonExternalIdentifiers; public interface ExternalIdentifierManagerReadOnly { /** * Return the list of public external identifiers associated to a specific * profile * * @param orcid * @return the list of public external identifiers associated with the orcid * profile */ PersonExternalIdentifiers getPublicExternalIdentifiers(String orcid, long lastModified); /** * Return the list of external identifiers associated to a specific profile * * @param orcid * @return the list of external identifiers associated with the orcid * profile */ PersonExternalIdentifiers getExternalIdentifiers(String orcid, long lastModified); /** * Retrieve a external identifier from database * * @param id * @return the externalIdentifierEntity associated with the parameter id */ PersonExternalIdentifier getExternalIdentifier(String orcid, Long id); }