|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All component plugins that handle access to data packages should implement this interface and register themselves as a service provider for the interface withthe framework.
Method Summary | |
void |
delete(java.lang.String docid,
java.lang.String location)
This method is called to delete a datapackage from metacat or the local disk. |
void |
download(java.lang.String docid)
This method is called to download a datapackage from metacat to the local disk. |
void |
openDataPackage(java.lang.String location,
java.lang.String identifier,
java.util.Vector relations)
This method is called to open a data package that resides either locally (location=local) or on a Metacat server (location=metacat). |
void |
upload(java.lang.String docid)
This method is called to upload a datapackage that is currently stored locally to metacat |
Method Detail |
public void openDataPackage(java.lang.String location, java.lang.String identifier, java.util.Vector relations)
location
- indicates the location from which to open the dataidentifier
- the unique identifier to use to open the datapublic void upload(java.lang.String docid)
docid
- the id of the package to uploadpublic void download(java.lang.String docid)
docid
- the docid of the package to downloadpublic void delete(java.lang.String docid, java.lang.String location)
docid
- the id of the package to deletelocation
- the location to delete it from. we do not necessarilly want
to delete the package from metacat and the local disk. the user could just
want to delete it in one of those places.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |