LibreOffice Module dbaccess (master) 1
|
interface to an object to copy to another DB, using the OCopyTableWizard More...
#include <WCopyTable.hxx>
Public Member Functions | |
virtual OUString | getQualifiedObjectName () const =0 |
retrieves the fully qualified name of the object to copy More... | |
virtual bool | isView () const =0 |
determines whether the object is a view More... | |
virtual void | copyUISettingsTo (const css::uno::Reference< css::beans::XPropertySet > &_rxObject) const =0 |
copies the UI settings of the object to the given target object. More... | |
virtual css::uno::Sequence< OUString > | getColumnNames () const =0 |
retrieves the column names of the to-be-copied object More... | |
virtual css::uno::Sequence< OUString > | getPrimaryKeyColumnNames () const =0 |
retrieves the names of the primary keys of the to-be-copied object More... | |
virtual OFieldDescription * | createFieldDescription (const OUString &_rColumnName) const =0 |
creates a OFieldDescription for the given column of the to-be-copied object More... | |
virtual OUString | getSelectStatement () const =0 |
returns the SELECT statement which can be used to retrieve the data of the to-be-copied object More... | |
virtual void | copyFilterAndSortingTo (const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const css::uno::Reference< css::beans::XPropertySet > &_rxObject) const =0 |
copies the filter and sorting More... | |
virtual ::utl::SharedUNOComponent< css::sdbc::XPreparedStatement > | getPreparedSelectStatement () const =0 |
returns the prepared statement which can be used to retrieve the data of the to-be-copied object More... | |
virtual | ~ICopyTableSourceObject () |
interface to an object to copy to another DB, using the OCopyTableWizard
when the wizard is used to copy an object to another DB, it usually requires a sdbcx-level or sdb-level object (a css.sdbcx.Table or css.sdb.Query, that is).
However, to also support copying tables from sdbc-level connections, we allow to work with the object name only. This implies some less features (like copying the UI settings of a table is not done), but still allows to copy definition and data.
Definition at line 100 of file WCopyTable.hxx.
|
virtual |
Definition at line 90 of file WCopyTable.cxx.
|
pure virtual |
copies the filter and sorting
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
Referenced by dbaui::OCopyTableWizard::createTable().
|
pure virtual |
copies the UI settings of the object to the given target object.
Might be ignored by implementations which do not have Ui settings.
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
Referenced by dbaui::OCopyTableWizard::createTable().
|
pure virtual |
creates a OFieldDescription for the given column of the to-be-copied object
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
Referenced by dbaui::OCopyTableWizard::loadData().
|
pure virtual |
retrieves the column names of the to-be-copied object
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
Referenced by dbaui::OCopyTableWizard::createUniqueName(), and dbaui::OCopyTableWizard::loadData().
|
pure virtual |
returns the prepared statement which can be used to retrieve the data of the to-be-copied object
The default implementation of this method will simply prepare a statement with the return value of ->getSelectStatement.
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
|
pure virtual |
retrieves the names of the primary keys of the to-be-copied object
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
Referenced by dbaui::OCopyTableWizard::loadData().
|
pure virtual |
retrieves the fully qualified name of the object to copy
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
|
pure virtual |
returns the SELECT statement which can be used to retrieve the data of the to-be-copied object
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.
Referenced by dbaui::OCopyTableWizard::createView().
|
pure virtual |
determines whether the object is a view
Implemented in dbaui::ObjectCopySource, and dbaui::NamedTableCopySource.