|
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.serviceclients.webclient.WebServiceClient
org.dlese.dpc.schemedit.ndr.util.NCSWebServiceClient
public class NCSWebServiceClient
Class to extract information from the NCS via webServices.
| Constructor Summary | |
|---|---|
NCSWebServiceClient()
Constructor for the NCSWebServiceClient object |
|
NCSWebServiceClient(String baseWebServiceUrl)
Constructor for the NCSWebServiceClient object |
|
| Method Summary | |
|---|---|
String |
getNCSCollectionID(String resourceUrl)
Finds the collection id for the provided collection resource url. |
List |
getNCSCollectionIDs()
Gets the IDS of the Collections of the NCS http://ncs.nsdl.org/mgr/services/ddsws1-1?verb=ListCollections |
List |
getNCSCollectionRecordIDs()
Gets a list of record ids from the NCSL Collections collection. |
NCSCollectReader |
getNCSRecord(String recId)
Returns NCSCollectReader instance for NCS Collect record having provided id. |
NCSCollectReader |
getNCSRecord(URL resourceUrl)
Gets an NCSCollectReader instance for a given resourceUrl. |
NCSCollectReader |
getNCSRecordByTitle(String title)
Gets the nCSRecordByTitle attribute of the NCSWebServiceClient object |
List |
getRecordIDs(String collectionKey)
Gets a list of record ids from the specified collection. |
static void |
main(String[] args)
The main program for the NCSWebServiceClient class |
| Methods inherited from class org.dlese.dpc.serviceclients.webclient.WebServiceClient |
|---|
doGetId, doPutRecord, doPutRecord, doPutRecord, doSearch, getBaseUrl, getRecord, getRequestUrl, getResponseDoc, getResponseDoc, getResponseError, getResponseError, getResponseStr, getTimedURL, getTimedXmlDocument, getTimeOutSecs, setDebug, setRequestUrl, setRequestUrl, setTimeOutSecs, stuffId, urlCheck |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NCSWebServiceClient()
public NCSWebServiceClient(String baseWebServiceUrl)
baseWebServiceUrl - NOT YET DOCUMENTED| Method Detail |
|---|
public NCSCollectReader getNCSRecord(URL resourceUrl)
Uses web service to find a metadata record for the resourceUrl and then creates a reader object from the response.
resourceUrl - Description of the Parameter
public NCSCollectReader getNCSRecord(String recId)
throws Exception
recId - Description of the Parameter
Exception - Description of the Exception
public NCSCollectReader getNCSRecordByTitle(String title)
throws Exception
title - NOT YET DOCUMENTED
Exception - NOT YET DOCUMENTEDpublic String getNCSCollectionID(String resourceUrl)
resourceUrl - Description of the Parameter
public List getNCSCollectionRecordIDs()
throws Exception
Exception - Description of the Exception
public List getRecordIDs(String collectionKey)
throws Exception
Exception - Description of the Exception
public List getNCSCollectionIDs()
throws Exception
Exception - NOT YET DOCUMENTEDpublic static void main(String[] args)
args - The command line arguments
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||