Package ZenModel :: Module RRDDataSource :: Class SimpleRRDDataSource
[hide private]
[frames] | no frames]

Class SimpleRRDDataSource

source code

                                                   object --+            
                                                            |            
                                    ZenModelBase.ZenModelBase --+        
                                                                |        
Products.ZenRelations.RelationshipManager.RelationshipManager --+        
                                                                |        
                                      ExtensionClass.Base --+   |        
                                                            |   |        
                                       OFS.History.Historical --+        
                                                                |        
                                                   object --+   |        
                                                            |   |        
                                          ZenPacker.ZenPacker --+        
                                                                |        
                                            ZenModelRM.ZenModelRM --+    
                                                                    |    
                                                       object --+   |    
                                                                |   |    
                                          ZenPackable.ZenPackable --+    
                                                                    |    
                                                        RRDDataSource --+
                                                                        |
                                                                       SimpleRRDDataSource

A SimpleRRDDataSource has a single datapoint that shares the name of the data source.

Instance Methods [hide private]
 
addDataPoints(self)
Make sure there is exactly one datapoint and that it has the same name as the datasource.
source code
 
zmanage_editProperties(self, REQUEST=None)
Overrides the method defined in RRDDataSource.
source code
 
soleDataPoint(self)
Return the datasource's only datapoint
source code
 
aliases(self)
Return the datapoint aliases that belong to the datasource's only datapoint
source code
 
manage_addDataPointsToGraphs(self, ids=(), graphIds=(), REQUEST=None)
Override method in super class.
source code
 
manage_addDataPointAlias(self, id, formula, REQUEST=None)
Add a datapoint alias to the datasource's only datapoint
source code
 
manage_removeDataPointAliases(self, ids=(), REQUEST=None)
Remove the passed aliases from the datasource's only datapoint
source code

Inherited from RRDDataSource: breadCrumbs, checkCommandPrefix, getCommand, getComponent, getDescription, getRRDDataPoints, getSeverityString, manage_addRRDDataPoint, manage_deleteRRDDataPoints, useZenCommand

Inherited from ZenModelRM.ZenModelRM: __init__, changePythonClass, creator, editableDeviceList, findChild, getCreatedTimeString, getDmdKey, getModificationTimeString, getSubObjects, getTreeItems, getZenRootNode, index_object, primarySortKey, reindex_all, rename, unindex_object, viewName, zmanage_addProperty, zmanage_delObjects, zmanage_delProperties, zmanage_exportObject, zmanage_importObject, zmanage_importObjects

Inherited from ZenModelBase.ZenModelBase: __call__, __hash__, all_meta_types, aqBaseHasAttr, callZenScreen, checkRemotePerm, checkValidId, createHierarchyObj, custPropertyIds, custPropertyMap, getBreadCrumbUrlPath, getDmd, getDmdObj, getDmdRoot, getHierarchyObj, getIconPath, getIdLink, getNowString, getObjByPath, getPrimaryDmdId, getUnusedId, getZ, getZopeObj, helpLink, isLocalName, manage_deleteObjects, prepId, saveCustProperties, todayDate, urlLink, view, visibleCustPropertyMap, yesterdayDate, zenScreenUrl, zenpathjoin, zenpathsplit, zentinelTabs

Inherited from OFS.History.Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCompare, manage_historyCopy

Inherited from ZenPacker.ZenPacker: addToZenPack, eligiblePacks, findObject

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  security = ClassSecurityInfo()

Inherited from RRDDataSource: commandTemplate, component, cycletime, enabled, eventClass, eventKey, factory_type_information, meta_type, paramtypes, severity, sourcetype, sourcetypes

Inherited from RRDDataSource (private): _properties, _relations

Inherited from ZenModelRM.ZenModelRM: default_catalog, isInTree

Inherited from ZenModelBase.ZenModelBase: index_html, sub_meta_types

Inherited from OFS.History.Historical: HistoricalRevisions, __ac_permissions__, manage_change_history_page, manage_options

Inherited from OFS.History.Historical (private): _manage_historyComparePage

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

zmanage_editProperties(self, REQUEST=None)

source code 
Overrides the method defined in RRDDataSource. Called when user clicks the Save button on the Data Source editor page.
Overrides: RRDDataSource.zmanage_editProperties

manage_addDataPointsToGraphs(self, ids=(), graphIds=(), REQUEST=None)

source code 
Override method in super class. ids will always be an empty tuple, so call the super class's method with the single datapoint as the ids.
Overrides: RRDDataSource.manage_addDataPointsToGraphs