Class UpdateDOI
java.lang.Object
edu.ucsb.nceas.metacat.admin.upgrade.UpdateDOI
- All Implemented Interfaces:
UpgradeUtilityInterface
Updates existing DOI registrations for EML versions
- Author:
- leinfelder, walker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
upgrade()
Update the DOI registration of all ids in this server with EML formatIdsboolean
upgradeByFormatId
(List<String> formatIds) Update the registration of all DOIs in this server with the specified formatIdboolean
upgradeById
(List<String> ids) Update the registration of all DOIs with the specified guids in this server
-
Constructor Details
-
UpdateDOI
public UpdateDOI() throws org.dataone.service.exceptions.ServiceFailurePublic constructor- Throws:
org.dataone.service.exceptions.ServiceFailure
-
-
Method Details
-
upgrade
Update the DOI registration of all ids in this server with EML formatIds- Specified by:
upgrade
in interfaceUpgradeUtilityInterface
- Throws:
AdminException
-
upgradeById
Update the registration of all DOIs with the specified guids in this server- Parameters:
ids
- - a List of DOIs to update- Throws:
AdminException
-
upgradeByFormatId
Update the registration of all DOIs in this server with the specified formatId- Parameters:
formatIds
- - a List of formatIDs used to filter DOI selection- Throws:
AdminException
-