|
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 actions is 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 |
int |
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 |
PagingInfo
|
getPagingInfo(dsname)
Returns the PagingInfo object associated with the given data soure name |
ResponseRecord
|
getResponseRecord(recordIndex)
Returns the ResponseRecord object referenced with the index number. |
Object
|
getResultField(fieldName)
Returns the value of the specified Result Field. |
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 to the top. |
Field Detail |
JsonResponse json
MultiPartAjaxResponse owner
Object props
int recordCount
AjaxRequest request
Constructor Detail |
AjaxResponse(responseText)
Method Detail |
String[] fieldNames()
PagingInfo getPagingInfo(dsname)
dsname
- The name of the data source
ResponseRecord getResponseRecord(recordIndex)
recordIndex
- The index number of the ResponseRecord
Object getResultField(fieldName)
fieldName
- The name of the result field
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 |