Yann Weber
668d97e2fb
Implements add_related set_relation_rank in MySQL ledatasource and updated get_relation
9 years ago
Yann Weber
3503537b0d
Implements _LeObject.hierarchy_get() method
9 years ago
Yann Weber
64c2a865df
Implements _LeObject.hierarchy_del() and LeType.del_superior()
9 years ago
Yann Weber
94a5afcdd7
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
9 years ago
Yann Weber
03ebc9535a
Implements new methods for getting relations in LeObject and add a check for attributes unicity when linking two LeObject together
9 years ago
Yann Weber
a5996dc419
Implements _LeObject.link_remove() and LeType.unlink_subordinate()
9 years ago
Yann Weber
15b9c27333
Implements _LeObject.linked_together() and LeType.linked_subordinates() methods
9 years ago
Yann Weber
1a54863f5b
Implements _LeObject.link_together() and LeType.link_subordinate() methods
9 years ago
Yann Weber
bdd85d9bde
Implement the LeDatasource.insert() method + user friendly LeObject.insert() datas arg
9 years ago
Yann Weber
ee578c1f89
Add another test for LeObject.get() method
9 years ago
Yann Weber
965560bf6b
Add test for LeObject with a mock on the datasource + bugfix on _LeObject and LeType
9 years ago
Yann Weber
25c7f607af
Implements delete() and update() methods in LeType and _LeObject
9 years ago
Yann Weber
ec033f63fb
Update the relationnal filters parse/storage and associated tests
9 years ago
Yann Weber
46c98dc046
Updated the DummyDatasource + documenting query filters
9 years ago
Yann Weber
a53f647810
Add insert method
9 years ago
Yann Weber
1d29e95951
Add tests for LeObject + bufix
9 years ago
Yann Weber
ff50f7ee64
_Leobject code factorisation
9 years ago
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
9 years ago
Yann Weber
c48147e732
Correct the _LeObject.get() method and add some methods to LeType
Now the _LeObject.get() method should be able to return LeType child classes instance
LeType has two new methods :
- LeTypes.datas() @property method that returns a dict(FIELDNAME:FIELDVALUE)
- LeType.populate() that fetch from datassource missing fieldvalues
9 years ago
Yann Weber
250aa9e0ff
Add a class attribute to LeObject that maps EditorialModel uid with LeType and LeClass python class
9 years ago
Yann Weber
756b0e0b0b
Test were broken by previous commit...
9 years ago
Yann Weber
4d445e876e
_LeObject.get() enhancement
9 years ago
Yann Weber
6123d23be4
Update the _LeObject.get() method to handle relationnal filters
9 years ago
Yann Weber
2c37a9bf46
Update the quer_filter spliting method to handle superior.nature field notation.
Update the associated tests
9 years ago
Yann Weber
482378fb18
Started some method implementation form _LeObject and LeType
Methods are _LeObject.get() and LeType.check_datas()
9 years ago
Yann Weber
24aa04a913
Added a _split_query method to _LeObject
This method split a string in a tuple(FIELD, OPERATOR, VALUE)
9 years ago
Yann Weber
215b51a566
[untested, dev] Updated the code for leobject, leclass and letype
This commit is in "work in progress state" all the code is not consistent
9 years ago
ArnAud
28c068712a
LeObject: first shot at _prepare_filters()
9 years ago
ArnAud
535c8b7e22
LeObject: begining of implementation
9 years ago