Package ldaptor :: Module inmemory :: Class ReadOnlyInMemoryLDAPEntry
[hide private]
[frames] | no frames]

Class ReadOnlyInMemoryLDAPEntry

source code

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

Instance Methods [hide private]
 
__init__(self, *a, **kw)
Initialize the object.
source code
 
parent(self) source code
 
children(self, callback=None) source code
 
_lookup(self, dn) source code
 
lookup(self, dn) source code
 
fetch(self, *attributes) source code
 
addChild(self, rdn, attributes)
TODO ugly API.
source code
 
_delete(self) source code
 
delete(self) source code
 
_deleteChild(self, rdn) source code
 
deleteChild(self, rdn) source code
 
_move(self, newDN) source code
 
_move2(self, newParent, newDN) source code
 
move(self, newDN) source code
 
commit(self) source code

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

Inherited from entry.BaseLDAPEntry: __contains__, __eq__, __getitem__, __hash__, __len__, __ne__, __nonzero__, __providedBy__, __repr__, __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__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __implemented__ = <implementedBy ldaptor.inmemory.ReadOnlyInMe...
  __provides__ = <zope.interface.declarations.ClassProvides obje...

Inherited from entry.BaseLDAPEntry: dn

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *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)

addChild(self, rdn, attributes)

source code 

TODO ugly API. Returns the created entry.

delete(self)

source code 
Overrides: entry.EditableLDAPEntry.delete

move(self, newDN)

source code 
Overrides: entry.EditableLDAPEntry.move

commit(self)

source code 
Overrides: entry.EditableLDAPEntry.commit

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy ldaptor.inmemory.ReadOnlyInMemoryLDAPEntry>

__provides__

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