|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.objectmanager.DSpaceObjectManager
public class DSpaceObjectManager
The Wing ObjectManager implemented specificaly for DSpace. This manager is able identify all DSpace items, communities, and collections.
| Constructor Summary | |
|---|---|
DSpaceObjectManager()
|
|
| Method Summary | |
|---|---|
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 refrenced. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSpaceObjectManager()
| Method Detail |
|---|
public boolean manageObject(Object object)
manageObject in interface ObjectManagerobject - The object to be managed.
public String getObjectURL(Object object)
throws WingException
getObjectURL in interface ObjectManagerWingExceptionpublic String getObjectType(Object object)
getObjectType in interface ObjectManager
public String getRepositoryIdentifier(Object object)
throws WingException
getRepositoryIdentifier in interface ObjectManagerWingException
public String getRepositoryURL(Object object)
throws WingException
WingException
public Map<String,String> getAllManagedRepositories()
throws WingException
getAllManagedRepositories in interface ObjectManagerWingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||