|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of OAIException in org.gcube.common |
|---|
| Methods in org.gcube.common that throw OAIException | |
|---|---|
protected String |
OAIRepository.frndMyEncode(InputStream s)
Turn a string into something that can be legally stuffed into an XML CDATA section |
protected void |
OAIRecordList.frndSetOAIResumptionStream(OAIResumptionStream rs)
Purpose: set the resumption stream associated with the list |
protected HttpURLConnection |
OAIRepository.frndTrySend(HttpURLConnection h)
Purpose: Attempt to send the request to the repository, honoring 503 Retry statuses Inputs: h the HTTP object to use for the sending NOTE: Not sure if the http object does redirects (302) or not; may have to do these manually also |
Node |
OAIRecord.getAbout()
Returns the first about section of the record as an XML node. |
Node |
OAIRecord.getAbout(int i)
Returns the about section of the record as an XML node. |
int |
OAIRecord.getAboutCount()
Return the number of about elements associated with the record |
String |
OAIRecord.getAboutNamespaceURI()
Returns the namespace URI of the first about section of the record. |
String |
OAIRecord.getAboutNamespaceURI(int i)
Returns the namespace URI of the about section of the record. |
String |
OAIRepository.getAdminEmail()
Returns the email address of the repository administrator. |
String |
OAIRepository.getAdminEmail(int i)
Returns the email address of the repository administrator. |
int |
OAIRepository.getAdminEmailCount()
Returns how many admin emails there are for the repository |
String |
OAIResumptionStream.getBaseURL()
Returns the BASE-URL of the query. |
String |
OAIRepository.getBaseURL()
Returns the BASE-URL of the repository. |
int |
OAIResumptionStream.getCompleteSize()
Return the complete size of a returned list (if possible). |
int |
OAISetList.getCompleteSize()
Return the number of items in the list (-1 if unknown) |
int |
OAIMetadataFormatList.getCompleteSize()
Return the number of items in the list (-1 if unknown) |
int |
OAIRecordList.getCompleteSize()
Return the number of records in the complete set (-1 if this number is unknown) |
String |
OAIRepository.getCompression()
Returns the compression supported by the repository. |
String |
OAIRepository.getCompression(int i)
Returns the compression supported by the repository. |
int |
OAIRepository.getCompressionCount()
Returns how many compressions are supported by the repository |
int |
OAISetList.getCurrentIndex()
Return the index of the current item (0 to CompleteListSize-1) |
int |
OAIMetadataFormatList.getCurrentIndex()
Return the index of the current item (0 to CompleteListSize-1) |
int |
OAIRecordList.getCurrentIndex()
Return the index of the current item in the list (0 to CompleteListSize-1) |
OAISet |
OAISetList.getCurrentItem()
Returns an OAISet object for the current record in the list. |
OAIMetadataFormat |
OAIMetadataFormatList.getCurrentItem()
Returns an OAIMetadataFormat object for the current record in the list. |
String |
OAIRecord.getDatestamp()
Returns the datestamp of this record as a string. |
String |
OAIRepository.getDeletedRecord()
Returns the type of deleted items supported by the repository |
Node |
OAIRepository.getDescription()
Returns the first repository description returned by the Identify request as an XML node; if there is no descriptin an empty string is returned. |
Node |
OAIRepository.getDescription(int i)
Returns one of the repository descriptions returned by the Identify request as an XML node; the index parameter indicates which description to return: 0 to DescriptionCount-1; if there is no descriptin an empty string is returned. |
String |
OAIRepository.getEarliestDatestamp()
Returns how many compressions are supported by the repository |
Node |
OAIRepository.getEPrintsDescription()
If one of the descriptions returned by the Identify request is an eprints, this method will return the eprints description as an XML node. |
String |
OAIRepository.getGranularity()
Returns the datestamp granularity supported by the repository |
int |
OAIResumptionStream.getIndex()
Return the index of the current record: 0 to CompleteListSize-1 |
Node |
OAIResumptionStream.getItem()
Returns an XML node for the current object in the list. |
OAIError |
OAIRepository.getLastOAIError()
Returns one of the errors returned by the repository |
OAIError |
OAIRepository.getLastOAIError(int i)
|
Node |
OAIRecord.getMetadata()
Returns the metadata section of the record as an XML node. |
String |
OAIRecord.getMetadataNamespaceURI()
Returns the namespace URI of the metadata section of the record. |
String |
OAIRecord.getMetadataPrefix()
Returns the metadata prefix of the record. |
Node |
OAIRepository.getOAIIdentifierDescription()
If one of the descriptions returned by the Identify request is an oai-identifier, this method will return the oai-identifier description as an XML node. |
String |
OAIResumptionStream.getParams()
Returns the query string parameters used for the request (minus the verb parameter). |
int |
OAIRepository.getProtocolMajorVersion()
Returns the major version number of the protocol spec supported by the repository currently either 1 or 2. |
String |
OAIRepository.getProtocolVersion()
Returns the version of the protocol spec supported by the repository. |
Node |
OAIRecord.getRecord()
Returns the complete record as an XML node; includes everything starting at the |
OAIRecord |
OAIRepository.getRecord(String identifier)
Returns an OAIRecord object for the given OAI Identifier with default metadataPrefix as oai_dc. |
OAIRecord |
OAIRepository.getRecord(String identifier,
String metadataPrefix)
Returns an OAIRecord object for the given OAI Identifier and the metadataPrefix. |
String |
OAIRepository.getRepositoryIdentifier()
If one of the descriptions returned by the Identify request is an oai-identifier, this parameter will contain the registered identifier of the repository. |
String |
OAIRepository.getRepositoryName()
Returns the name of the repository |
String |
OAIResumptionStream.getRequestURL()
Return the requestURL returned by the most recent response |
String |
OAIResumptionStream.getResponseDate()
Return the responseDate returned by the most recent response |
int |
OAIResumptionStream.getResponseSize()
Return the number of items contained in the most recent response |
int |
OAIResumptionStream.getResumptionCursor()
Return the index which starts the most recent response. |
String |
OAIResumptionStream.getResumptionExpirationDate()
Return the expiration date of the current resumptionToken or an empty string if there is none |
String |
OAIRepository.getSampleIdentifier()
If one of the descriptions returned by the Identify request is an oai-identifier, this parameter will contain the sample OAI identifier contained therein. |
Node |
OAISet.getSetDescription()
Return the first description of this repository |
Node |
OAISet.getSetDescription(int i)
Return one of the descriptions of this repository |
String |
OAIRecord.getSetSpec()
Get the first setSpec strings associated with the record. |
String |
OAIRecord.getSetSpec(int i)
Get one of the setSpec strings associated with the record. |
int |
OAIRecord.getSetSpecCount()
Return the number of setSpec strings for the record. |
List<String> |
OAIRecord.getSetSpeList()
Get the list of sets associated with the record. |
String |
OAIResumptionStream.getVerb()
The verb parameter used for this request. |
String |
OAIRepository.identify()
Sends an Identify request to a repository with the baseURL previously set; if the Identify request is successful, the RepositoryName will be returned. |
OAIRecordList |
OAIRepository.listIdentifiers()
Returns an OAIRecordList object containing the records returned by the repository. |
OAIRecordList |
OAIRepository.listIdentifiers(String untild)
Returns an OAIRecordList object containing the records returned by the repository for the given untild. |
OAIRecordList |
OAIRepository.listIdentifiers(String untild,
String fromd)
Returns an OAIRecordList object containing the records returned by the repository for the given untild and fromd. |
OAIRecordList |
OAIRepository.listIdentifiers(String untild,
String fromd,
String setSpec)
Returns an OAIRecordList object containing the records returned by the repository for the given untild, fromd, and SetSpec. |
OAIRecordList |
OAIRepository.listIdentifiers(String untild,
String fromd,
String setSpec,
String metadataPrefix)
Returns an OAIRecordList object containing the records returned by the repository for the given untild, fromd, and SetSpec. |
OAIMetadataFormatList |
OAIRepository.listMetadataFormats()
Returns an OAIMetadataFormatList object containing the metadata formats supported by the repository.. |
OAIMetadataFormatList |
OAIRepository.listMetadataFormats(String identifier)
Returns an OAIMetadataFormatList object containing the metadata formats supported by a specific record. |
OAIRecordList |
OAIRepository.listRecords()
Returns an OAIRecordList object containing the records returned by the repository. |
OAIRecordList |
OAIRepository.listRecords(String metadataPrefix)
Returns an OAIRecordList object containing the records returned by the repository for the given metadataPrefix. |
OAIRecordList |
OAIRepository.listRecords(String metadataPrefix,
String untild)
Returns an OAIRecordList object containing the records returned by the repository for the given metadataPrefix and untild. |
OAIRecordList |
OAIRepository.listRecords(String metadataPrefix,
String untild,
String fromd)
Returns an OAIRecordList object containing the records returned by the repository for the given metadataPrefix, untild, and fromd. |
OAIRecordList |
OAIRepository.listRecords(String metadataPrefix,
String untild,
String fromd,
String setSpec)
Returns an OAIRecordList object containing the records returned by the repository for the given metadataPrefix, untild, fromd, and SetSpec. |
OAISetList |
OAIRepository.listSets()
Returns an OAISetList object containing the sets returned by the repository. |
boolean |
OAIResumptionStream.more()
Returns true if there are more objects which can be returned; else false. |
boolean |
OAISetList.moreItems()
Returns true if there are more records in the record list; else false. |
boolean |
OAIMetadataFormatList.moreItems()
Returns true if there are more records in the record list; else false. |
boolean |
OAIRecordList.moreItems()
Returns true if there are more records in the record list; else false. |
void |
OAIResumptionStream.moveNext()
Moves the cursor location to the next object in the list. |
void |
OAISetList.moveNext()
Moves the cursor location to the next record in the list. |
void |
OAIMetadataFormatList.moveNext()
Moves the cursor location to the next record in the list. |
void |
OAIRecordList.moveNext()
Moves the cursor location to the next record in the list. |
void |
OAIRecord.refreshRecord()
This will re-retrieve the record from the repository; this can be used to turn a identifier-only record into a complete record; the current metadataPrefix is used. |
void |
OAIRecord.refreshRecord(String meta)
This will re-retrieve the record from the repository; this can be used to turn a identifier-only record into a complete record or to change the record to a different metadataPrefix. |
void |
OAIResumptionStream.requery()
This will reset the entire list to the beginning, redoing the query from scratch. |
void |
OAISetList.requery()
This will reset the entire list to the beginning, redoing the query from scratch. |
void |
OAIMetadataFormatList.requery()
This will reset the entire list to the beginning, redoing the query from scratch. |
void |
OAIRecordList.requery()
This will reset the entire list to the beginning, redoing the query from scratch. |
void |
OAIRepository.setBaseURL(String url)
Sets the BASE-URL of the repository; must be set before most other properties or methods can be used. |
boolean |
OAIRepository.usesEPrints()
Returns true if the repository uses EPrints descriptions in its Identify request; else false. |
boolean |
OAIRepository.usesOAIIdentifier()
Returns true if the repository uses OAIIdentifier descriptions in its Identify request; else false. |
| Constructors in org.gcube.common that throw OAIException | |
|---|---|
OAIResumptionStream(OAIRepository repo,
String u,
String v)
Constructs an OAIResumptionStream object with the given OAIRepository, baseURL, and verb. |
|
OAIResumptionStream(OAIRepository repo,
String u,
String v,
String params)
Constructs an OAIResumptionStream object with the given OAIRepository, baseURL, verb, and query parameters. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||