Yann Weber
ff50f7ee64
_Leobject code factorisation
9 år sedan
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
9 år sedan
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 år sedan
Yann Weber
250aa9e0ff
Add a class attribute to LeObject that maps EditorialModel uid with LeType and LeClass python class
9 år sedan
Yann Weber
756b0e0b0b
Test were broken by previous commit...
9 år sedan
Yann Weber
4d445e876e
_LeObject.get() enhancement
9 år sedan
Yann Weber
6123d23be4
Update the _LeObject.get() method to handle relationnal filters
9 år sedan
Yann Weber
2c37a9bf46
Update the quer_filter spliting method to handle superior.nature field notation.
Update the associated tests
9 år sedan
Yann Weber
482378fb18
Started some method implementation form _LeObject and LeType
Methods are _LeObject.get() and LeType.check_datas()
9 år sedan
Yann Weber
24aa04a913
Added a _split_query method to _LeObject
This method split a string in a tuple(FIELD, OPERATOR, VALUE)
9 år sedan
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 år sedan
ArnAud
28c068712a
LeObject: first shot at _prepare_filters()
9 år sedan
ArnAud
535c8b7e22
LeObject: begining of implementation
9 år sedan