Interface PagingLoadResult<Data>
-
- All Superinterfaces:
ListLoadResult<Data>,Serializable
- All Known Implementing Classes:
PagingLoadResultBean
public interface PagingLoadResult<Data> extends ListLoadResult<Data>
A LoadResult for paging loaders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetOffset()Returns the current offset of the results.intgetTotalLength()Returns the total count.voidsetOffset(int offset)Sets the offset.voidsetTotalLength(int totalLength)Sets the total length.-
Methods inherited from interface com.sencha.gxt.data.shared.loader.ListLoadResult
getData
-
-
-
-
Method Detail
-
getOffset
int getOffset()
Returns the current offset of the results.- Returns:
- the offset
-
getTotalLength
int getTotalLength()
Returns the total count. This value will not equal the number of records being returned when paging is used.- Returns:
- the total count
-
setOffset
void setOffset(int offset)
Sets the offset.- Parameters:
offset- the offset
-
setTotalLength
void setTotalLength(int totalLength)
Sets the total length.- Parameters:
totalLength- the total length
-
-