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)
  __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)
  items(self)
  keys(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __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
tuple __implements__ = (<class 'ldaptor.interfaces.ILDAPEntry'...
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

__implements__

Type:
tuple
Value:
(<class 'ldaptor.interfaces.ILDAPEntry'>,)                             

dn

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Tue Aug 17 17:08:22 2004 http://epydoc.sf.net