Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 7295

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Service ContentResultSet</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="ContentResultSet-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#ServicesSummary" class="navisub">Services' Summary</a></td>
<td class="navisub"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td>
<td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td>
<td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></td>
<td class="navisub"><a href="#InterfacesDetails" class="navisub">Interfaces' Details</a></td>
<td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' Details</a></td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">ucb</a> :: </p>
</td>
</tr>
<tr>
<td class="title">service ContentResultSet</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>provides access to the children of a folder content.

 </dd>
<dd><p>It can be understand as a table containing a row for each child. The
 table columns may contain values of properties of the children.
</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="ServicesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Included Services - Summary</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/ResultSet.html">ResultSet</a></td>
<td class="imsum_right"><p>can be implemented to provide a complete JDBC conform result set
 interface for the implementation of this service.

 (<a href="#ResultSet">details</a>)</p>
</td>
</tr>
</table>
<a name="InterfacesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Summary</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></td>
<td class="imsum_right"><p>must be implemented to make it possible to resolve cyclic object
 references ( i.e. between an implementation of
 ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a>
 - which may hold property change listeners - and
 ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertyChangeListener.html">XPropertyChangeListener</a>
 - which may hold the property set ).

 (<a href="#XComponent">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XResultSetMetaDataSupplier.html">XResultSetMetaDataSupplier</a></td>
<td class="imsum_right"><p>provides access to the result set meta data. Meta data are for
 example the number of columns of the result set, information
 on the data types of columns, column names, and more.

 (<a href="#XResultSetMetaDataSupplier">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XResultSet.html">XResultSet</a></td>
<td class="imsum_right"><p>enables travelling through the result set members ( the contents ).
 This interface mainly provides a cursor for the result set.

 (<a href="#XResultSet">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XRow.html">XRow</a></td>
<td class="imsum_right"><p>provides access to data of the content the cursor is pointing to.

 (<a href="#XRow">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XCloseable.html">XCloseable</a></td>
<td class="imsum_right"><p>makes it possible to abort running activities ( i.e. to cancel
 retrieving data from a server ).

 (<a href="#XCloseable">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a></td>
<td class="imsum_right"><p>holds properties of the resultset.

 (<a href="#XPropertySet">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XContentAccess.html">XContentAccess</a></td>
<td class="imsum_right"><p>provides access to the content identifier and the content object
 itself.

 (<a href="#XContentAccess">details</a>)</p>
</td>
</tr>
</table>
<a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Properties' Summary</td>
</tr>
<tr>
<td class="imsum_left">long<br>
<a href="#CursorTravelMode">CursorTravelMode</a></td>
<td class="imsum_right"><b>[ OPTIONAL ]<br>
</b>controls the travel mode of the resultset cursor.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left">[ readonly ] long<br>
<a href="#RowCount">RowCount</a></td>
<td class="imsum_right">contains the number of rows obtained (so far) from the data source. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left">[ readonly ] boolean<br>
<a href="#IsRowCountFinal">IsRowCountFinal</a></td>
<td class="imsum_right">indicates that all rows of te resultset have been obtained. &nbsp;</td>
</tr>
</table>
<a name="ServicesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Included Services - Details</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="ResultSet" class="membertitle">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/ResultSet.html">ResultSet</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>can be implemented to provide a complete JDBC conform result set
 interface for the implementation of this service.

 </dd>
<dd><p>The implememtation of this service is optional.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a name="InterfacesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Details</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XComponent" class="membertitle">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>must be implemented to make it possible to resolve cyclic object
 references ( i.e. between an implementation of
 ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a>
 - which may hold property change listeners - and
 ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertyChangeListener.html">XPropertyChangeListener</a>
 - which may hold the property set ).

 </dd>
<dd><p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XResultSetMetaDataSupplier" class="membertitle">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XResultSetMetaDataSupplier.html">XResultSetMetaDataSupplier</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>provides access to the result set meta data. Meta data are for
 example the number of columns of the result set, information
 on the data types of columns, column names, and more.

 </dd>
<dd><p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XResultSet" class="membertitle">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XResultSet.html">XResultSet</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>enables travelling through the result set members ( the contents ).
 This interface mainly provides a cursor for the result set.

 </dd>
<dd><p>Note that every method of this interface implementation additionally
 may throw a <a href="ResultSetException.html">ResultSetException</a> ( which is derived from
 ::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/SQLException.html">SQLException</a> to be compatible
 to that interface ). The new exception transports another exception,
 which indicates the reason for the failure of the method call.

 <p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XRow" class="membertitle">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XRow.html">XRow</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>provides access to data of the content the cursor is pointing to.

 </dd>
<dd><p>Note that every method of this interface implementation additionally
 may throw a <a href="ResultSetException.html">ResultSetException</a> ( which is derived from
 ::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/SQLException.html">SQLException</a> to be compatible
 to that interface ). The new exception transports another exception,
 which indicates the reason for the failure of the method call.

 <p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XCloseable" class="membertitle">::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/XCloseable.html">XCloseable</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>makes it possible to abort running activities ( i.e. to cancel
 retrieving data from a server ).

 </dd>
<dd><p>Note that every method of this interface implementation additionally
 may throw a <a href="ResultSetException.html">ResultSetException</a> ( which is derived from
 ::com::sun::star::<a href="../sdbc/module-ix.html">sdbc</a>::<a href="../sdbc/SQLException.html">SQLException</a> to be compatible
 to that interface ). The new exception transports another exception,
 which indicates the reason for the failure of the method call.

 <p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XPropertySet" class="membertitle">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>holds properties of the resultset.

 </dd>
<dd><p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XContentAccess" class="membertitle"><a href="XContentAccess.html">XContentAccess</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>provides access to the content identifier and the content object
 itself.

 </dd>
<dd><p>This interface is required.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Properties' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="CursorTravelMode" class="membertitle">CursorTravelMode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>long <b>CursorTravelMode</b>;<hr>
<dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>controls the travel mode of the resultset cursor.

 </dd>
<dd><p>There are two possible travel modes:

 <p><table border=1>
 <tr><td><a href="#BLOCKING">BLOCKING</a></td>
 <td>Each travel method of the resultset will not return until the
 data for the new position were retrieved.</td></tr>
 <tr><td><a href="#NONBLOCKING">NONBLOCKING</a></td>
 <td>The implementation will throw a
 <code>CursorWouldBlockException</code>, if the data for the new
 position are not retrieved yet.</td></tr>
 </table>

 <p>The following pseudo-code illustrates the usage of a non-blocking
 cursor:

 <p><pre>
 bProcessedAllRows = false
 while ( !bProcessedAllRows )
 {
 cursor.setPropertyValue( "CursorTravelMode", BLOCKING )

 cursor.travelSomeWhere()
 collectRowData()

 cursor.setPropertyValue( "CursorTravelMode", NONBLOCKING )

 bGoOn = true;
 while ( bGoOn )
 {
 try
 {
 cursor.travelSomeWhere()
 collectRowData()
 }
 catch ( CursorWouldBlockException )
 {
 // No more data at the moment.
 bGoOn = false
 }
 }

 doSomethingWithCollectedRowData()

 bProcessedAllRows = ...
 }
 </pre>

 <p>
 If this property is not supported, the implementation needs to provide
 a blocking cursor.
 </p>

 <p>
 The implementation initially needs to set the value of this property
 to <a href="#BLOCKING">BLOCKING</a>.
 </p>

 </dd>
<dt><b>See also</b></dt>
<dd><a href="#CursorTravelMode">CursorTravelMode</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="RowCount" class="membertitle">RowCount</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>[ readonly ] long <b>RowCount</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>contains the number of rows obtained (so far) from the data source. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="IsRowCountFinal" class="membertitle">IsRowCountFinal</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>[ readonly ] boolean <b>IsRowCountFinal</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>indicates that all rows of te resultset have been obtained. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>