public class DSpaceObjectManager extends Object implements ObjectManager
| Constructor and Description |
|---|
DSpaceObjectManager() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllManagedRepositories()
For the DSpace implementation we just return a hash of one entry which contains
a reference to this repository's metadata.
|
String |
getObjectType(Object object)
Return a pretty specific string giving a hint to the theme as to what
type of DSpace object is being referenced.
|
String |
getObjectURL(Object object)
Return the metadata URL of the supplied object, assuming
it's a DSpace item, community or collection.
|
String |
getRepositoryIdentifier(Object object)
Return a globally unique identifier for the repository.
|
String |
getRepositoryURL(Object object)
Return the metadata URL for this repository.
|
boolean |
manageObject(Object object)
Manage the given object, if this manager is unable to manage the object then false must be returned.
|
public boolean manageObject(Object object)
manageObject in interface ObjectManagerobject - The object to be managed.public String getObjectURL(Object object) throws WingException
getObjectURL in interface ObjectManagerobject - The object being managed.WingExceptionpublic String getObjectType(Object object)
getObjectType in interface ObjectManagerobject - The object being managed.public String getRepositoryIdentifier(Object object) throws WingException
getRepositoryIdentifier in interface ObjectManagerobject - The object being managed.WingExceptionpublic String getRepositoryURL(Object object) throws WingException
WingExceptionpublic Map<String,String> getAllManagedRepositories() throws WingException
getAllManagedRepositories in interface ObjectManagerWingExceptionCopyright © 2014 DuraSpace. All Rights Reserved.