public class PdsRegistryService extends Object
Constructor and Description |
---|
PdsRegistryService(String url) |
PdsRegistryService(String url,
gov.nasa.pds.registry.client.SecurityContext securityContext,
String user,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
createPackage(gov.nasa.pds.registry.model.RegistryPackage registryPackage) |
BatchManager |
getBatchManager() |
boolean |
hasProduct(String lid) |
boolean |
hasProduct(String lid,
String vid) |
void |
ingest(gov.nasa.pds.registry.model.ExtrinsicObject extrinsic,
String datasetId) |
void |
setBatchMode(int value)
Sets the number of concurrent registrations to make
during batch mode.
|
public PdsRegistryService(String url) throws gov.nasa.pds.registry.exception.RegistryClientException
gov.nasa.pds.registry.exception.RegistryClientException
public boolean hasProduct(String lid)
public boolean hasProduct(String lid, String vid) throws gov.nasa.pds.registry.exception.RegistryServiceException
gov.nasa.pds.registry.exception.RegistryServiceException
public void ingest(gov.nasa.pds.registry.model.ExtrinsicObject extrinsic, String datasetId)
public String createPackage(gov.nasa.pds.registry.model.RegistryPackage registryPackage) throws gov.nasa.pds.registry.exception.RegistryServiceException
gov.nasa.pds.registry.exception.RegistryServiceException
public void setBatchMode(int value)
value
- An integer value.public BatchManager getBatchManager()
Copyright © 2010–2019 Planetary Data System. All rights reserved.