LibreOffice Module dbaccess (master) 1
|
#include <querycomposer.hxx>
Public Member Functions | |
OQueryComposer (const css::uno::Reference< css::sdbc::XConnection > &_xConnection) | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual OUString SAL_CALL | getQuery () override |
virtual void SAL_CALL | setQuery (const OUString &command) override |
virtual OUString SAL_CALL | getComposedQuery () override |
virtual OUString SAL_CALL | getFilter () override |
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL | getStructuredFilter () override |
virtual OUString SAL_CALL | getOrder () override |
virtual void SAL_CALL | appendFilterByColumn (const css::uno::Reference< css::beans::XPropertySet > &column) override |
virtual void SAL_CALL | appendOrderByColumn (const css::uno::Reference< css::beans::XPropertySet > &column, sal_Bool ascending) override |
virtual void SAL_CALL | setFilter (const OUString &filter) override |
virtual void SAL_CALL | setOrder (const OUString &order) override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getTables () override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getColumns () override |
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL | getParameters () override |
Public Member Functions inherited from OSubComponent | |
OSubComponent (::osl::Mutex &_rMutex, const css::uno::Reference< css::uno::XInterface > &_xParent) | |
virtual void SAL_CALL | release () noexcept override |
operator css::uno::Reference< css::uno::XInterface > () const | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Protected Member Functions | |
virtual void SAL_CALL | disposing () override |
virtual | ~OQueryComposer () override |
Protected Member Functions inherited from OSubComponent | |
virtual | ~OSubComponent () override |
Protected Member Functions inherited from cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 > | |
~ImplHelper5 () SAL_NOEXCEPT | |
Private Attributes | |
std::vector< OUString > | m_aFilters |
std::vector< OUString > | m_aOrders |
OUString | m_sOrgFilter |
OUString | m_sOrgOrder |
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > | m_xComposer |
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > | m_xComposerHelper |
Additional Inherited Members | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from OSubComponent | |
css::uno::Reference< css::uno::XInterface > | m_xParent |
Definition at line 41 of file querycomposer.hxx.
|
overrideprotectedvirtual |
Definition at line 59 of file querycomposer.cxx.
OQueryComposer::OQueryComposer | ( | const css::uno::Reference< css::sdbc::XConnection > & | _xConnection | ) |
Definition at line 49 of file querycomposer.cxx.
References m_aMutex, m_xComposer, m_xComposerHelper, and SERVICE_NAME_SINGLESELECTQUERYCOMPOSER.
|
overridevirtualnoexcept |
Definition at line 255 of file querycomposer.cxx.
|
overridevirtual |
Definition at line 164 of file querycomposer.cxx.
References dbaccess::TokenComposer::append(), dbaccess::TokenComposer::getComposedAndClear(), getFilter(), getQuery(), cppu::BaseMutex::m_aMutex, m_xComposerHelper, and setFilter().
|
overridevirtual |
Definition at line 180 of file querycomposer.cxx.
References dbaccess::TokenComposer::append(), dbaccess::TokenComposer::getComposedAndClear(), getOrder(), getQuery(), cppu::BaseMutex::m_aMutex, m_xComposerHelper, and setOrder().
|
overrideprotectedvirtual |
Definition at line 63 of file querycomposer.cxx.
References m_xComposer, and m_xComposerHelper.
|
overridevirtual |
Definition at line 239 of file querycomposer.cxx.
References cppu::BaseMutex::m_aMutex, and m_xComposer.
|
overridevirtual |
Definition at line 128 of file querycomposer.cxx.
References cppu::BaseMutex::m_aMutex, and m_xComposer.
|
overridevirtual |
Definition at line 137 of file querycomposer.cxx.
References dbaccess::TokenComposer::getComposedAndClear(), m_aFilters, and cppu::BaseMutex::m_aMutex.
Referenced by appendFilterByColumn().
|
overridevirtual |
Reimplemented from cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >.
Definition at line 75 of file querycomposer.cxx.
|
overridevirtual |
Definition at line 89 of file querycomposer.cxx.
|
overridevirtual |
Definition at line 154 of file querycomposer.cxx.
References dbaccess::TokenComposer::getComposedAndClear(), cppu::BaseMutex::m_aMutex, and m_aOrders.
Referenced by appendOrderByColumn().
|
overridevirtual |
Definition at line 247 of file querycomposer.cxx.
References cppu::BaseMutex::m_aMutex, and m_xComposer.
|
overridevirtual |
Definition at line 105 of file querycomposer.cxx.
References cppu::BaseMutex::m_aMutex, m_xComposer, and PROPERTY_ORIGINAL().
Referenced by appendFilterByColumn(), and appendOrderByColumn().
|
overridevirtual |
Definition at line 146 of file querycomposer.cxx.
References cppu::BaseMutex::m_aMutex, and m_xComposer.
|
overridevirtual |
Definition at line 99 of file querycomposer.cxx.
References SERVICE_SDB_SQLQUERYCOMPOSER.
|
overridevirtual |
Definition at line 230 of file querycomposer.cxx.
References cppu::BaseMutex::m_aMutex, and m_xComposer.
|
overridevirtual |
Reimplemented from cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >.
Definition at line 70 of file querycomposer.cxx.
References cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >::getTypes().
|
overridevirtual |
Reimplemented from cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >.
Definition at line 80 of file querycomposer.cxx.
References Any, and cppu::ImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from OSubComponent.
Definition at line 260 of file querycomposer.cxx.
References OSubComponent::release().
|
overridevirtual |
Definition at line 196 of file querycomposer.cxx.
References dbaccess::TokenComposer::append(), dbaccess::TokenComposer::getComposedAndClear(), m_aFilters, cppu::BaseMutex::m_aMutex, m_sOrgFilter, and m_xComposer.
Referenced by appendFilterByColumn().
|
overridevirtual |
Definition at line 212 of file querycomposer.cxx.
References dbaccess::TokenComposer::append(), dbaccess::TokenComposer::getComposedAndClear(), cppu::BaseMutex::m_aMutex, m_aOrders, m_sOrgOrder, and m_xComposer.
Referenced by appendOrderByColumn().
|
overridevirtual |
Definition at line 117 of file querycomposer.cxx.
References m_aFilters, cppu::BaseMutex::m_aMutex, m_sOrgFilter, m_sOrgOrder, and m_xComposer.
|
overridevirtual |
Definition at line 94 of file querycomposer.cxx.
References cppu::supportsService().
|
private |
Definition at line 45 of file querycomposer.hxx.
Referenced by getFilter(), setFilter(), and setQuery().
|
private |
Definition at line 46 of file querycomposer.hxx.
Referenced by getOrder(), and setOrder().
|
private |
Definition at line 47 of file querycomposer.hxx.
Referenced by setFilter(), and setQuery().
|
private |
Definition at line 48 of file querycomposer.hxx.
Referenced by setOrder(), and setQuery().
|
private |
Definition at line 49 of file querycomposer.hxx.
Referenced by disposing(), getColumns(), getComposedQuery(), getParameters(), getQuery(), getStructuredFilter(), getTables(), OQueryComposer(), setFilter(), setOrder(), and setQuery().
|
private |
Definition at line 50 of file querycomposer.hxx.
Referenced by appendFilterByColumn(), appendOrderByColumn(), disposing(), and OQueryComposer().