public class UpdateDOI extends java.lang.Object implements UpgradeUtilityInterface
| Constructor and Description |
|---|
UpdateDOI()
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getServerLocation() |
void |
setServerLocation(int serverLocation) |
boolean |
upgrade()
Update the DOI registration of all ids in this server with EML formatIds
|
boolean |
upgradeByFormatId(java.util.List<java.lang.String> formatIds)
Update the registration of all DOIs in this server with the specified formatId
|
boolean |
upgradeById(java.util.List<java.lang.String> ids)
Update the registration of all DOIs with the specified guids in this server
|
public UpdateDOI()
throws java.lang.Exception
java.lang.Exceptionpublic int getServerLocation()
public void setServerLocation(int serverLocation)
public boolean upgrade()
throws AdminException
upgrade in interface UpgradeUtilityInterfaceAdminExceptionpublic boolean upgradeById(java.util.List<java.lang.String> ids)
throws AdminException
ids - - a List of DOIs to updateAdminExceptionpublic boolean upgradeByFormatId(java.util.List<java.lang.String> formatIds)
throws AdminException
formatIds - - a List of formatIDs used to filter DOI selectionAdminExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.