|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
RMI interface to the ADL metadata service.
$Log: MetadataService.java,v $
Revision 1.3 2003/05/12 18:04:33 gjanee
Added support for arbitrary, per-collection and per-holding
metadata views. Specifically, changed the view
argument data type from an enumeration to a string. Added method
performViewsService.
Revision 1.2 2001/08/01 18:00:28 gjanee
Added duplicate declarations for the metadata view codes so that
RMI clients don't have to access the implementation class
edu.ucsb.adl.middleware.MetadataService.
Revision 1.1 2001/02/16 00:15:00 gjanee
Initial revision
| Method Summary | |
java.lang.String |
performMetadataService(java.lang.String view,
java.lang.String object)
Performs the ADL metadata service. |
java.lang.String[] |
performViewsService(java.lang.String object)
Returns the views supported by a holding within a collection. |
| Method Detail |
public java.lang.String performMetadataService(java.lang.String view,
java.lang.String object)
throws MiddlewareException,
java.rmi.RemoteException
view - The metadata view, e.g., "adl:bucket".object - An object identifier, which should have the form
"C:H" where C is the name of
a collection (e.g., "adl_catalog") and H is
a collection-specific holding identifier.
BadRequestException - If any of the arguments is invalid.
NoAuthorizationException - If the request is valid but not allowed.
UnsupportedException - If the request is valid but not supported.
java.rmi.RemoteException - If an RMI error occurs.
InternalErrorException - If the request cannot otherwise be completed.
MiddlewareException
public java.lang.String[] performViewsService(java.lang.String object)
throws MiddlewareException,
java.rmi.RemoteException
object - An object identifier, which should have the form
"C:H" where C is the name of
a collection (e.g., "adl_catalog") and H is
a collection-specific holding identifier.
BadRequestException - If object is invalid.
NoAuthorizationException - If the request is valid but not allowed.
java.rmi.RemoteException - If an RMI error occurs.
InternalErrorException - If the request cannot otherwise be completed.
MiddlewareException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||