Class Index | File Index

Classes


Class baja.ViewQuery


Extends OrdQuery.
ViewQuery

ViewQuery defines user agent information.
Defined in: ord.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Return the view parameters as an Object Literal.
 
Return the view id (this could be view type spec or the name of a Px view).
<private>  
normalize(list, index)
Normalize the query and return true if modified.
Methods borrowed from class OrdQuery:
getBody, getScheme, getSchemeName, isHost, isSession, toString
Class Detail
baja.ViewQuery(body)
Parameters:
{String|Object} body
the view query body or an Object Literal for the view id and parameters.
{String} body.id Optional
view id.
{Object} body.params Optional
view parameters (key value pairs in an Object Literal).
Method Detail
{Object} getParameters()
Return the view parameters as an Object Literal.

Please note, this returns a defensive copy of the parameters.

Returns:
{Object} the parameters.

{String} getViewId()
Return the view id (this could be view type spec or the name of a Px view).
Returns:
{String}

<private> {Boolean} normalize(list, index)
Normalize the query and return true if modified.
Parameters:
{OrdQueryList} list
{Number} index
Returns:
{Boolean}

Documentation generated by JsDoc Toolkit 2.3.2