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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanupgrade()Update the DOI registration of all ids in this server with EML formatIdsbooleanupgradeByFormatId(List<String> formatIds) Update the registration of all DOIs in this server with the specified formatIdbooleanupgradeById(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:
upgradein 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
-