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 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

json

JsonResponse json

owner

MultiPartAjaxResponse owner

props

Object props

recordCount

int recordCount

request

AjaxRequest request

Constructor Detail

AjaxResponse

AjaxResponse(responseText)

Method Detail

fieldNames

String[] fieldNames()

getPagingInfo

PagingInfo getPagingInfo(dsname)

getResponseRecord

ResponseRecord getResponseRecord(recordIndex)

getResultField

Object getResultField(fieldName)

getText

String getText()

hasField

boolean hasField(fld)

hasMore

boolean hasMore()

isProcessResponse

boolean isProcessResponse()

next

ResponseRecord next()

top

void top()

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008