java.lang.Object | |
↳ | com.microstrategy.webservices.MWSFindInfo |
This class is used to return incremental find request results/status to the incremental find code located in the web service front-end.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MWSFindInfo() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ArrayOfMWSObjectInfo |
getArrayObjectInfo()
Gets the array of found objects for this increment.
| ||||||||||
int |
getResultSize()
Returns the total number of found objects, of all increments,
to be returned from the search.
| ||||||||||
String |
getSearchID()
Returns the ID used by the IServer to identify an asynchronous
search.
| ||||||||||
boolean |
isCancelled()
Returns whether the current find (search) has been cancelled
or not.
| ||||||||||
boolean |
isFindDone()
Returns whether the find (search) has been completed.
| ||||||||||
boolean |
isIncrementsDone()
Returns whether the current returned find (search) results
increment is the last one or not.
| ||||||||||
void |
setArrayObjectInfo(ArrayOfMWSObjectInfo arrayObjectInfo)
Sets the arrayObjectInfo member.
| ||||||||||
void |
setCancelled(boolean cancelled)
Sets the cancelled member.
| ||||||||||
void |
setFindDone(boolean findDone)
Sets the findDone member.
| ||||||||||
void |
setIncrementsDone(boolean incrementsDone)
Sets the incrementsDone member.
| ||||||||||
void |
setResultSize(int searchResultSize)
Sets the resultSize member.
| ||||||||||
void |
setSearchID(String sSearchID)
Sets the searchID member.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets the array of found objects for this increment.
Returns the total number of found objects, of all increments, to be returned from the search.
Returns the ID used by the IServer to identify an asynchronous search. This is retrieved and passed back by the web service front-end when retrieving subsequent incremental find results.
Returns whether the current find (search) has been cancelled or not. The web service front-end uses this boolean to determine when to cancel find results processing and return a cancel status to the client.
Returns whether the find (search) has been completed. The web service front-end uses this boolean to determine when to stop polling for the find results.
Returns whether the current returned find (search) results increment is the last one or not. The web service front-end uses this boolean to determine when to stop retrieving results, and then returns results to the client.
Sets the arrayObjectInfo member. The Java web service incremental find code collects an increment of found objects and stores the array here.
arrayObjectInfo | Array of found objects. |
---|
Sets the cancelled member. The Java web service incremental find code sets this value to true when the WebAPIErrorCodes value of MSI_INBOX_MSG_NOT_FOUND returns from the WebSearch.
cancelled | True if find has been cancelled. |
---|
Sets the findDone member. The Java web service incremental find code sets this value to true when results are ready.
findDone | True if find results are ready. |
---|
Sets the incrementsDone member. The Java web service incremental find code sets this value to true when it determines that all found objects have been retrieved.
incrementsDone | True if this is the last increment. |
---|
Sets the resultSize member. The Java web service incremental find code sets this value for return to the web service front-end.
searchResultSize | The total number of found objects |
---|
Sets the searchID member. The Java web service incremental find code sets this value for return to the web service front-end.
sSearchID | Search identifier. |
---|