public class DSpaceObjectManager extends Object implements org.dspace.app.xmlui.wing.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 org.dspace.app.xmlui.wing.ObjectManagerobject - The object to be managed.public String getObjectURL(Object object) throws org.dspace.app.xmlui.wing.WingException
getObjectURL in interface org.dspace.app.xmlui.wing.ObjectManagerorg.dspace.app.xmlui.wing.WingExceptionpublic String getObjectType(Object object)
getObjectType in interface org.dspace.app.xmlui.wing.ObjectManagerpublic String getRepositoryIdentifier(Object object) throws org.dspace.app.xmlui.wing.WingException
getRepositoryIdentifier in interface org.dspace.app.xmlui.wing.ObjectManagerorg.dspace.app.xmlui.wing.WingExceptionpublic String getRepositoryURL(Object object) throws org.dspace.app.xmlui.wing.WingException
org.dspace.app.xmlui.wing.WingExceptionpublic Map<String,String> getAllManagedRepositories() throws org.dspace.app.xmlui.wing.WingException
getAllManagedRepositories in interface org.dspace.app.xmlui.wing.ObjectManagerorg.dspace.app.xmlui.wing.WingExceptionCopyright © 2016 DuraSpace. All rights reserved.