public class DOIURIGenerator extends Object implements URIGenerator
| Modifier and Type | Field and Description |
|---|---|
protected DOIService |
doiService |
protected static URIGenerator |
fallback |
| Constructor and Description |
|---|
DOIURIGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateIdentifier(Context context,
DSpaceObject dso)
Shortcut for
generateIdentifier(context, dso.getType(), dso.getID(), dso.getHandle()). |
String |
generateIdentifier(Context context,
int type,
UUID id,
String handle,
List<String> identifiers)
Generate a URI that can be used to identify the specified DSpaceObject in
RDF data.
|
static void |
setFallback(URIGenerator fallback) |
protected static URIGenerator fallback
@Autowired(required=true) protected DOIService doiService
public static void setFallback(URIGenerator fallback)
public String generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers) throws SQLException
URIGeneratorgenerateIdentifier in interface URIGeneratorSQLExceptionRDFUtil.generateIdentifier(Context, DSpaceObject)public String generateIdentifier(Context context, DSpaceObject dso) throws SQLException
URIGeneratorgenerateIdentifier(context, dso.getType(), dso.getID(), dso.getHandle()).generateIdentifier in interface URIGeneratorSQLExceptionCopyright © 2022 LYRASIS. All rights reserved.