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

# Class GraphIds

source code

                  Acquisition.Explicit --+
                                         |
            zope.location.Location --+   |
                                     |   |
    zope.publisher.browser.BrowserView --+
                                         |
                  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 `zope.publisher.browser.BrowserView`: `__init__`

Class Variables | [hide private]
Inherited from `zope.publisher.browser.BrowserView`: `__parent__`

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`