|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulates search results from a remote resource. Should be implemented by service provider to iterate over the results returned when reconciling a remote resource. Optionally, may be used to facilitate lazy loading from the remote resource to adapt commonly used API's for directories and relational databases. If close() method is called on the search results, the connection with the remote resource should be dropped. This may be called when the user wishes to abort a search before completing it. Each entry in the search results consists of a SearchResult.
SearchResult
Method Summary | |
---|---|
void |
close()
Closes the connection with the remote resource. |
RequestStatus |
getRequestStatus()
Gets the status of the search request. |
boolean |
hasNext()
True if there is another element to be iterated over |
SearchResult |
next()
The next value in the sequence |
Method Detail |
public RequestStatus getRequestStatus()
public boolean hasNext() throws RemoteServicesException
RemoteServicesException
- if there was a problem while attempting to determine if there is a next elementpublic SearchResult next() throws RemoteServicesException
RemoteServicesException
- if there was a problem obtaining the next elementpublic void close() throws RemoteServicesException
RemoteServicesException
- if the search results were not able to be closed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |