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

Class MibModule

source code

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

Instance Methods [hide private]
 
getModuleName(self) source code
 
nodeCount(self) source code
 
notificationCount(self) source code
 
deleteMibNodes(self, ids=[], REQUEST=None)
Delete MibNodes
source code
 
addMibNode(self, id, oid, nodetype, REQUEST=None)
Add a MibNode
source code
 
createMibNode(self, id, **kwargs)
Create a MibNotification
source code
 
deleteMibNotifications(self, ids=[], REQUEST=None)
Delete MibNotifications
source code
 
addMibNotification(self, id, oid, nodetype, REQUEST=None)
Add a MibNotification
source code
 
createMibNotification(self, id, **kwargs)
Create a MibNotification
source code
 
manage_afterAdd(self, item, container)
Device only propagates afterAdd if it is the added object.
source code
 
manage_afterClone(self, item)
Not really sure when this is called.
source code
 
manage_beforeDelete(self, item, container)
Device only propagates beforeDelete if we are being deleted or copied.
source code

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_editProperties, zmanage_exportObject, zmanage_importObject, zmanage_importObjects

Inherited from ZenModelBase.ZenModelBase: __call__, __hash__, all_meta_types, aqBaseHasAttr, breadCrumbs, 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]
  types = 'COUNTER', 'GAUGE', 'DERIVE', 'ABSOLUTE'
  language = ""
  contact = ""
  description = ""
  _properties = {'id': 'language', 'type': 'string', 'mode': 'w'...
  _relations = ZenPackable._relations+(("miborganizer", ToOne(To...
  factory_type_information = {'immediate_view': 'viewMibModule',...
  security = ClassSecurityInfo()

Inherited from ZenModelRM.ZenModelRM: default_catalog, isInTree, meta_type

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]

manage_beforeDelete(self, item, container)

source code 
Device only propagates beforeDelete if we are being deleted or copied. Moving and renaming don't propagate.

Class Variable Details [hide private]

_properties

Value:
{'id': 'language', 'type': 'string', 'mode': 'w'}, {'id': 'contact', '\
type': 'string', 'mode': 'w'}, {'id': 'description', 'type': 'string',\
 'mode': 'w'},

_relations

Value:
ZenPackable._relations+(("miborganizer", ToOne(ToManyCont, "Products.Z\
enModel.MibOrganizer", "mibs")), ("nodes", ToManyCont(ToOne, "Products\
.ZenModel.MibNode", "module")), ("notifications", ToManyCont(ToOne, "P\
roducts.ZenModel.MibNotification", "module")),)

factory_type_information

Value:
{'immediate_view': 'viewMibModule', 'actions':({'id': 'overview', 'nam\
e': 'Overview', 'action': 'viewMibModule', 'permissions':(Permissions.\
view,)}, {'id': 'edit', 'name': 'Edit', 'action': 'editMibModule', 'pe\
rmissions':(Permissions.view,)}, {'id': 'viewHistory', 'name': 'Modifi\
cations', 'action': 'viewHistory', 'permissions':(ZEN_VIEW_MODIFICATIO\
NS,)},)},