|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.CollabItemList
This class represents an item list consisting of Collaboration items.
Field Summary | |
protected java.lang.Object |
m_items
|
Constructor Summary | |
CollabItemList(java.lang.Object items)
Contructor |
|
CollabItemList(java.lang.Object items,
boolean bIsPaginationFullySupported)
Contructor |
Method Summary | |
int |
getEndIndex()
Gets the end index. |
java.lang.Object |
getItems()
Gets the items. |
int |
getLastPageNumber()
Gets the last page number. |
int |
getNextPageNumber()
Gets the next page number. |
int |
getPageCount()
Gets the page count. |
int |
getPageItemCount()
Gets the page item count. |
int |
getPageNumber()
Gets the page number. |
int |
getPreviousPageNumber()
Gets the previous page number. |
int |
getStartIndex()
Gets the start index. |
int |
getTotalItemCount()
Gets the total item count. |
boolean |
isFirstPage()
Checks if the current page is the first page. |
boolean |
isLastPage()
Checks if the current page is the last page. |
boolean |
isPaginationFullySupported()
Checks if pagination is fully supported. |
void |
setIsFirstPage(boolean bIsFirstPage)
Sets if the current page is the first page. |
void |
setIsLastPage(boolean bIsLastPage)
Sets if the current page is the last page. |
void |
setIsPaginationFullySupported(boolean bIsPaginationFullySupported)
Sets if pagination is fully supported. |
void |
setPageCount(int iPageCount)
Sets the page count. |
void |
setPageItemCount(int iPageItemCount)
Sets the page item count. |
void |
setPageNumber(int iPageNumber)
Sets the page number. |
void |
setStartIndex(int iStartIndex)
Sets the start index. |
void |
setTotalItemCount(int iTotalItemCount)
Sets the total item count. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Object m_items
Constructor Detail |
public CollabItemList(java.lang.Object items)
items
- the itmes this item list holds (may not be null
)public CollabItemList(java.lang.Object items, boolean bIsPaginationFullySupported)
items
- the itmes this item list holds (may not be null
)bIsPaginationFullySupported
- true
if pagination is fully supported by a certain groupware provider; false
otherwiseMethod Detail |
public java.lang.Object getItems()
public int getPreviousPageNumber()
public int getNextPageNumber()
public int getLastPageNumber()
public boolean isFirstPage()
true
if the current page is the first page; false
otherwisepublic void setIsFirstPage(boolean bIsFirstPage)
bIsFirstPage
- true
if the current page is the first page; false
otherwisepublic boolean isLastPage()
true
if the current page is the last page; false
otherwisepublic void setIsLastPage(boolean bIsLastPage)
bIsLastPage
- true
if the current page is the last page; false
otherwisepublic int getTotalItemCount()
public void setTotalItemCount(int iTotalItemCount)
iTotalItemCount
- the total count of itemspublic int getPageNumber()
public void setPageNumber(int iPageNumber)
iPageNumber
- the index of the current page(1-based)public int getPageCount()
public void setPageCount(int iPageCount)
iPageCount
- the total count of the pagespublic boolean isPaginationFullySupported()
true
if pagination is fully supported by a certain groupware provider; false
otherwise
For some groupware provider, pagination is not completely supported.
public void setIsPaginationFullySupported(boolean bIsPaginationFullySupported)
true
if pagination is fully supported by a certain groupware provider; false
otherwisepublic int getStartIndex()
public void setStartIndex(int iStartIndex)
iStartIndex
- the index of the first item on this page (1-based)public int getEndIndex()
public int getPageItemCount()
public void setPageItemCount(int iPageItemCount)
iPageItemCount
- the number of items on this page
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |