| |
|
| com.completex.objective.components.persistency.BasicQuery
All known Subclasses: com.completex.objective.components.persistency.core.impl.query.BaseQueryImpl,
BasicQuery | public interface BasicQuery (Code) | | author: Gennady Krizhevsky |
Inner Class :static class OrderDirection | |
ORDER_ASC | OrderDirection ORDER_ASC(Code) | | |
ORDER_DESC | OrderDirection ORDER_DESC(Code) | | |
STATE_ACTIVE | int STATE_ACTIVE(Code) | | |
STATE_CLOSED | int STATE_CLOSED(Code) | | |
STATE_NEW | int STATE_NEW(Code) | | Query states:
|
getOffset | long getOffset()(Code) | | Returns 0-based offset from which records to be retrieved
0-based offset from which records to be retrieved |
getPageSize | long getPageSize()(Code) | | Returns page size
page size |
getSql | String getSql()(Code) | | Returns SQL string that this query represents
SQL string that this query represents |
setName | void setName(String name)(Code) | | Set query name
Parameters: name - |
setOffset | void setOffset(long offset)(Code) | | Set 0-based offset from which records to be retrieved
Parameters: offset - |
setPage | BasicQuery setPage(Page page)(Code) | | Sets page parameters in terms of BasicQuery.Page
Parameters: page - itself |
setPageSize | BasicQuery setPageSize(long pageSize)(Code) | | Sets page size in records
Parameters: pageSize - page size in records itself |
setSql | BasicQuery setSql(String sql)(Code) | | Sets SQL string that this query represents
Parameters: sql - SQL string that this query represents itself |
|
|
|