com.crystaldecisions.sdk.occa.infostore
Interface IPagingQuery

All Superinterfaces:
IPagingQueryBase

Deprecated. Since 4.0. CMS now supports paged queries, use ICMSQuery instead.

@Deprecated
public interface IPagingQuery
extends IPagingQueryBase

IPagingQuery provides information about a paged result set.

The underlying implementation has to cache certain information to maintain paging state. So it has to balance stale cache concerns against query efficiency and memory use. Some of the situations to look out for:


Method Summary
 IInfoObjects getPage()
          Deprecated.  Get current page content
 void setParameters(java.lang.String tables, int propSet, SearchPattern pattern, SortType sortBy)
          Deprecated.  Set Parameters for paging query
 
Methods inherited from interface com.crystaldecisions.sdk.occa.infostore.IPagingQueryBase
getCurrPageNumber, getItemsPerPage, getPagesPerRange, getRangeFirstPageNumber, getRangeLastPageNumber, hasNextPage, hasNextRange, hasPrevPage, hasPrevRange, moveToFirstPage, moveToLastPage, moveToNextPage, moveToNextRange, moveToPreviousPage, moveToPreviousRange, setCurrPageNumber, setItemsPerPage, setPagesPerRange
 

Method Detail

setParameters

void setParameters(java.lang.String tables,
                   int propSet,
                   SearchPattern pattern,
                   SortType sortBy)
                   throws SDKException
Deprecated. 

Set Parameters for paging query

Parameters:
tables - The table in CMS for the query
pattern - The search pattern for the query
sortBy - The Sort Type for the query
Throws:
SDKException

getPage

IInfoObjects getPage()
                     throws SDKException
Deprecated. 

Get current page content

Returns:
IInfoObjects The infoobjects colletion in current page
Throws:
SDKException