21#include <com/sun/star/sdb/XSQLQueryComposer.hpp>
22#include <com/sun/star/sdb/XParametersSupplier.hpp>
23#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
24#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
25#include <com/sun/star/lang/XServiceInfo.hpp>
30#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
36 css::sdb::XParametersSupplier,
37 css::sdbcx::XTablesSupplier,
38 css::sdbcx::XColumnsSupplier,
49 css::uno::Reference< css::sdb::XSingleSelectQueryComposer>
m_xComposer;
53 virtual void SAL_CALL
disposing()
override;
57 OQueryComposer(
const css::uno::Reference< css::sdbc::XConnection>& _xConnection );
60 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
override;
64 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
65 virtual void SAL_CALL
acquire() noexcept override;
66 virtual
void SAL_CALL
release() noexcept override;
72 virtual OUString SAL_CALL
getQuery( ) override;
73 virtual
void SAL_CALL
setQuery( const OUString& command ) override;
75 virtual OUString SAL_CALL
getFilter( ) override;
77 virtual OUString SAL_CALL
getOrder( ) override;
78 virtual
void SAL_CALL
appendFilterByColumn( const css::
uno::Reference< css::beans::XPropertySet >& column ) override;
81 virtual
void SAL_CALL
setOrder( const OUString& order ) override;
83 virtual css::
uno::Reference< css::container::XNameAccess > SAL_CALL
getTables( ) override;
85 virtual css::
uno::Reference< css::container::XNameAccess > SAL_CALL
getColumns( ) override;
87 virtual css::
uno::Reference< css::container::XIndexAccess > SAL_CALL
getParameters( ) override;
std::vector< OUString > m_aFilters
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > m_xComposerHelper
virtual OUString SAL_CALL getQuery() override
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getStructuredFilter() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setQuery(const OUString &command) override
virtual void SAL_CALL setFilter(const OUString &filter) override
virtual OUString SAL_CALL getFilter() override
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getColumns() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL acquire() noexcept override
virtual ~OQueryComposer() override
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > m_xComposer
virtual OUString SAL_CALL getComposedQuery() override
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTables() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL setOrder(const OUString &order) override
OQueryComposer(const css::uno::Reference< css::sdbc::XConnection > &_xConnection)
std::vector< OUString > m_aOrders
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL appendOrderByColumn(const css::uno::Reference< css::beans::XPropertySet > &column, sal_Bool ascending) override
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL appendFilterByColumn(const css::uno::Reference< css::beans::XPropertySet > &column) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getParameters() override
virtual OUString SAL_CALL getOrder() override
virtual void SAL_CALL disposing() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
::cppu::ImplHelper5< css::sdb::XSQLQueryComposer, css::sdb::XParametersSupplier, css::sdbcx::XTablesSupplier, css::sdbcx::XColumnsSupplier, css::lang::XServiceInfo > OQueryComposer_BASE