From: <fg...@us...> - 2009-03-01 12:34:36
|
Revision: 1070 http://openutils.svn.sourceforge.net/openutils/?rev=1070&view=rev Author: fgrilli Date: 2009-03-01 12:34:32 +0000 (Sun, 01 Mar 2009) Log Message: ----------- minor fix Modified Paths: -------------- trunk/openutils-mgnlcriteria/src/site/apt/index.apt Modified: trunk/openutils-mgnlcriteria/src/site/apt/index.apt =================================================================== --- trunk/openutils-mgnlcriteria/src/site/apt/index.apt 2009-03-01 11:51:05 UTC (rev 1069) +++ trunk/openutils-mgnlcriteria/src/site/apt/index.apt 2009-03-01 12:34:32 UTC (rev 1070) @@ -73,10 +73,10 @@ <<<Content>>> nodes returned by the above query will be automatically converted to and populate instances of the <<<Pet>>> type. Furthermore, you may want to have only a subset of the whole resultset returned, much like in a MySQL limit clause. - In this case, you will use the <<<JCRCriteriaFactory.createMgnlCriteriaWithLimit>>> factory method + In this case, you will use the <<<JCRCriteriaFactory.createMgnlCriteriaWithLimit>>> factory method. For this to work, the underlying JCR repository implementation must support this feature (Jackrabbit 1.4+ does). - Here is a example. + Here is an example. +----------------------------------------------+ Collection<Pet> pets = JCRCriteriaFactory.createMgnlCriteriaWithLimit("//dogs//*", MgnlContext.getQueryManager("website"), "mgnl:content", Pet.class).add( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |