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

Class DeviceList

source code

         Acquisition.Explicit --+    
                                |    
Products.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='id', orderdir='asc')
Get devices under self according to criteria and return results as JSON.
source code

Inherited from Products.Five.browser.BrowserView: __init__

Class Variables [hide private]

Inherited from Products.Five.browser.BrowserView: security

Method Details [hide private]

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

source code 
Decorators:
  • @formreq

_getJSONDeviceInfo(self, offset=0, count=50, filter='', orderby='id', 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