@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class ItemList extends Object
Constructor and Description |
---|
ItemList(org.apache.sling.api.SlingHttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
int |
getCurrentPage() |
int |
getEnd() |
List<org.apache.sling.api.resource.Resource> |
getItems() |
Integer[] |
getPages() |
String |
getQuery() |
int |
getStart() |
void |
init() |
boolean |
isFirst() |
boolean |
isLast() |
public int getCount()
public int getCurrentPage()
public int getEnd()
public Integer[] getPages()
public String getQuery()
public List<org.apache.sling.api.resource.Resource> getItems()
public int getStart()
@PostConstruct public void init()
public boolean isFirst()
public boolean isLast()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.