public class LocalURIGenerator extends Object implements URIGenerator
| Modifier and Type | Field and Description |
|---|---|
protected SiteService |
siteService |
| Constructor and Description |
|---|
LocalURIGenerator() |
| 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.
|
@Autowired(required=true) protected SiteService siteService
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 © 2016 DuraSpace. All rights reserved.