public class DOIService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATACITE |
Modifier and Type | Method and Description |
---|---|
org.dataone.service.types.v1.Identifier |
generateDOI()
Generate a DOI using the EZID service as configured
|
static DOIService |
getInstance() |
boolean |
registerDOI(org.dataone.service.types.v2.SystemMetadata sysMeta)
submits DOI metadata information about the object to EZID
|
public static final java.lang.String DATACITE
public static DOIService getInstance()
public boolean registerDOI(org.dataone.service.types.v2.SystemMetadata sysMeta) throws org.dataone.service.exceptions.InvalidRequest, edu.ucsb.nceas.ezid.EZIDException, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, java.lang.InterruptedException
sysMeta
- edu.ucsb.nceas.ezid.EZIDException
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotImplemented
java.lang.InterruptedException
org.dataone.service.exceptions.InvalidRequest
public org.dataone.service.types.v1.Identifier generateDOI() throws edu.ucsb.nceas.ezid.EZIDException, org.dataone.service.exceptions.InvalidRequest
edu.ucsb.nceas.ezid.EZIDException
org.dataone.service.exceptions.InvalidRequest
Copyright © 2020 Regents of the University of California. All Rights Reserved.