Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


oracle.imaging
Class Search.ResultSet

java.lang.Object
  extended by oracle.imaging.Search.ResultSet

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Search

public static class Search.ResultSet
extends java.lang.Object
implements java.io.Serializable

The ResultSet class is a container class for the rows of results retrieved from the persistent storage. The container has a count of the number of rows and a list of results. Each entry is of type Search.Result. The container starts with an empty list of results and results may only be added.

See Also:
Serialized Form

Constructor Summary
Search.ResultSet()
          The default constructor required to be explicitly declared for JAXB serialization.
Search.ResultSet(java.util.List<Search.Result> results)
           
Search.ResultSet(java.util.List<Search.Result> results, java.util.List<java.lang.String> columnNames)
           

 

Method Summary
 boolean areResultsTruncated()
          Method returns true when the results of the search exceeded the maximum number of results allowed by the system.
 java.util.List<java.lang.String> getColumns()
          Gets the column names for the result set.
 java.util.List<Search.Result> getResults()
          Gets the results as an array of Search.Result objects.
 int getTotalResults()
          Method returns the total number of results accumulated in the result set.
 void setAreResultsTruncated(boolean resultsTruncated)
          Method sets the state of whether the results of the search exceeded the maximum number of results allowed by the system or not.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Search.ResultSet

public Search.ResultSet()
The default constructor required to be explicitly declared for JAXB serialization.

Search.ResultSet

public Search.ResultSet(java.util.List<Search.Result> results)

Search.ResultSet

public Search.ResultSet(java.util.List<Search.Result> results,
                        java.util.List<java.lang.String> columnNames)

Method Detail

getResults

public java.util.List<Search.Result> getResults()
Gets the results as an array of Search.Result objects.
Returns:
the result objects as an array.

getColumns

public java.util.List<java.lang.String> getColumns()
Gets the column names for the result set.
Returns:
the column names as an array.

areResultsTruncated

public boolean areResultsTruncated()
Method returns true when the results of the search exceeded the maximum number of results allowed by the system.
Returns:
a boolean true if the results have been truncated.

getTotalResults

public int getTotalResults()
Method returns the total number of results accumulated in the result set.
Returns:
The count of the number of items in the results list.

setAreResultsTruncated

public void setAreResultsTruncated(boolean resultsTruncated)
Method sets the state of whether the results of the search exceeded the maximum number of results allowed by the system or not.
Parameters:
resultsTruncated - Flag indicating that the result set was truncated if set to true.

Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.