Package ldaptor :: Module ldiftree :: Class LDIFTreeEntry
[hide private]
[frames] | no frames]

Class LDIFTreeEntry

source code

                       object --+        
                                |        
              entry.BaseLDAPEntry --+    
                                    |    
              entry.EditableLDAPEntry --+
                                        |
                           object --+   |
                                    |   |
           entryhelpers.DiffTreeMixin --+
                                        |
                           object --+   |
                                    |   |
entryhelpers.SubtreeFromChildrenMixin --+
                                        |
                           object --+   |
                                    |   |
              entryhelpers.MatchMixin --+
                                        |
                           object --+   |
                                    |   |
entryhelpers.SearchByTreeWalkingMixin --+
                                        |
                                       LDIFTreeEntry

Instance Methods [hide private]
 
__init__(self, path, dn=None, *a, **kw)
Initialize the object.
source code
 
_load(self) source code
 
parent(self) source code
 
_sync_children(self) source code
 
_children(self, callback=None) source code
 
children(self, callback=None) source code
 
lookup(self, dn) source code
 
_addChild(self, rdn, attributes) source code
 
addChild(self, rdn, attributes) source code
 
_delete(self) source code
 
delete(self) source code
 
_deleteChild(self, rdn) source code
 
deleteChild(self, rdn) source code
 
__repr__(self)
repr(x)
source code
 
__cmp__(self, other) source code
 
commit(self) source code
 
move(self, newDN) source code
 
_move(self, newDN) source code
 
_move2(self, newParent, newDN) source code

Inherited from entry.EditableLDAPEntry: __delitem__, __setitem__, setPassword, undo

Inherited from entry.BaseLDAPEntry: __contains__, __eq__, __getitem__, __hash__, __len__, __ne__, __nonzero__, __providedBy__, __str__, bind, buildAttributeSet, diff, get, hasMember, has_key, items, keys

Inherited from entry.BaseLDAPEntry (private): _bind

Inherited from entryhelpers.DiffTreeMixin: diffTree

Inherited from entryhelpers.SubtreeFromChildrenMixin: subtree

Inherited from entryhelpers.MatchMixin: match

Inherited from entryhelpers.SearchByTreeWalkingMixin: search

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

Class Variables [hide private]
  __implemented__ = <implementedBy ldaptor.ldiftree.LDIFTreeEntry>
  __provides__ = <zope.interface.declarations.ClassProvides obje...

Inherited from entry.BaseLDAPEntry: dn

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path, dn=None, *a, **kw)
(Constructor)

source code 

Initialize the object.

Parameters:
  • dn - Distinguished Name of the object, as a string.
  • attributes - Attributes of the object. A dictionary of attribute types to list of attribute values.
Overrides: object.__init__
(inherited documentation)

delete(self)

source code 
Overrides: entry.EditableLDAPEntry.delete

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

commit(self)

source code 
Overrides: entry.EditableLDAPEntry.commit

move(self, newDN)

source code 
Overrides: entry.EditableLDAPEntry.move

Class Variable Details [hide private]

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x562cee8c>