|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.citool.ingestor.StorageIngester
public class StorageIngester
Class that will ingest registered products to the PDS Storage Service.
Constructor Summary | |
---|---|
StorageIngester(URL storageServerUrl)
Constructor. |
Method Summary | |
---|---|
org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient |
getFMClient()
Returns the File Manager client. |
org.apache.oodt.cas.filemgr.structs.Product |
getProductById(String productId)
Gets a product by given product id |
org.apache.oodt.cas.filemgr.structs.Product |
getProductByName(String productName)
Gets a product by given name |
String |
ingestToStorage(CatalogObject catObj)
Ingests a file object and gets a product id from the storage server. |
void |
setProductName(String productName)
Sets the product name for the storage service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorageIngester(URL storageServerUrl) throws org.apache.oodt.cas.filemgr.structs.exceptions.ConnectionException
storageServerUrl
- URL to the PDS storage server.
org.apache.oodt.cas.filemgr.structs.exceptions.ConnectionException
- If there was an error connecting to the
Storage Service.Method Detail |
---|
public void setProductName(String productName)
public org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient getFMClient()
public String ingestToStorage(CatalogObject catObj)
product
- The file associated with the given file object.fileObject
- The file object to ingest.metadata
- The metadata associated with the given file.
public org.apache.oodt.cas.filemgr.structs.Product getProductById(String productId)
productId
- The ID of the product
public org.apache.oodt.cas.filemgr.structs.Product getProductByName(String productName)
productName
- The name of the product
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |