Changes between Version 40 and Version 41 of Document/Development/Design/LdapBackend
- Timestamp:
- 11/08/08 14:49:42 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Document/Development/Design/LdapBackend
v40 v41 255 255 * Removed ''validatedRow()'', now there will be only ''validatedTypeRow()'', but has been renamed to '''''validatedRow()'''''. 256 256 * '''Tips''' 257 * ''$self->{'directory'}'' is going to be ''$self->{' dn'}'' (the full ''dn'', not the concrete ''rdn'' of theinstance).257 * ''$self->{'directory'}'' is going to be ''$self->{'baseDn'}'' (the ''dn'' of the module, not the concrete ''dn'' of the model instance). 258 258 * ''ldapmodule'' replaces ''gconfmodule'' and it'll work with EBox::Ldap perl module at ''low level''. 259 259 * ''addTypedRow()'' and ''addRow()'' not longer support an ''id'' named parameter (Although they continue to return the ''id'' of the new row created). … … 268 268 * 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. 269 269 * ~~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 270 277 271 278 === Ldap !#7 === 272 279 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. 274 288 ---- 275 289 ---- … … 277 291 == Ldap Object Structure == 278 292 Besides the schemas for both object classes and attribute types, we are going to need some schemas and entries to organize the contents 293 279 294 280 295 === Organizational elements needed ===