org.dspace.identifier
Class IdentifierProvider
java.lang.Object
org.dspace.identifier.IdentifierProvider
- Direct Known Subclasses:
- HandleIdentifierProvider, VersionedHandleIdentifierProvider
public abstract class IdentifierProvider
- extends Object
- Author:
- Fabio Bolognesi (fabio at atmire dot com), Mark Diggory (markd at atmire dot com), Ben Bosman (ben at atmire dot com)
|
Method Summary |
abstract void |
delete(Context context,
DSpaceObject dso)
|
abstract void |
delete(Context context,
DSpaceObject dso,
String identifier)
|
abstract String |
lookup(Context context,
DSpaceObject object)
|
abstract String |
mint(Context context,
DSpaceObject dso)
|
abstract String |
register(Context context,
DSpaceObject item)
|
abstract void |
register(Context context,
DSpaceObject object,
String identifier)
|
abstract void |
reserve(Context context,
DSpaceObject dso,
String identifier)
|
abstract DSpaceObject |
resolve(Context context,
String identifier,
String... attributes)
|
void |
setConfigurationService(ConfigurationService configurationService)
|
void |
setParentService(IdentifierService parentService)
|
abstract boolean |
supports(Class<? extends Identifier> identifier)
|
abstract boolean |
supports(String identifier)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentService
protected IdentifierService parentService
configurationService
protected ConfigurationService configurationService
IdentifierProvider
public IdentifierProvider()
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
setParentService
public void setParentService(IdentifierService parentService)
supports
public abstract boolean supports(Class<? extends Identifier> identifier)
supports
public abstract boolean supports(String identifier)
register
public abstract String register(Context context,
DSpaceObject item)
throws IdentifierException
- Throws:
IdentifierException
mint
public abstract String mint(Context context,
DSpaceObject dso)
throws IdentifierException
- Throws:
IdentifierException
resolve
public abstract DSpaceObject resolve(Context context,
String identifier,
String... attributes)
throws IdentifierNotFoundException,
IdentifierNotResolvableException
- Throws:
IdentifierNotFoundException
IdentifierNotResolvableException
lookup
public abstract String lookup(Context context,
DSpaceObject object)
throws IdentifierNotFoundException,
IdentifierNotResolvableException
- Throws:
IdentifierNotFoundException
IdentifierNotResolvableException
delete
public abstract void delete(Context context,
DSpaceObject dso)
throws IdentifierException
- Throws:
IdentifierException
delete
public abstract void delete(Context context,
DSpaceObject dso,
String identifier)
throws IdentifierException
- Throws:
IdentifierException
reserve
public abstract void reserve(Context context,
DSpaceObject dso,
String identifier)
throws IdentifierException
- Throws:
IdentifierException
register
public abstract void register(Context context,
DSpaceObject object,
String identifier)
Copyright © 2012 DuraSpace. All Rights Reserved.