|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--AjaxResponse
Represents an Ajax Response. Object of this class is created by the MultiPartAjaxResponse object.
An object of this class contains information only for one type of refresh action.
If more than one refresh action are requested in one go then multiple objects of this
class will be created and contained in MultiPartAjaxResponse object.
Defined in Ajax.js
| Field Summary | |
JsonResponse |
json
The response data received from the Ajax Service in Json structure |
MultiPartAjaxResponse |
owner
The owner MultiPartAjaxResponse object |
Object |
props
Response properties set by the process classes executed on the server |
Number |
recordCount
The number of the ResponseRecord objects contained in this Response |
AjaxRequest |
request
The AjaxRequest object that originates this response |
| Constructor Summary | |
AjaxResponse(responseText)
|
|
| Method Summary | |
String[]
|
fieldNames()
Returns the names of the fields that exist in this Response |
ResponseRecord
|
getResponseRecord(recordIndex)
Returns the ResponseRecord object referenced with the index number. |
String
|
getText()
Returns the plain text part of the response. |
Boolean
|
hasField(fld)
Returns true if specified field exists in this Response false otherwise
|
Boolean
|
hasMore()
Returns true when there are more ResponseRecord objects to retrieve with
next() method.
|
Boolean
|
isProcessResponse()
Returns true if this response is created by a process
|
ResponseRecord
|
next()
Returns the next ResponseRecord object in this response |
void
|
top()
Wraps the current record index pointer back to the top. |
| Field Detail |
JsonResponse json
MultiPartAjaxResponse owner
Object props
Number recordCount
AjaxRequest request
| Constructor Detail |
AjaxResponse(responseText)
| Method Detail |
String[] fieldNames()
ResponseRecord getResponseRecord(recordIndex)
recordIndex - The index number of the ResponseRecord
String getText()
Boolean hasField(fld)
true if specified field exists in this Response false otherwiseBoolean hasMore()
true when there are more ResponseRecord objects to retrieve with
next() method.Boolean isProcessResponse()
true if this response is created by a processResponseRecord next()
void top()
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||