Class: ViewQuery

baja. ViewQuery


new ViewQuery(body)

ViewQuery defines user agent information.

Parameters:
Name Type Description
body String | Object

the view query body or an object literal for
the view id and parameters.

Properties
Name Type Argument Description
id String <optional>

view id.

params Object <optional>

view parameters (key value pairs in an Object Literal).

Extends

  • OrdQuery

Methods


getParameters()

Return the view parameters as an object literal.

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

Returns:

the parameters.

Type
Object

getViewId()

Return the view id (this could be view type spec or the name of a Px view).

Returns:
Type
String