Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.search
Class CwCalendarSearchResultSet

java.lang.Object
  extended byoracle.workspaces.search.CwSearchResultSet
      extended byoracle.workspaces.search.CwCalendarSearchResultSet


public class CwCalendarSearchResultSet
extends CwSearchResultSet

Result set class for calendar searches.


Constructor Summary
CwCalendarSearchResultSet(CwSession session, oracle.search.QueryResult qr, oracle.search.SimpleQuery query, CwSearchContainer container)
Constructor for calendar search within a single workspace.
CwCalendarSearchResultSet(CwSession session, oracle.search.QueryResult qr, oracle.search.SimpleQuery query, CwSearchContainer container, java.util.List lsCalendarResources)
Constructor for cross-workspace calendar search.

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

Constructor Detail

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.

Method Detail

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

Copyright © 2001, 2005, Oracle. All rights reserved.