oracle.workspaces.search
Class CwCalendarSearchResultSet
java.lang.Object
oracle.workspaces.search.CwSearchResultSet
oracle.workspaces.search.CwCalendarSearchResultSet
- public class CwCalendarSearchResultSet
- extends CwSearchResultSet
Result set class for calendar searches.
Method Summary |
void |
fetchRows(int rowStart, int rowLimit)
This method can be used to get arbitrary chunk of the results. |
Methods inherited from class oracle.workspaces.search.CwSearchResultSet |
getColumns, getContainer, getCwException, getIsErrorResult, getQuery, getQueryResult, getRowCount, getRowLimit, getRows, getRowStart, getSearchSession, getSession, getTotalCount |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CwCalendarSearchResultSet
public CwCalendarSearchResultSet(CwSession session,
oracle.search.QueryResult qr,
oracle.search.SimpleQuery query,
CwSearchContainer container)
throws CwException
- Constructor for calendar search within a single workspace. API users should not call result set constructors.
CwCalendarSearchResultSet
public CwCalendarSearchResultSet(CwSession session,
oracle.search.QueryResult qr,
oracle.search.SimpleQuery query,
CwSearchContainer container,
java.util.List lsCalendarResources)
throws CwException
- Constructor for cross-workspace calendar search. API users should not call result set constructors.
- Parameters:
lsCalendarResources
- a List of all the CwCalendarResource objects that are being searched with this query; note that this will be used to filter the result set.
fetchRows
public void fetchRows(int rowStart,
int rowLimit)
throws CwException
- This method can be used to get arbitrary chunk of the results. The chunk is specified by rowStart and rowLimit parameters. The results will be computed for the original search query but limited to the container for this result set. This method is useful for paging through result set for each container.
-
- Overrides:
fetchRows
in class CwSearchResultSet
-
- Parameters:
rowStart
- The starting row number of the search results.
rowLimit
- the max number of rows to be returned.
- Throws:
CwException