Lotus Notes Adapter 6.0 | webMethods Lotus Notes Adapter Documentation | webMethods Lotus Notes Adapter Installation and User’s Documentation | Built-In Services Reference | Built-In Services Reference | wm.ln.view:getAllDocumentsByKey
 
wm.ln.view:getAllDocumentsByKey
This Java service finds documents based on their column values within a view. You create an array of keys, where each key corresponds to a value in a sorted column in the view. The method returns all documents whose column values match the keys.
Input Parameters
view
View The View object to get documents from.
key
Object[ ] Each key may be a String, Number, DateTime, or DateRange objects that are compared to sorted columns in the view. The first element in the vector is compared to the first sorted column in the view; the second element is compared to the second sorted column; and so on. Or it may be A single String, Number, DateTime, or DateRange object that is compared to the first sorted column in the view.
Exact
String Specify "true" if you want to find an exact match. If you specify "false" or omit this parameter, a partial match succeeds.
Output Parameters
documentCollection
DocumentCollection All documents in the view whose column values match each of the keys. If no documents match, the collection is empty and the count is zero.