Hi Rajath,

On Mon, Jun 17, 2013 at 10:28:56PM +0530, Rajath Shashidhara wrote:
> Hello,
> 
> I have a few questions here:
> 
> XRowUpdate has a few methods like update<Type>(int columnindex, <type>
> variable).
> 
> 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/ContentResultSet.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
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpzRaMFjBrcj.pgp
Description: PGP signature

Reply via email to