|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.infoglue.cms.entities.publishing.EditionBrowser
public class EditionBrowser
This is a helper class that will provide convenience methods for getting information about the page browsing aspect of Editions. This could easily be made generic and should if we find the need to make more paginated pages.
| Constructor Summary | |
|---|---|
EditionBrowser(int totalEditions,
int pageSize,
int startIndex)
|
|
| Method Summary | |
|---|---|
int |
getCurrentPage()
|
java.util.List |
getEditions()
|
int |
getNextPageIndex()
Returns the starting index of the next page |
int |
getNextPageSize()
Returns the number of editions on the next page |
int |
getPageSize()
|
int |
getPreviousPageIndex()
Returns the starting index of the previous page |
int |
getPreviousPageSize()
Returns the number of editions on the previous page |
int |
getStartIndex()
|
int |
getTotalEditions()
|
int |
getTotalPages()
|
boolean |
hasNextPage()
Returns true if there will be editions on the next page, false otherwise |
boolean |
hasPreviousPage()
Returns true if there will be editions on the previous page, false otherwise |
void |
setEditions(java.util.List c)
|
void |
setPageSize(int i)
|
void |
setStartIndex(int i)
|
void |
setTotalEditions(int i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditionBrowser(int totalEditions,
int pageSize,
int startIndex)
| Method Detail |
|---|
public int getTotalEditions()
public void setTotalEditions(int i)
public int getStartIndex()
public void setStartIndex(int i)
public int getPageSize()
public void setPageSize(int i)
public java.util.List getEditions()
public void setEditions(java.util.List c)
public int getTotalPages()
public int getCurrentPage()
public boolean hasPreviousPage()
public boolean hasNextPage()
public int getPreviousPageSize()
public int getNextPageSize()
public int getPreviousPageIndex()
public int getNextPageIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||