juliocamarero/liferay-portal — pull request #159 by achaparro (2011-10-18 14:42:16+00:00)
Title: LPS-21435 Contents categorized with children categories aren't show filtering by their parent category

The changes have two main reason:

- The expandTree method didn't take into account the possibility to move a tree inside another node.
- It's necessary to precalculate the children nodes at the beginning because after the updates of shrinkTree method there could be several nodes with the same value for Right or Left category id and we need to distinct the children nodes.

We haven't created three new classes for the updates because it seems that IN clause doesn't allow this, instead of this we have created three methods.