1
2
3
4
5
6
7
8
9
10
11
12
13
14 from Globals import InitializeClass
15 from AccessControl import ClassSecurityInfo
16 from AccessControl import Permissions
17
18 from Products.ZenRelations.RelSchema import *
19
20 from MibBase import MibBase
21
23
24 objects = []
25
26
27 _properties = MibBase._properties + (
28 {'id':'objects', 'type':'lines', 'mode':'w'},
29 )
30
31 _relations = MibBase._relations + (
32 ("module", ToOne(ToManyCont, "Products.ZenModel.MibModule", "notifications")),
33 )
34
35
36 factory_type_information = (
37 {
38 'immediate_view' : 'viewMibNotification',
39 'actions' :
40 (
41 { 'id' : 'overview'
42 , 'name' : 'Overview'
43 , 'action' : 'viewMibNotification'
44 , 'permissions' : ( Permissions.view, )
45 },
46 { 'id' : 'viewHistory'
47 , 'name' : 'Modifications'
48 , 'action' : 'viewHistory'
49 , 'permissions' : ( Permissions.view, )
50 },
51 )
52 },
53 )
54