public class CmsContentInfoBean
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
PAGE_CONTEXT_ATTRIBUTE_NAME
The name under which the collector info is saved in the page context.
|
构造器和说明 |
---|
CmsContentInfoBean()
Creates a new content info bean.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getLocale()
Returns the locale used by the content loader.
|
int |
getPageCount()
Returns the number of pages of browse through the result list.
|
int |
getPageIndex()
Returns the index of the current page that gets displayed.
|
int |
getPageNavEndIndex()
Returns the page index of the first element in the Google-like page navigation.
|
int |
getPageNavLength()
Returns the page index of the last element in the Google-like page navigation.
|
int |
getPageNavStartIndex()
Returns the page index of the first element in the Google-like page navigation.
|
int |
getPageSize()
Returns the size of a page.
|
int |
getResultIndex()
Returns the index of the current resource that gets iterated in the result list.
|
int |
getResultSize()
Returns the total size of the collector's result list.
|
boolean |
isEmptyResult()
Returns true if there is no resource in the result list.
|
boolean |
isFirstOnPage()
Returns true if the current resource is the first resource on the current page.
|
boolean |
isFirstResult()
Returns true if the current resource is the first resource in the result list.
|
boolean |
isLastOnPage()
Returns true if the current resource is the last resource on the current page.
|
boolean |
isLastResult()
Returns true if the current resource is the last resource in the result list.
|
void |
setLocale(java.lang.String locale)
Sets the current locale used by the content loader.
|
public static final java.lang.String PAGE_CONTEXT_ATTRIBUTE_NAME
public java.lang.String getLocale()
public int getPageCount()
public int getPageIndex()
public int getPageNavEndIndex()
public int getPageNavLength()
public int getPageNavStartIndex()
public int getPageSize()
public int getResultIndex()
public int getResultSize()
public boolean isEmptyResult()
public boolean isFirstOnPage()
public boolean isFirstResult()
public boolean isLastOnPage()
public boolean isLastResult()
public void setLocale(java.lang.String locale)
locale
- the locale to set