Trees | Indices | Help |
|
---|
|
object --+ | ZenModelBase.ZenModelBase --+ | ExtensionClass.Base --+ | | | OFS.CopySupport.CopyContainer --+ | | | ZenRelations.RelCopySupport.RelCopyContainer --+ | | | ExtensionClass.Base --+ | | | | | OFS.CopySupport.CopyContainer --+ | | | | | ExtensionClass.Base --+ | | | | | | | App.Management.Navigation --+ | | | | | ExtensionClass.Base --+ | | | | | | | App.Management.Tabs --+ | | | | | Acquisition.Implicit --+ | | | | | Persistence.Persistent --+ | | | | | ExtensionClass.Base --+ | | | | | | | webdav.EtagSupport.EtagSupport --+ | | | | | | | | | webdav.Lockable.LockableItem --+ | | | | | | | webdav.Resource.Resource --+ | | | | | | | webdav.Collection.Collection --+ | | | | | OFS.Traversable.Traversable --+ | | | | | OFS.ObjectManager.ObjectManager --+ | | | ExtensionClass.Base --+ | | | | | ExtensionClass.Base --+ | | | | | | | OFS.CopySupport.CopySource --+ | | | | | ExtensionClass.Base --+ | | | | | | | App.Management.Tabs --+ | | | | | OFS.Traversable.Traversable --+ | | | | | AccessControl.Owned.Owned --+ | | | | | ZenRelations.ZItem.ZItem --+ | | | | | Acquisition.Implicit --+ | | | | | AccessControl.Role.RoleManager --+ | | | | | ZenRelations.PrimaryPathObjectManager.PrimaryPathManager --+ | | | ExtensionClass.Base --+ | | | | | App.Undo.UndoSupport --+ | | | ZenRelations.PrimaryPathObjectManager.PrimaryPathObjectManager --+ | | | object --+ | | | | | ExtensionClass.Base --+ | | | | | | | OFS.ZDOM.Node --+ | | | | | | | | | OFS.ZDOM.Element --+ | | | | | | | | | OFS.ZDOM.ElementWithAttributes --+ | | | | | | | OFS.PropertyManager.PropertyManager --+ | | | | | ZenRelations.ZenPropertyManager.ZenPropertyManager --+ | | | ZenRelations.RelationshipManager.RelationshipManager --+ | ExtensionClass.Base --+ | | | OFS.History.Historical --+ | object --+ | | | ZenPacker.ZenPacker --+ | ZenModelRM.ZenModelRM --+ | object --+ | | | EventView.EventView --+ | Organizer
The base for all hierarchical organization classes. It allows Organizers to be addressed and created with file system like paths like /Devices/Servers. Organizers have a containment relation called children. Subclasses must define the attribute:
dmdRootName - root in the dmd database for this organizer
|
|||
Organizer |
|
||
string |
|
||
list |
|
||
Organizer
>>> dmd.Devices.getChildMoveTarget('Server') <DeviceClass at /zport/dmd/Devices/Server> |
|
||
list |
|
||
list
>>> 'Discovered' in dmd.Devices.childIds() True |
|
||
integer |
|
||
|
|||
|
|||
|
|||
list |
|
||
|
|||
Organizer |
|
||
Organizer
>>> dmd.Events.Status.getOrganizer('/Status/Snmp') <EventClass at /zport/dmd/Events/Status/Snmp> >>> dmd.Events.Status.getOrganizer('Status/Snmp') <EventClass at /zport/dmd/Events/Status/Snmp> >>> dmd.Events.Status.getOrganizer('/Events/Status/Snmp') <EventClass at /zport/dmd/Events/Status/Snmp> |
|
||
string |
|
||
string |
|
||
list |
|
||
ZCatalog |
|
||
list |
|
||
list |
|
||
list |
|
||
generator |
|
||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
_properties = {'id': 'description', 'type': 'string', 'mode':
|
|||
_relations = ZenModelRM._relations
|
|||
security = ClassSecurityInfo()
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|
Override urlLink to return a link with the full path of the organizer. >>> dmd.Devices.Server.urlLink() '<a href="/zport/dmd/Devices/Server">/Server</a>'
|
Returns a list of all organizer names under the same root excluding ourselves
To Do: We should be using either deviceMoveTargets or childMoveTargets >>> dmd.Events.getOrganizerName() in dmd.Events.childMoveTargets() False |
Returns an organizer under the same root.
|
Returns the immediate children of an organizer
Permission: ZEN_COMMON >>> dmd.Devices.Printer.children() [<DeviceClass at /zport/dmd/Devices/Printer/Laser>, <DeviceClass at /zport/dmd/Devices/Printer/InkJet>] |
Returns the ids of the immediate children of an organizer
|
Returns the number of all the children underneath an organizer
Permission: ZEN_COMMON |
Adds a new organizer under this organizer. if given a fully qualified path it will create an organizer at that path
Permission: ZEN_ADD >>> dmd.Devices.manage_addOrganizer('/Devices/DocTest') |
Deletes an organizer underneath this organizer
Permission: ZEN_DELETE >>> dmd.Devices.manage_deleteOrganizer('/Devices/Server/Linux') |
Delete a list of Organizers from the database using their ids.
Permission: ZEN_DELETE >>> dmd.Devices.manage_deleteOrganizers(['/Devices/Server/Linux', ... '/Devices/Server/Windows']) |
DEPRECATED - see childMoveTargets Return list of all organizers excluding our self.
To Do: We should be using either deviceMoveTargets or childMoveTargets |
Move organizers under this organizer to another organizer
|
Creates an organizer with a specified path. Use manage_addOrganizer instead
|
Get an organizer by path under the same root
|
Return the DMD path of an Organizer without its dmdSubRel names.
Permission: ZEN_COMMON >>> dmd.Events.Status.Snmp.getOrganizerName() '/Status/Snmp' |
Return the DMD path of an Organizer without its dmdSubRel names.
Permission: ZEN_COMMON >>> dmd.Events.Status.Snmp.getOrganizerName() '/Status/Snmp' |
Returns a list of all organizer names under this organizer
Permission: ZEN_COMMON >>> dmd.Events.Security.getOrganizerNames() ['/Security', '/Security/Auth', '/Security/Conn', '/Security/Conn/Close', '/Security/Conn/Open', '/Security/Login', '/Security/Login/BadPass', '/Security/Login/Fail', '/Security/Sudo', '/Security/Virus'] |
Returns a catalog instance for this organizer.
Note: Catalog is found using the attribute default_catalog. |
Returns all the organizers under this organizer
Permission: ZEN_COMMON >>> dmd.Events.Security.getSubOrganizers() [<EventClass at /zport/dmd/Events/Security/Login>, <EventClass at /zport/dmd/Events/Security/Sudo>, <EventClass at /zport/dmd/Events/Security/Conn>, <EventClass at /zport/dmd/Events/Security/Virus>, <EventClass at /zport/dmd/Events/Security/Auth>, <EventClass at /zport/dmd/Events/Security/Login/BadPass>, <EventClass at /zport/dmd/Events/Security/Login/Fail>, <EventClass at /zport/dmd/Events/Security/Conn/Open>, <EventClass at /zport/dmd/Events/Security/Conn/Close>] |
Returns the object ids of all the instances of a specific relation under this organizer
Permission: ZEN_COMMON >>> dmd.Events.Security.Login.getSubInstanceIds('instances') ['MSExchangeIS Mailbox Store_1009', 'MSExchangeIS Mailbox Store_1011', 'defaultmapping', 'dropbear', 'sshd', 'MSFTPSVC_100', 'W3SVC_100', 'dropbear', 'remote(pam_unix)'] |
Returns the object isntances of a specific relation under this organizer
Permission: ZEN_COMMON >>> dmd.Events.Security.Login.getSubInstances('instances') [<EventClassInst at /zport/dmd/Events/Security/Login/instances/MSExchangeIS Mailbox Store_1009>, <EventClassInst at /zport/dmd/Events/Security/Login/instances/MSExchangeIS Mailbox Store_1011>, <EventClassInst at /zport/dmd/Events/Security/Login/instances/defaultmapping>, <EventClassInst at /zport/dmd/Events/Security/Login/BadPass/instances/dropbear>, <EventClassInst at /zport/dmd/Events/Security/Login/BadPass/instances/sshd>, <EventClassInst at /zport/dmd/Events/Security/Login/Fail/instances/MSFTPSVC_100>, <EventClassInst at /zport/dmd/Events/Security/Login/Fail/instances/W3SVC_100>, <EventClassInst at /zport/dmd/Events/Security/Login/Fail/instances/dropbear>, <EventClassInst at /zport/dmd/Events/Security/Login/Fail/instances/remote(pam_unix)>] |
Returns the object isntances of a specific relation under this organizer
Permission: ZEN_COMMON |
Calls exportXml on the children of this organizer
|
|
_properties
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Tue Oct 11 12:51:27 2011 | http://epydoc.sourceforge.net |