public interface IDataContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SORT_CASEINSENSITIVE |
static java.lang.String |
SORT_CASESENSITIVE |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentPage()
Return the current page the list is displaying
|
java.lang.String |
getCurrentSortColumn()
Return the currently sorted column if any
|
int |
getPageCount()
Return the count of max available pages
|
int |
getPageSize()
Returns the current page size used for this list, or -1 for no paging.
|
boolean |
isCurrentSortDescending()
Returns the current sort direction.
|
boolean |
isDataAvailable()
Returns true if a row of data is available
|
java.lang.Object |
nextRow()
Returns the next row of data from the data model
|
void |
setCurrentPage(int index)
Set the current page to display.
|
void |
sort(java.lang.String column,
boolean descending,
java.lang.String mode)
Sort the dataset using the specified sort parameters
|
static final java.lang.String SORT_CASEINSENSITIVE
static final java.lang.String SORT_CASESENSITIVE
java.lang.String getCurrentSortColumn()
boolean isCurrentSortDescending()
int getPageSize()
int getCurrentPage()
void setCurrentPage(int index)
index - Zero based page index to displayint getPageCount()
boolean isDataAvailable()
java.lang.Object nextRow()
void sort(java.lang.String column,
boolean descending,
java.lang.String mode)
column - Column to sortdescending - True for descending sort, false for ascendingmode - Sort mode to use (see IDataContainer constants)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.