Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IObjectManager.QueryObjects Method (Int32, Int32, Int32, ObjectProperty, Boolean)

Queries for objects underneath a particular folder.

IObjectQuery QueryObjects(
   int folderID,
   int startRow,
   int maxRows,
   ObjectProperty sortProperty,
   bool ascending
);

Parameters

folderID
The ID of the folder in which to query; if set to -1, the query will be for all folders.
startRow
The first row in the query to retrieve (row numbers are zero-based).
maxRows
The number of rows in the query to retrieve; if set to -1, all rows are retrieved.
sortProperty
The property on which to sort the query.
ascending
Whether the sort should be ascending or descending; use true for ascending.

Return Value

An IObjectQuery object that represents the results of this query.

Remarks

Returns an IObjectQuery object that has one row for each object returned. Note: Use caution when creating a query. Queries that result in a large number of objects, including queries without query filters, can result in SOAP timeouts or OutOfMemoryErrors.

Exceptions

Exception Type Condition
HttpException The query interface URL is not valid.
PortalException The operation resulted in an error in the portal.

See Also

IObjectManager Interface | Plumtree.Remote.PRC Namespace | IObjectManager.QueryObjects Overload List