1
|
package eu.dnetlib.dli.resolver;
|
2
|
|
3
|
import eu.dnetlib.dli.resolver.model.ResolvedObject;
|
4
|
|
5
|
/**
|
6
|
* The Interface DOIResolver.
|
7
|
*/
|
8
|
public interface PIDResolver {
|
9
|
|
10
|
/**
|
11
|
* Resolve THe DLIObject wiht the following pid.
|
12
|
*
|
13
|
* @param pid the persistent identifier to rescolve
|
14
|
* @param pidType the type of persistent identifier to resolve
|
15
|
* @return the DLIObject resolved if exists, null otherwise
|
16
|
*/
|
17
|
ResolvedObject retrievePID(final String pid, final String pidType);
|
18
|
|
19
|
/**
|
20
|
* Resolve and return the Dnet Identifier
|
21
|
*
|
22
|
* @param pid the persistent identifier to rescolve
|
23
|
* @param pidType the type of persistent identifier to resolve
|
24
|
* @return the Dnet Identifier of the DLI Object resolved if exists, null otherwise
|
25
|
*/
|
26
|
|
27
|
String retrieveDnetID(final String pid, final String pidType);
|
28
|
|
29
|
}
|