-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Yes
-
Empty show more show less
-
Yes
Currently any callers of info.magnolia.module.templatingkit.util.STKUtil.getContentListByTemplateName(Content, String) will have to implement sorting, filtering and shrinking of results in Java. This leads to intolerable perfomance when thousands of result objects must be processed in Java.
The provided patch extends some method signatures of STKUtil so a maxResultSize (for shrinking), andClause (for filtering) and orderByClause (for sorting) can be passed in. This will allow subclasses of AbstractListItemModel to perform sorting, filtering and shrinking via JCR query rather than in Java.
The provided patch requires the application of the patch previously provided in MAGNOLIA-3331.
- depends upon
-
MAGNOLIA-3331 Provide for maxResultSize in Query-API
- Closed