|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchPublicInterface
An interface defining the public functions of a Search, only functions defined in this interface are accessible to the outside world via SOAP.
| Method Summary | |
|---|---|
void |
close()
This function is used by nice clients to indicate to the iSphere that they have finished with the search and that it can be removed from the system. |
int |
getNumResults()
This function returns the total number of results matching the initial search query that has been found to date. |
int |
getOffset()
Search results are broken into pages, and as the user thumbs through these pages the offSet within the searchResult listing changes (the offSet indicates where in the search result listing the user is). |
MetadataObject[] |
getResults(int offSet,
boolean universal)
This function returns a page of results (an array of MetadataObjects). |
boolean |
hasTalliedAll()
|
boolean |
isBufferFull()
|
boolean |
isNextFull()
|
boolean |
isPrevFull()
|
MetadataObject[] |
next(boolean universal)
This function returns an array of metadata objects which are in the next page of results. |
MetadataObject[] |
prev(boolean universal)
This function returns an array of MetadataObjects which are in the previous page of results. |
| Method Detail |
|---|
void close()
throws ISphereException
ISphereException - When unable to get close the search on the
parent ISphere.
int getNumResults()
throws ISphereException
ISphereException - when unable to get the total number of results
found by the search.
int getOffset()
throws ISphereException
ISphereException - when unable to fetch the current offSet within
all the search results.
MetadataObject[] getResults(int offSet,
boolean universal)
throws ISphereException
offSet - The offset to use as the starting point of the results
page.universal - Return the results in either the local or universal
schema. When true, return them in the universal schema, otherwise return
in the local schema.
ISphereException - thrown when unable to jump to a specific page of
results.
boolean hasTalliedAll()
throws ISphereException
ISphereException - thrown when unable to determine if all the
matching results have been tallied.
boolean isBufferFull()
throws ISphereException
ISphereException - thrown when unable to dettermine if the search
buffer is full or not.
boolean isNextFull()
throws ISphereException
ISphereException - thrown when unable to determine if the search
buffer has enough entries to call next or not.
boolean isPrevFull()
throws ISphereException
ISphereException - thrown when unable to determine if the search
buffer has enough entries to call prev or not.
MetadataObject[] next(boolean universal)
throws ISphereException
universal - Return the results in either the local or universal
schema. When true, return them in the universal schema, otherwise return
in the local schema.
ISphereException - thrown when unable to fetch the next page of
results
MetadataObject[] prev(boolean universal)
throws ISphereException
universal - Return the results in either the local or universal
schema. When true, return them in the universal schema, otherwise return
in the local schema.
ISphereException - thrown when unable to fetch the previous page of
results.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||