Package easyLDAP :: Module easyLDAP_class_cache :: Class easyLDAP_cacheobject
[frames] | no frames]

Class easyLDAP_cacheobject

source code

easyLDAP_cache_history --+
                         |
                        easyLDAP_cacheobject

An easyLDAP_cacheobject stores and accesses the python-ldap like LDAP object dictionary.

Instance Methods
 
__init__(self, ldap_cacheobject, use_cache_history=True, config_defaults={'AdminRDN': 'cn=admin', 'AutomountRDN': 'ou=automount', 'Base...) source code
 
__deepcopy__(self, memo)
Creates a deepcopy of the easyLDAP cache class, especially of the undo/redo stack.
source code
 
__len__(self) source code
 
__call__(self) source code
 
get_cacheobject(self) source code
 
get_cacheobject_dn(self) source code
 
clear_cacheobject(self) source code
 
set_cacheobject(self, ldap_cacheobject) source code
 
set_cacheobject_dn(self, dn) source code
 
get_cacheobject_attrdesc(self, attrdesc, ignore_case=False) source code
 
has_cacheobject_attrdesc_set(self, attrdesc, ignore_case=False) source code
 
set_cacheobject_attrdesc(self, attrdesc, values) source code
 
del_cacheobject_attrdesc(self, attrdesc) source code
 
get_cacheobject_attrtype(self, attrtype) source code
 
has_cacheobject_attrtype_set(self, attrtype) source code
 
del_cacheobject_attrtype(self, attrtype) source code
 
has_cacheobject_attrdesc_value_set_in_values(self, attrdesc, value) source code
 
has_cacheobject_attrdesc_values_set(self, attrdesc, values) source code
 
add_cacheobject_attrdesc_values(self, attrdesc, values) source code
 
del_cacheobject_attrdesc_values(self, attrdesc, values, ignore_case=False) source code

Inherited from easyLDAP_cache_history: clear_cache_history, disable_cache_history, enable_cache_history, redo, resize_cache_history, undo

Class Variables
  ldap_cacheobject = [['', {}]]
  ldap_cacheobject_dn = ''

Inherited from easyLDAP_cache_history: ldap_cache_history_size, ldap_cache_redo_history, ldap_cache_undo_history, ldap_cachetree, use_cache_history

Method Details

__init__(self, ldap_cacheobject, use_cache_history=True, config_defaults={'AdminRDN': 'cn=admin', 'AutomountRDN': 'ou=automount', 'Base...)
(Constructor)

source code 
Overrides: easyLDAP_cache_history.__init__

__deepcopy__(self, memo)

source code 

Creates a deepcopy of the easyLDAP cache class, especially of the undo/redo stack.

Overrides: easyLDAP_cache_history.__deepcopy__
(inherited documentation)