LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbaccess::OQueryComposer Class Reference

#include <querycomposer.hxx>

Inheritance diagram for dbaccess::OQueryComposer:
[legend]
Collaboration diagram for dbaccess::OQueryComposer:
[legend]

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
 

Detailed Description

Definition at line 41 of file querycomposer.hxx.

Constructor & Destructor Documentation

◆ ~OQueryComposer()

OQueryComposer::~OQueryComposer ( )
overrideprotectedvirtual

Definition at line 59 of file querycomposer.cxx.

◆ OQueryComposer()

OQueryComposer::OQueryComposer ( const css::uno::Reference< css::sdbc::XConnection > &  _xConnection)

Member Function Documentation

◆ acquire()

void SAL_CALL OQueryComposer::acquire ( )
overridevirtualnoexcept

Definition at line 255 of file querycomposer.cxx.

◆ appendFilterByColumn()

void SAL_CALL OQueryComposer::appendFilterByColumn ( const css::uno::Reference< css::beans::XPropertySet > &  column)
overridevirtual

◆ appendOrderByColumn()

void SAL_CALL OQueryComposer::appendOrderByColumn ( const css::uno::Reference< css::beans::XPropertySet > &  column,
sal_Bool  ascending 
)
overridevirtual

◆ disposing()

void SAL_CALL OQueryComposer::disposing ( )
overrideprotectedvirtual

Definition at line 63 of file querycomposer.cxx.

References m_xComposer, and m_xComposerHelper.

◆ getColumns()

Reference< XNameAccess > SAL_CALL OQueryComposer::getColumns ( )
overridevirtual

Definition at line 239 of file querycomposer.cxx.

References cppu::BaseMutex::m_aMutex, and m_xComposer.

◆ getComposedQuery()

OUString SAL_CALL OQueryComposer::getComposedQuery ( )
overridevirtual

Definition at line 128 of file querycomposer.cxx.

References cppu::BaseMutex::m_aMutex, and m_xComposer.

◆ getFilter()

OUString SAL_CALL OQueryComposer::getFilter ( )
overridevirtual

◆ getImplementationId()

Sequence< sal_Int8 > SAL_CALL OQueryComposer::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString OQueryComposer::getImplementationName ( )
overridevirtual

Definition at line 89 of file querycomposer.cxx.

◆ getOrder()

OUString SAL_CALL OQueryComposer::getOrder ( )
overridevirtual

◆ getParameters()

Reference< XIndexAccess > SAL_CALL OQueryComposer::getParameters ( )
overridevirtual

Definition at line 247 of file querycomposer.cxx.

References cppu::BaseMutex::m_aMutex, and m_xComposer.

◆ getQuery()

OUString SAL_CALL OQueryComposer::getQuery ( )
overridevirtual

◆ getStructuredFilter()

Sequence< Sequence< PropertyValue > > SAL_CALL OQueryComposer::getStructuredFilter ( )
overridevirtual

Definition at line 146 of file querycomposer.cxx.

References cppu::BaseMutex::m_aMutex, and m_xComposer.

◆ getSupportedServiceNames()

Sequence< OUString > OQueryComposer::getSupportedServiceNames ( )
overridevirtual

Definition at line 99 of file querycomposer.cxx.

References SERVICE_SDB_SQLQUERYCOMPOSER.

◆ getTables()

Reference< XNameAccess > SAL_CALL OQueryComposer::getTables ( )
overridevirtual

Definition at line 230 of file querycomposer.cxx.

References cppu::BaseMutex::m_aMutex, and m_xComposer.

◆ getTypes()

Sequence< Type > SAL_CALL OQueryComposer::getTypes ( )
overridevirtual

◆ queryInterface()

Any SAL_CALL OQueryComposer::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ release()

void SAL_CALL OQueryComposer::release ( )
overridevirtualnoexcept

Reimplemented from OSubComponent.

Definition at line 260 of file querycomposer.cxx.

References OSubComponent::release().

◆ setFilter()

void SAL_CALL OQueryComposer::setFilter ( const OUString &  filter)
overridevirtual

◆ setOrder()

void SAL_CALL OQueryComposer::setOrder ( const OUString &  order)
overridevirtual

◆ setQuery()

void SAL_CALL OQueryComposer::setQuery ( const OUString &  command)
overridevirtual

◆ supportsService()

sal_Bool OQueryComposer::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 94 of file querycomposer.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aFilters

std::vector< OUString> dbaccess::OQueryComposer::m_aFilters
private

Definition at line 45 of file querycomposer.hxx.

Referenced by getFilter(), setFilter(), and setQuery().

◆ m_aOrders

std::vector< OUString> dbaccess::OQueryComposer::m_aOrders
private

Definition at line 46 of file querycomposer.hxx.

Referenced by getOrder(), and setOrder().

◆ m_sOrgFilter

OUString dbaccess::OQueryComposer::m_sOrgFilter
private

Definition at line 47 of file querycomposer.hxx.

Referenced by setFilter(), and setQuery().

◆ m_sOrgOrder

OUString dbaccess::OQueryComposer::m_sOrgOrder
private

Definition at line 48 of file querycomposer.hxx.

Referenced by setOrder(), and setQuery().

◆ m_xComposer

css::uno::Reference< css::sdb::XSingleSelectQueryComposer> dbaccess::OQueryComposer::m_xComposer
private

◆ m_xComposerHelper

css::uno::Reference< css::sdb::XSingleSelectQueryComposer> dbaccess::OQueryComposer::m_xComposerHelper
private

The documentation for this class was generated from the following files: