|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.DocumentIdQuery
public class DocumentIdQuery
Generate a pathquery document representing a metacat query for a list of document IDs.
| Constructor Summary | |
|---|---|
DocumentIdQuery()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
createDocidQuery(java.lang.String[] docidList)
Create an squery using some preset values for the query parameters, only passing in the document ids to be searched. |
static java.util.Hashtable |
createDocidQueryParams(java.lang.String[] docidList,
java.util.Hashtable params)
Create an squery parameters table using an already-initialized hashtable |
static java.util.Hashtable |
getDefaultQueryParams()
Create a paramter list containing default parameters for a query |
static void |
main(java.lang.String[] args)
Main method used for testing the class output |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentIdQuery()
| Method Detail |
|---|
public static java.util.Hashtable createDocidQueryParams(java.lang.String[] docidList,
java.util.Hashtable params)
docidList - an array of document identifiers to search forparams - the hashtable to add the query parameters to.
public static java.lang.String createDocidQuery(java.lang.String[] docidList)
throws edu.ucsb.nceas.utilities.PropertyNotFoundException
docidList - an array of document identifiers to search for
edu.ucsb.nceas.utilities.PropertyNotFoundExceptionpublic static java.util.Hashtable getDefaultQueryParams()
public static void main(java.lang.String[] args)
args - no arguments used in this main method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||