26#include <com/sun/star/beans/XPropertySet.hpp>
27#include <com/sun/star/container/XContainerListener.hpp>
28#include <com/sun/star/container/XNameContainer.hpp>
29#include <com/sun/star/uno/Sequence.hxx>
30#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp>
31#include <com/sun/star/sdbcx/XAppend.hpp>
32#include <com/sun/star/sdbcx/XDrop.hpp>
33#include <com/sun/star/sdbc/XConnection.hpp>
34#include <com/sun/star/container/XContainerApproveListener.hpp>
40 class WarningsContainer;
47 , css::container::XContainerApproveListener
48 , css::sdbcx::XDataDescriptorFactory
59 css::uno::Reference< css::container::XNameContainer >
61 css::uno::Reference< css::sdbc::XConnection >
80 virtual css::uno::Reference< css::ucb::XContent >
createObject(
const OUString& _rName)
override;
84 virtual void SAL_CALL
disposing()
override;
99 const css::uno::Reference< css::container::XNameContainer >& _rxCommandDefinitions,
100 const css::uno::Reference< css::sdbc::XConnection >& _rxConn,
101 const css::uno::Reference< css::uno::XComponentContext >& _rxORB,
109 const css::uno::Reference< css::container::XNameContainer >& _rxCommandDefinitions,
110 const css::uno::Reference< css::sdbc::XConnection >& _rxConn,
111 const css::uno::Reference< css::uno::XComponentContext >& _rxORB,
116 DECLARE_XTYPEPROVIDER( )
120 virtual
void SAL_CALL
elementInserted( const css::container::ContainerEvent& Event ) override;
121 virtual
void SAL_CALL
elementRemoved( const css::container::ContainerEvent& Event ) override;
122 virtual
void SAL_CALL
elementReplaced( const css::container::ContainerEvent& Event ) override;
125 virtual css::
uno::Reference< css::util::XVeto > SAL_CALL
approveInsertElement( const css::container::ContainerEvent& Event ) override;
126 virtual css::
uno::Reference< css::util::XVeto > SAL_CALL
approveReplaceElement( const css::container::ContainerEvent& Event ) override;
127 virtual css::
uno::Reference< css::util::XVeto > SAL_CALL
approveRemoveElement( const css::container::ContainerEvent& Event ) override;
130 virtual
void SAL_CALL
disposing( const css::lang::EventObject& Source ) override;
136 virtual
void SAL_CALL
appendByDescriptor( const css::
uno::Reference< css::beans::XPropertySet >& descriptor ) override;
139 virtual
void SAL_CALL
dropByName( const OUString& elementName ) override;
140 virtual
void SAL_CALL
dropByIndex( sal_Int32 index ) override;
145 virtual sal_Int32 SAL_CALL
getCount( ) override;
OQueryContainer & m_rActor
OAutoActionReset(OQueryContainer &_rActor)
virtual sal_Bool SAL_CALL hasElements() override
static rtl::Reference< OQueryContainer > create(const css::uno::Reference< css::container::XNameContainer > &_rxCommandDefinitions, const css::uno::Reference< css::sdbc::XConnection > &_rxConn, const css::uno::Reference< css::uno::XComponentContext > &_rxORB, ::dbtools::WarningsContainer *_pWarnings)
css::uno::Reference< css::container::XNameContainer > m_xCommandDefinitions
virtual void SAL_CALL dropByName(const OUString &elementName) override
virtual bool checkExistence(const OUString &_rName) override
quickly checks if there already is an element with a given name.
virtual css::uno::Reference< css::ucb::XContent > createObject(const OUString &_rName) override
create an object from its persistent data within the configuration.
virtual void SAL_CALL appendByDescriptor(const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
css::uno::Reference< css::ucb::XContent > implCreateWrapper(const OUString &_rName)
create a query object wrapping a CommandDefinition given by name.
virtual ~OQueryContainer() override
virtual css::uno::Reference< css::util::XVeto > SAL_CALL approveRemoveElement(const css::container::ContainerEvent &Event) override
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor() override
virtual void SAL_CALL disposing() override
css::uno::Reference< css::sdbc::XConnection > m_xConnection
virtual void SAL_CALL elementInserted(const css::container::ContainerEvent &Event) override
virtual css::uno::Reference< css::util::XVeto > SAL_CALL approveReplaceElement(const css::container::ContainerEvent &Event) override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL elementRemoved(const css::container::ContainerEvent &Event) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual void SAL_CALL elementReplaced(const css::container::ContainerEvent &Event) override
virtual void SAL_CALL dropByIndex(sal_Int32 index) override
virtual OUString determineContentType() const override
AggregateAction m_eDoingCurrently
::dbtools::WarningsContainer * m_pWarnings
OQueryContainer(const css::uno::Reference< css::container::XNameContainer > &_rxCommandDefinitions, const css::uno::Reference< css::sdbc::XConnection > &_rxConn, const css::uno::Reference< css::uno::XComponentContext > &_rxORB, ::dbtools::WarningsContainer *_pWarnings)
ctor of the container.
virtual css::uno::Reference< css::util::XVeto > SAL_CALL approveInsertElement(const css::container::ContainerEvent &Event) override
::cppu::ImplHelper5< css::container::XContainerListener, css::container::XContainerApproveListener, css::sdbcx::XDataDescriptorFactory, css::sdbcx::XAppend, css::sdbcx::XDrop > OQueryContainer_Base
#define DECLARE_XINTERFACE()