Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sdb :: tools ::

unpublished interface XViewAccess
Base Interfaces
XViewAccessXConnectionSupplier
   ┗ ::com::sun::star::lang::XInitialization

XConnectionSupplier
(referenced interface's summary:)
allows to access the active connection
Usage Restrictions
not published
Description
allows to fetch and to change the sql statements of views
Since
OOo 3.3
See also
::com::sun::star::sdb::DataSource::Settings, ::com::sun::star::sdbcx::View

Methods' Summary
getCommand returns the SQL statement of the view  
alterCommand allows to alter the SQL statement of a view  
Methods' Details
getCommand
string
getCommand( [in] ::com::sun::star::beans::XPropertySet  view )
raises( ::com::sun::star::sdbc::SQLException );

Description
returns the SQL statement of the view
Parameter view
the table to be renamed
Throws
com::sun::star::sdbc::SQLException
alterCommand
void
alterCommand( [in] ::com::sun::star::beans::XPropertySet  view,
[in] string  command )
raises( ::com::sun::star::sdbc::SQLException );

Description
allows to alter the SQL statement of a view
Parameter view
the view to be altered
Parameter command
the new SQL statement
Throws
com::sun::star::sdbc::SQLException
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.