Changes between Version 40 and Version 41 of Document/Development/Design/LdapBackend

Show
Ignore:
Timestamp:
11/08/08 14:49:42 (5 years ago)
Author:
jgarcia@… (IP: 83.138.249.50)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Document/Development/Design/LdapBackend

    v40 v41  
    255255   * Removed ''validatedRow()'', now there will be only ''validatedTypeRow()'', but has been renamed to '''''validatedRow()'''''. 
    256256 * '''Tips''' 
    257    * ''$self->{'directory'}'' is going to be ''$self->{'dn'}'' (the full ''dn'', not the concrete ''rdn'' of the instance). 
     257   * ''$self->{'directory'}'' is going to be ''$self->{'baseDn'}'' (the ''dn'' of the module, not the concrete ''dn'' of the model instance). 
    258258   * ''ldapmodule'' replaces ''gconfmodule'' and it'll work with EBox::Ldap perl module at ''low level''. 
    259259   * ''addTypedRow()'' and ''addRow()'' not longer support an ''id'' named parameter (Although they continue to return the ''id'' of the new row created). 
     
    268268             * We are going to get the module's name from ''$self->{'ldapmodule'}->name()''. This way is not longer necessary to specified ''modelDomain'' key in the tableDescription of a model. 
    269269        * ~~b) As parameter in the new()~~ 
     270 * '''ToDo''' 
     271   * Rename xxxTypedRow to xxxRow, removing the actual xxxRow methods. 
     272      * Should we allow the actual xxxRow interface? 
     273   * Double check de AUTOLOAD methods, to fulfill the new Row class. 
     274   * $self->{ tableName } is under conflict with modelName(). 
     275   * Merge juruen's changes from his branch. 
     276   * Improve finders 
    270277 
    271278=== Ldap !#7 === 
    272279 
    273  
     280 * '''Stuff done''' 
     281   * You can retrieve ''hashElements()'' that are going to be saved, or also the ''hashElements()'' that are already saved (obviously only for rows that have been saved in the past). 
     282     * Each row has both the attributes stored in the ldap server and attributes setted by the user. 
     283       * When the row have to save the data, compare the attributes between them, and save the changes. 
     284   * Removed ''elementExists()'', it doesn't make sense right now, unless this behaviour will be wished. (Rows that only allows either to save or to set attributes once) 
     285   * Removed ''elementByIndex()''. 
     286 * '''Issues''' 
     287   * store() or save(), it's a silly thing but it'd be nice to choose one :P, right now it's used ''store'' but ''save'' is more common. 
    274288---- 
    275289---- 
     
    277291== Ldap Object Structure == 
    278292Besides the schemas for both object classes and attribute types, we are going to need some schemas and entries to organize the contents 
     293 
    279294 
    280295=== Organizational elements needed ===