Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 829F8107F0 for ; Mon, 17 Jun 2013 19:22:17 +0000 (UTC) Received: (qmail 63748 invoked by uid 500); 17 Jun 2013 19:22:17 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 63665 invoked by uid 500); 17 Jun 2013 19:22:17 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 63657 invoked by uid 99); 17 Jun 2013 19:22:17 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 19:22:17 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 19:22:16 +0000 Date: Mon, 17 Jun 2013 16:22:12 -0300 From: Ariel Constenla-Haile To: dev@openoffice.apache.org Subject: Re: XRowUpdate interface in service ResultSet Message-ID: <20130617192212.GA21047@localhost> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Rajath, On Mon, Jun 17, 2013 at 10:28:56PM +0530, Rajath Shashidhara wrote: > Hello, >=20 > I have a few questions here: >=20 > XRowUpdate has a few methods like update(int columnindex, > variable). >=20 > This is similar to "setPropertyValues" command. Should these command be > linked to the execute() - "setPropertyValues" command? > Or should this even be implemented? Although the API documentation says that css.ucb.ContentResultSet "includes" the service css.sdbc.ResultSet, which "exportes" the css.sdbc.XRowUpdate interface, you do not have to implement this interface; look at this as a documentation bug. You just have to implement the interfaces listed under "Exported Interfaces" in http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/ContentResul= tSet.html see ucbhelper::ResultSet ucbhelper/inc/ucbhelper/resultset.hxx class UCBHELPER_DLLPUBLIC ResultSet : public cppu::OWeakObject, public com::sun::star::lang::XTypeProvider, public com::sun::star::lang::XServiceInfo, public com::sun::star::lang::XComponent, public com::sun::star::ucb::XContentAccess, public com::sun::star::sdbc::XResultSet, public com::sun::star::sdbc::XResultSetMetaDataSupplier, public com::sun::star::sdbc::XRow, public com::sun::star::sdbc::XCloseable, public com::sun::star::beans::XPropertySet Regards --=20 Ariel Constenla-Haile La Plata, Argentina --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAEBCAAGBQJRv2HkAAoJEMjP1bm45QNW6/sP/2fj8okWJuOkgBCl3aJG5OLf vZ0kHiyid+fLcD5ymnXwXSUe71e4nMn22tOEkZQeE9FGzw+U1W3ANKoTtJ0XJEZC eQ8Gm/vuVK4n2gGNPyjc19wsJ2q9Ra+58+r+6QD6BY3jMcd3o5uBIVx0SQ1qppa2 ovk9N2lDPQAkhg2efAeAarmSthl1NZ8CqF+kUWCSgYXOI535mf1g0sILcDikfnDV Gt7ssmSyjGOhXKmjK3R/mZKETG3v0k3FVMZ8xtPvRyg1PW7xCj1dGvC9FC7knskW ix7u/A5TeWcuqZtf2/fDTDizWktUtMwql0hG0OO4ZdiLzcsgNDnDXtCqisNV8BXz feTz6i3M9K6gB9mzdltEQFKhTdEuojpma9PmGQXwdGpqAD5BYgnbq4Qid+ILSVoh xwtqqXPnfwavc6wGfvcjBVW9MIYqynODidoBAO+QZxCLEjsS0ez5mg6Jbq8TFY8C j5qx1Gfejqf9amlTrdUmpntb0y4uu22OtflMI0E5Bii/t4RHRgAskUBx/yun2Y0z DVwkKJDKolU6Klye4RWxKjDj07NsRKH/UpL9Ititr53ucJlgZ/tDVwakot6nNrdz zXyeZvsmUCDwcbccnImFOzUegNSum+z1Fv8HYD2V/S7HxXqjDHxdHMBtjdT1nLAz sBjf9be8dOKikjm1cSHp =d/sZ -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--