com.plumtree.remote.prc
Interface IObjectQuery


public interface IObjectQuery

Interface that represents a query about multiple objects in the portal. All the objects in a particular query will be of the same class; no object query can include more than one class of object (for example, both Portlets and Communities). Only certain properties are "queryable" in the portal; these properties are represented by the ObjectProperty class and its subclasses. Some attributes of an object (for example, a Portlet's administrative preferences) can only be obtained by accessing the object directly.

Object queries are represented conceptually like a database query result. They are comprised of rows, with each row representing an object. Each row has multiple property-value pairs (like columns in a database query).


Method Summary
 IObjectQueryRow getRow(int row)
          Gets an IObjectQueryRow object representing the specified row.
 int getRowCount()
          Gets the number of rows in this query.
 

Method Detail

getRowCount

public int getRowCount()
Gets the number of rows in this query.

Returns:
the row count

getRow

public IObjectQueryRow getRow(int row)
Gets an IObjectQueryRow object representing the specified row.

Parameters:
row - the index of the row to retrieve (indices are zero-based)
Returns:
an IObjectQueryRow object representing the row
Throws:
java.lang.IndexOutOfBoundsException - if the row index is out of range


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.