public class DleseAsUseCaseHelper
extends java.lang.Object
Constructor and Description |
---|
DleseAsUseCaseHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
getDeletedRecordHandles(java.lang.String collection)
Gets the handles of deleted metadata records for the specified collection.
|
static java.util.List |
getItemRecords(MetadataProviderReader mdp)
Gets the itemRecords for a given collection starting from the
MetadataProvider.
|
static MetadataProviderReader |
getMetadataProvider(java.lang.String collection)
Gets a metadataProviderReader given a collection key.
|
static void |
main(java.lang.String[] args)
Examples of how to obtain DLESE info from NDR objects.
|
public static MetadataProviderReader getMetadataProvider(java.lang.String collection)
The key for MY NASA DATA collection in ndrtest is "1123828776963".
collection
- collection keypublic static java.util.List getItemRecords(MetadataProviderReader mdp)
mdp
- NOT YET DOCUMENTEDpublic static java.util.List getDeletedRecordHandles(java.lang.String collection)
Note: only DLESE collections (written by the NCS) can be found by their collection key.
collection
- DLESE collection kdy (e.g., "dcc")public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
- NOT YET DOCUMENTED