mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
Update metadata for a given DOI Identifier or an Item or a Handle
This commit is contained in:

committed by
Pascal-Nicolas Becker

parent
66be510a64
commit
edc4ceaa28
@@ -377,6 +377,18 @@ public class DOIIdentifierProvider
|
||||
|
||||
}
|
||||
|
||||
public void updateMetadata(Context context, DSpaceObject dso, String identifier )
|
||||
throws IdentifierException
|
||||
{
|
||||
|
||||
String doi = formatIdentifier(identifier);
|
||||
if(connector.updateMetadata(context, dso, doi))
|
||||
return;
|
||||
throw new IdentifierException("it wasn't possible to update metadata for "
|
||||
+ "the DOI" + identifier + ". Take a look into the logs"
|
||||
+ " for further details.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String mint(Context context, DSpaceObject dso)
|
||||
throws IdentifierException
|
||||
|
Reference in New Issue
Block a user