Package Products :: Package ZenWidgets :: Package browser :: Module Portlets :: Class DeviceIssuesPortletView
[hide private]
[frames] | no frames]

Class DeviceIssuesPortletView

source code

Five.browser.BrowserView --+
                           |
                          DeviceIssuesPortletView

A list of devices with issues.

Instance Methods [hide private]
 
__call__(self) source code
 
getDeviceIssuesJSON(self)
Get devices with issues in a form suitable for a portlet on the dashboard.
source code
 
getDeviceDashboard(self)
return device info for bad device to dashboard
source code
Method Details [hide private]

__call__(self)
(Call operator)

source code 
Decorators:
  • @nocache

getDeviceIssuesJSON(self)

source code 

Get devices with issues in a form suitable for a portlet on the
dashboard.

@return: A JSON representation of a dictionary describing devices
@rtype: "{
    'columns':['Device', "Events'],
    'data':[
        {'Device':'<a href=/>', 'Events':'<div/>'},
        {'Device':'<a href=/>', 'Events':'<div/>'},
    ]}"

Decorators:
  • @json

getDeviceDashboard(self)

source code 

return device info for bad device to dashboard

Decorators:
  • @zepConnectionError([])