shuyangzhou/liferay-portal — pull request #617 by sammso (2014-07-16 21:29:24+00:00)
Title: Lps 44048 Trashentry ActionalbeQuery solution

Hi @shuyangzhou,

Here is basic trash entry clean up solution. This is now scanning through all the trash entries. This is what you did first propose to replace pull https://github.com/shuyangzhou/liferay-portal/pull/590 . As I did propose to add "clean time " value to type settings. It would have been more complex due that changing trash cleaning time. https://github.com/shuyangzhou/liferay-portal/pull/590 did also option to limit amount of the trash cleaned at once and this is missing that also, since that would have required changes to ActionableQuery and the goal of this is to provide some kind of improvement for 6.2.x line. I was also thinking, if someone has really problem with this solution with 6.2, then may then better to build hook plugin to override this then there is also option to override data structure with more performant option. For 7.0 will require better and there is LPS-47807. I will send proposal for that after my holidays.

Anyway positive thing about this is that it does have good integration test coverage,so further development is anyways easier.

/CC @epgarcia