Package ldaptor :: Module entry :: Class BaseLDAPEntry
[show private | hide private]
[frames | no frames]

Type BaseLDAPEntry

object --+
         |
        BaseLDAPEntry

Known Subclasses:
EditableLDAPEntry

Method Summary
  __init__(self, dn, attributes)
Initialize the object.
  __contains__(self, key)
  __eq__(self, other)
  __getitem__(self, key)
  __hash__(self)
  __len__(self)
  __ne__(self, other)
  __nonzero__(self)
  __repr__(self)
  __str__(self)
  bind(self, password)
  buildAttributeSet(self, key, values)
  diff(self, other)
Compute differences between this and another LDAP entry.
  get(self, key, default)
  has_key(self, key)
  hasMember(self, dn)
  items(self)
  keys(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
Implements __implemented__ = <implementedBy ldaptor.entry.BaseLDAPE...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType dn = None                                                                  

Method Details

__init__(self, dn, attributes={})
(Constructor)

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:
__builtin__.object.__init__

diff(self, other)

Compute differences between this and another LDAP entry.
Parameters:
other - An LDAPEntry to compare to.
Returns:
None if equal, otherwise a ModifyOp that would make this entry look like other.

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy ldaptor.entry.BaseLDAPEntry>                            

__providedBy__

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

__provides__

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

dn

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sun Oct 1 10:49:46 2006 http://epydoc.sf.net