MoreMotion Face API

Class AjaxResponse

Object
   |
   +--AjaxResponse

class 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

json

JsonResponse json

owner

MultiPartAjaxResponse owner

props

Object props

recordCount

Number recordCount

request

AjaxRequest request

Constructor Detail

AjaxResponse

AjaxResponse(responseText)

Method Detail

fieldNames

String[] fieldNames()

getResponseRecord

ResponseRecord getResponseRecord(recordIndex)

getText

String getText()

hasField

Boolean hasField(fld)

hasMore

Boolean hasMore()

isProcessResponse

Boolean isProcessResponse()

next

ResponseRecord next()

top

void top()

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011