com.day.cq.searchpromote.xml.result
Class Pagination

java.lang.Object
  extended by com.day.cq.searchpromote.xml.result.Pagination
All Implemented Interfaces:
ResultEntity

public class Pagination
extends Object
implements ResultEntity


Constructor Summary
Pagination()
           
 
Method Summary
 ResultPage getFirst()
           
 ResultPage getLast()
           
 ResultPage getNext()
           
 ResultPage getPrevious()
           
 List<ResultPage> getResultPages()
           
 Integer getSize()
           
 Long getTotalPages()
           
 ResultPage getViewall()
           
 Boolean hasFirst()
           
 Boolean hasLast()
           
 Boolean hasNext()
           
 Boolean hasPrevious()
           
 Boolean hasViewall()
           
 void parse(javax.xml.stream.XMLEventReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pagination

public Pagination()
Method Detail

parse

public void parse(javax.xml.stream.XMLEventReader reader)
           throws Exception
Specified by:
parse in interface ResultEntity
Throws:
Exception

getTotalPages

public Long getTotalPages()

getResultPages

public List<ResultPage> getResultPages()

getFirst

public ResultPage getFirst()

getLast

public ResultPage getLast()

getPrevious

public ResultPage getPrevious()

getNext

public ResultPage getNext()

getViewall

public ResultPage getViewall()

hasNext

public Boolean hasNext()

hasPrevious

public Boolean hasPrevious()

hasFirst

public Boolean hasFirst()

hasLast

public Boolean hasLast()

hasViewall

public Boolean hasViewall()

getSize

public Integer getSize()


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.