Class ItemList
- java.lang.Object
-
- org.apache.sling.cms.reference.models.ItemList
-
@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class ItemList extends Object
Model for retrieving a list of items from the Sling repository using a JCR SQL2 query.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()intgetCurrentPage()intgetEnd()List<org.apache.sling.api.resource.Resource>getItems()Integer[]getPages()StringgetQuery()intgetStart()booleanisFirst()booleanisLast()
-
-
-
Method Detail
-
getCount
public int getCount()
-
getCurrentPage
public int getCurrentPage()
-
getEnd
public int getEnd()
-
getPages
public Integer[] getPages()
-
getQuery
public String getQuery()
-
getItems
public List<org.apache.sling.api.resource.Resource> getItems()
-
getStart
public int getStart()
-
isFirst
public boolean isFirst()
-
isLast
public boolean isLast()
-
-