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 int
getCount()
int
getCurrentPage()
int
getEnd()
List<org.apache.sling.api.resource.Resource>
getItems()
Integer[]
getPages()
String
getQuery()
int
getStart()
boolean
isFirst()
boolean
isLast()
-
-
-
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()
-
-