29#include <com/sun/star/sdbc/XConnection.hpp>
30#include <com/sun/star/beans/XPropertySet.hpp>
31#include <com/sun/star/container/XContainerListener.hpp>
32#include <com/sun/star/container/XNameContainer.hpp>
39 class OContainerMediator;
54 virtual css::uno::Reference< css::beans::XPropertySet >
createDescriptor()
override;
56 virtual void dropObject(sal_Int32 _nPos,
const OUString& _sElementName)
override;
64 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source )
override;
66 virtual void SAL_CALL
elementInserted(
const css::container::ContainerEvent& Event )
override;
67 virtual void SAL_CALL
elementRemoved(
const css::container::ContainerEvent& Event )
override;
68 virtual void SAL_CALL
elementReplaced(
const css::container::ContainerEvent& Event )
override;
84 ::osl::Mutex& _rMutex,
85 const css::uno::Reference< css::sdbc::XConnection >& _xCon,
87 const css::uno::Reference< css::container::XNameContainer >& _xTableDefinitions,
89 std::atomic<std::size_t>& _nInAppend
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL release() noexcept override
virtual void addMasterContainerListener() override
virtual void SAL_CALL elementRemoved(const css::container::ContainerEvent &Event) override
virtual void SAL_CALL acquire() noexcept override
css::uno::Reference< css::container::XNameContainer > m_xTableDefinitions
virtual void disposing() override
tell the container to free all elements and all additional resources.
virtual connectivity::sdbcx::ObjectType appendObject(const OUString &_rForName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
virtual connectivity::sdbcx::ObjectType createObject(const OUString &_rName) override
virtual void removeMasterContainerListener() override
virtual void dropObject(sal_Int32 _nPos, const OUString &_sElementName) override
virtual void SAL_CALL release() noexcept override
::rtl::Reference< OContainerMediator > m_pTableMediator
OTableContainer(::cppu::OWeakObject &_rParent, ::osl::Mutex &_rMutex, const css::uno::Reference< css::sdbc::XConnection > &_xCon, bool _bCase, const css::uno::Reference< css::container::XNameContainer > &_xTableDefinitions, IRefreshListener *_pRefreshListener, std::atomic< std::size_t > &_nInAppend)
ctor of the container.
virtual ~OTableContainer() override
virtual void SAL_CALL elementInserted(const css::container::ContainerEvent &Event) override
virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor() override
virtual OUString getTableTypeRestriction() const override
returns a string denoting the only type of tables allowed in this container, or an empty string if th...
virtual void SAL_CALL elementReplaced(const css::container::ContainerEvent &Event) override
css::uno::Reference< css::beans::XPropertySet > ObjectType