com.plumtree.remote.prc.search
Interface ISearchResponse


public interface ISearchResponse

Interface for search results.


Method Summary
 int getFirstResultIndex()
          Gets the index of the first result returned (zero-based).
 ISearchResultSet getResultSet()
          Returns the actual collection of results.
 int getReturnedCount()
          Gets the number of results returned.
 int getTotalCount()
          Gets the total count of results.
 SearchWarning getWarning()
          Gets the SearchWarning, or null if there is no SearchWarning.
 

Method Detail

getResultSet

public ISearchResultSet getResultSet()
Returns the actual collection of results.

Returns:
the search result set

getFirstResultIndex

public int getFirstResultIndex()
Gets the index of the first result returned (zero-based). For example, if you are viewing results 11-20 of 28, this is 12.

Returns:
the index of the first result returned

getReturnedCount

public int getReturnedCount()
Gets the number of results returned. For example, if you are viewing results 11-20 of 28, this is 10.

Returns:
the number of results returned

getTotalCount

public int getTotalCount()
Gets the total count of results. For example, if you are viewing results 11-20 of 28, this is 28.

Returns:
the total count of results

getWarning

public SearchWarning getWarning()
Gets the SearchWarning, or null if there is no SearchWarning.

Returns:
the SearchWarning, or null if there is no SearchWarning
See Also:
SearchWarning


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.