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

Class GraphIds

source code

         Acquisition.Explicit --+    
                                |    
Products.Five.browser.BrowserView --+
                                    |
                                   GraphIds

Get a list of the graph defs available for the given device and component.

Adapts DeviceClasses.

Instance Methods [hide private]
"['id1', 'id2', 'id3']"
__call__(self, deviceIds=(), componentPaths=())
Returns: A JSON representation of a list of ids
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, deviceIds=(), componentPaths=())
(Call operator)

source code 
Parameters:
  • deviceIds (str, list) - One ore more device ids under which graphs should be sought
  • componentPaths (str, list) - Path(s) to components under which graphs should be sought
Returns: "['id1', 'id2', 'id3']"
A JSON representation of a list of ids
Decorators:
  • @json
  • @formreq