See: Description
| Class | Description |
|---|---|
| HandleManager |
Interface to the CNRI Handle
System .
|
| HandlePlugin |
Extension to the CNRI Handle Server that translates requests to resolve
handles into DSpace API calls.
|
| MultiRemoteDSpaceRepositoryHandlePlugin |
Extension to the CNRI Handle Server that translates requests to resolve
handles into remote calls to the mini-DSpace Handle resolver JSON API.
|
| UpdateHandlePrefix |
A script to update the handle values in the database.
|
An example use of the Handle API is shown below:
Item item;
// Create or obtain a context object
Context context;
// Create a Handle for an Item
String handle = HandleManager.createHandle(context, item);
// The canonical form, which can be used for citations
String canonical = HandleManager.getCanonicalForm(handle);
// A URL pointing to the Item
String url = HandleManager.resolveToURL(context, handle);
// Resolve the handle back to an object
Item resolvedItem = (Item) HandleManager.resolveToObject(context, handle);
// From the object, find its handle
String rhandle = HandleManager.findHandle(context, resolvedItem);
Copyright © 2018 DuraSpace. All Rights Reserved.