public class ResultPaging extends Object
Constructor and Description |
---|
ResultPaging()
constructs the
ResultPaging instance. |
ResultPaging(int totalSize,
int pageSize)
constructs the
ResultPaging instance. |
Modifier and Type | Method and Description |
---|---|
int |
getActivePage()
returns active page number.
|
int |
getPageSize()
returns the page size.
|
com.saperion.rmi.SaQueryInfo |
getQuery()
returns query string.
|
int |
getTotalSize()
returns result lists total size.
|
void |
setActivePage(int activePage)
sets active page number.
|
void |
setPageSize(int pageSize)
sets page size.
|
void |
setQuery(com.saperion.rmi.SaQueryInfo query)
Sets query string.
|
void |
setTotalSize(int totalSize)
sets result lists total size.
|
public ResultPaging()
ResultPaging
instance.public ResultPaging(int totalSize, int pageSize)
ResultPaging
instance.totalSize
- result list total size.pageSize
- page size.public com.saperion.rmi.SaQueryInfo getQuery()
public void setQuery(com.saperion.rmi.SaQueryInfo query)
query
- query string.public int getTotalSize()
public void setTotalSize(int totalSize)
totalSize
- result list size to be set.public int getPageSize()
public void setPageSize(int pageSize)
pageSize
- page size to be set.public int getActivePage()
public void setActivePage(int activePage)
activePage
- page number to set.Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.