|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectManager
The object manager is a class that must be implemented by each specific repository implementation that identifies referenced objects. Since the DRI document includes references to external resources implementers of this class must know how objects are referenced. The specefic implementation of ObjectManager that is used is determened by the WingComponent that is creating the reference.
| Method Summary | |
|---|---|
Map<String,String> |
getAllManagedRepositories()
Return a list of all repositories managed by this manager. |
String |
getObjectType(Object object)
Return a descriptive, repository specfic, type for the object. |
String |
getObjectURL(Object object)
Return a url referencing the object's metadata. |
String |
getRepositoryIdentifier(Object object)
Return a unique identifier of the repository this object is contained in. |
boolean |
manageObject(Object object)
Determine if the supplied object is manageable by this implementation of ObjectManager. |
| Method Detail |
|---|
boolean manageObject(Object object)
throws WingException
object - The object to be managed.
WingException
String getObjectURL(Object object)
throws WingException
object - The object being managed.
WingException
String getObjectType(Object object)
throws WingException
object - The object being managed.
WingException
String getRepositoryIdentifier(Object object)
throws WingException
object - The object being managed.
WingException
Map<String,String> getAllManagedRepositories()
throws WingException
WingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||