Package Products :: Package ZenModel :: Package browser :: Module DeviceList :: Class DeviceList
[hide private]
[frames] | no frames]

Class DeviceList

source code

Five.browser.BrowserView --+
                           |
                          DeviceList

Populates the device list.

Instance Methods [hide private]
 
__call__(self, *args, **kwargs) source code
"([[a, b, c], [a, b, c]], 17)"
_getJSONDeviceInfo(self, offset=0, count=50, filter='', orderby='titleOrId', orderdir='asc')
Get devices under self according to criteria and return results as JSON.
source code
Method Details [hide private]

__call__(self, *args, **kwargs)
(Call operator)

source code 
Decorators:
  • @formreq

_getJSONDeviceInfo(self, offset=0, count=50, filter='', orderby='titleOrId', orderdir='asc')

source code 

Get devices under self according to criteria and return results as JSON.

Returns: "([[a, b, c], [a, b, c]], 17)"
A JSON representation of a tuple containing a list of lists of device info, and the total number of matching devices
Decorators:
  • @json