|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.ndr.DleseAsUseCaseHelper
public class DleseAsUseCaseHelper
Just a few examples of fetching info from NDR. Approach:
| Constructor Summary | |
|---|---|
DleseAsUseCaseHelper()
|
|
| Method Summary | |
|---|---|
static List |
getDeletedRecordHandles(String collection)
Gets the handles of deleted metadata records for the specified collection. |
static List |
getItemRecords(MetadataProviderReader mdp)
Gets the itemRecords for a given collection starting from the MetadataProvider. |
static MetadataProviderReader |
getMetadataProvider(String collection)
Gets a metadataProviderReader given a collection key. |
static void |
main(String[] args)
Examples of how to obtain DLESE info from NDR objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DleseAsUseCaseHelper()
| Method Detail |
|---|
public static MetadataProviderReader getMetadataProvider(String collection)
The key for MY NASA DATA collection in ndrtest is "1123828776963".
collection - collection key
public static List getItemRecords(MetadataProviderReader mdp)
mdp - NOT YET DOCUMENTED
public static List getDeletedRecordHandles(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(String[] args)
throws Exception
args - The command line arguments
Exception - NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||