|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.identifier.IdentifierServiceImpl
public class IdentifierServiceImpl
The main service class used to reserve, register and resolve identifiers
| Constructor Summary | |
|---|---|
IdentifierServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
delete(Context context,
DSpaceObject dso)
Delete (Unbind) all identifiers registered for a specific DSpace item. |
void |
delete(Context context,
DSpaceObject dso,
String identifier)
Used to Delete a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers can process the same identifier. |
String |
lookup(Context context,
DSpaceObject dso,
Class<? extends Identifier> identifier)
|
void |
register(Context context,
DSpaceObject dso)
|
void |
register(Context context,
DSpaceObject object,
String identifier)
Used to Register a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers can process the same identifier. |
void |
reserve(Context context,
DSpaceObject dso)
Reserves identifiers for the item |
void |
reserve(Context context,
DSpaceObject dso,
String identifier)
Used to Reserve a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers can process the same identifier. |
DSpaceObject |
resolve(Context context,
String identifier)
This will resolve a DSpaceObject based on a provided Identifier. |
void |
setProviders(List<IdentifierProvider> providers)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentifierServiceImpl()
| Method Detail |
|---|
@Autowired public void setProviders(List<IdentifierProvider> providers)
public void reserve(Context context,
DSpaceObject dso)
throws AuthorizeException,
SQLException,
IdentifierException
reserve in interface IdentifierServicecontext - dspace contextdso - dspace object
AuthorizeException
SQLException
IdentifierException
public void reserve(Context context,
DSpaceObject dso,
String identifier)
throws AuthorizeException,
SQLException,
IdentifierException
IdentifierService
reserve in interface IdentifierServiceAuthorizeException
SQLException
IdentifierException
public void register(Context context,
DSpaceObject dso)
throws AuthorizeException,
SQLException,
IdentifierException
register in interface IdentifierServiceAuthorizeException
SQLException
IdentifierException
public void register(Context context,
DSpaceObject object,
String identifier)
throws AuthorizeException,
SQLException,
IdentifierException
IdentifierService
register in interface IdentifierServiceAuthorizeException
SQLException
IdentifierException
public String lookup(Context context,
DSpaceObject dso,
Class<? extends Identifier> identifier)
lookup in interface IdentifierService
public DSpaceObject resolve(Context context,
String identifier)
throws IdentifierNotFoundException,
IdentifierNotResolvableException
IdentifierService
resolve in interface IdentifierServiceIdentifierNotFoundException
IdentifierNotResolvableException
public void delete(Context context,
DSpaceObject dso)
throws AuthorizeException,
SQLException,
IdentifierException
IdentifierService
delete in interface IdentifierServiceAuthorizeException
SQLException
IdentifierException
public void delete(Context context,
DSpaceObject dso,
String identifier)
throws AuthorizeException,
SQLException,
IdentifierException
IdentifierService
delete in interface IdentifierServiceAuthorizeException
SQLException
IdentifierException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||