|
LibreOffice Module dbaccess (master) 1
|
#include <commandcontainer.hxx>
Public Member Functions | |
| OCommandContainer (const css::uno::Reference< css::uno::XComponentContext > &_xORB, const css::uno::Reference< css::uno::XInterface > &_xParentContainer, const TContentPtr &_pImpl, bool _bTables) | |
| constructs the container. More... | |
| virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
| virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
| virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | createInstance () override |
| virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | createInstanceWithArguments (const css::uno::Sequence< css::uno::Any > &aArguments) override |
Public Member Functions inherited from dbaccess::ODefinitionContainer | |
| ODefinitionContainer (const css::uno::Reference< css::uno::XComponentContext > &_xORB, const css::uno::Reference< css::uno::XInterface > &_xParentContainer, const TContentPtr &_pImpl, bool _bCheckSlash=true) | |
| constructs the container. More... | |
| virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
| virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
| virtual OUString SAL_CALL | getImplementationName () override |
| virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
| virtual css::uno::Type SAL_CALL | getElementType () override |
| virtual sal_Bool SAL_CALL | hasElements () override |
| virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
| virtual sal_Int32 SAL_CALL | getCount () override |
| virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 _nIndex) override |
| virtual void SAL_CALL | insertByName (const OUString &_rName, const css::uno::Any &aElement) override |
| virtual void SAL_CALL | removeByName (const OUString &_rName) override |
| virtual void SAL_CALL | replaceByName (const OUString &_rName, const css::uno::Any &aElement) override |
| virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
| virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
| virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
| virtual void SAL_CALL | addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override |
| virtual void SAL_CALL | removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override |
| virtual void SAL_CALL | addContainerApproveListener (const css::uno::Reference< css::container::XContainerApproveListener > &Listener) override |
| virtual void SAL_CALL | removeContainerApproveListener (const css::uno::Reference< css::container::XContainerApproveListener > &Listener) override |
| virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
| virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &evt) override |
| virtual void SAL_CALL | vetoableChange (const css::beans::PropertyChangeEvent &aEvent) override |
Public Member Functions inherited from dbaccess::OContentHelper | |
| OContentHelper (const css::uno::Reference< css::uno::XComponentContext > &_xORB, const css::uno::Reference< css::uno::XInterface > &_xParentContainer, TContentPtr _pImpl) | |
| virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
| virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
| virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
| virtual OUString SAL_CALL | getImplementationName () override |
| virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL | getIdentifier () override |
| virtual OUString SAL_CALL | getContentType () override |
| virtual void SAL_CALL | addContentEventListener (const css::uno::Reference< css::ucb::XContentEventListener > &Listener) override |
| virtual void SAL_CALL | removeContentEventListener (const css::uno::Reference< css::ucb::XContentEventListener > &Listener) override |
| virtual sal_Int32 SAL_CALL | createCommandIdentifier () override |
| virtual css::uno::Any SAL_CALL | execute (const css::ucb::Command &aCommand, sal_Int32 CommandId, const css::uno::Reference< css::ucb::XCommandEnvironment > &Environment) override |
| virtual void SAL_CALL | abort (sal_Int32 CommandId) override |
| virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override |
| virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override |
| virtual void SAL_CALL | addProperty (const OUString &Name, sal_Int16 Attributes, const css::uno::Any &DefaultValue) override |
| virtual void SAL_CALL | removeProperty (const OUString &Name) override |
| virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
| virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getParent () override |
| virtual void SAL_CALL | setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override |
| virtual void SAL_CALL | rename (const OUString &newName) override |
| const ContentProperties & | getContentProperties () const |
| css::uno::Reference< css::sdbc::XRow > | getPropertyValues (const css::uno::Sequence< css::beans::Property > &rProperties) |
| const css::uno::Reference< css::uno::XComponentContext > & | getContext () const |
| const TContentPtr & | getImpl () const |
Public Member Functions inherited from cppu::ImplHelper7< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7 > | |
| 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 |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
| 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 | ~OCommandContainer () override |
| virtual css::uno::Reference< css::ucb::XContent > | createObject (const OUString &_rName) override |
| create an object from its persistent data within the configuration. More... | |
| virtual OUString | determineContentType () const override |
Protected Member Functions inherited from dbaccess::ODefinitionContainer | |
| void | setElementApproval (PContainerApprove _pElementApproval) |
| Additionally to our own approvals which new elements must pass, derived classes can specify an additional approval instance here. More... | |
| const PContainerApprove & | getElementApproval () const |
| virtual | ~ODefinitionContainer () override |
| const ODefinitionContainer_Impl & | getDefinitions () const |
| ODefinitionContainer_Impl & | getDefinitions () |
| virtual void SAL_CALL | disposing () override |
| virtual css::uno::Reference< css::ucb::XContent > | createObject (const OUString &_rName)=0 |
| create an object from its persistent data within the configuration. More... | |
| css::uno::Reference< css::ucb::XContent > | implGetByName (const OUString &_rName, bool _bCreateIfNecessary) |
| get the object specified by the given name. More... | |
| virtual bool | checkExistence (const OUString &_rName) |
| quickly checks if there already is an element with a given name. More... | |
| void | implAppend (const OUString &_rName, const css::uno::Reference< css::ucb::XContent > &_rxNewObject) |
| append a new object to the container. More... | |
| void | implRemove (const OUString &_rName) |
| remove all references to an object from the container. More... | |
| void | implReplace (const OUString &_rName, const css::uno::Reference< css::ucb::XContent > &_rxNewObject) |
| remove an object in the container. More... | |
| void | notifyByName (::osl::ResettableMutexGuard &_rGuard, const OUString &_rName, const css::uno::Reference< css::ucb::XContent > &_xNewElement, const css::uno::Reference< css::ucb::XContent > &xOldElement, ContainerOperation _eOperation, ListenerType _eType) |
| notifies our container/approve listeners More... | |
| operator css::uno::Reference< css::uno::XInterface > () const | |
Protected Member Functions inherited from dbaccess::OContentHelper | |
| virtual void SAL_CALL | disposing () override |
| void | notifyDataSourceModified () |
| void | notifyPropertiesChange (const css::uno::Sequence< css::beans::PropertyChangeEvent > &evt) const |
| This method can be used to propagate changes of property values. More... | |
| OUString | impl_getHierarchicalName (bool _includingRootContainer) const |
| virtual OUString | determineContentType () const =0 |
Protected Member Functions inherited from cppu::ImplHelper7< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7 > | |
| ~ImplHelper7 () SAL_NOEXCEPT | |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
| ~ImplHelper1 () SAL_NOEXCEPT | |
Private Attributes | |
| bool | m_bTables |
Definition at line 35 of file commandcontainer.hxx.
| dbaccess::OCommandContainer::OCommandContainer | ( | const css::uno::Reference< css::uno::XComponentContext > & | _xORB, |
| const css::uno::Reference< css::uno::XInterface > & | _xParentContainer, | ||
| const TContentPtr & | _pImpl, | ||
| bool | _bTables | ||
| ) |
|
overrideprotectedvirtual |
Definition at line 50 of file commandcontainer.cxx.
|
overridevirtual |
Definition at line 85 of file commandcontainer.cxx.
References dbaccess::OContentHelper::m_aContext, and m_bTables.
Referenced by createInstanceWithArguments().
|
overridevirtual |
Definition at line 80 of file commandcontainer.cxx.
References createInstance().
|
overrideprotectedvirtual |
create an object from its persistent data within the configuration.
To be overwritten by derived classes.
| _rName | the name the object has within the container |
Implements dbaccess::ODefinitionContainer.
Definition at line 68 of file commandcontainer.cxx.
References dbaccess::ODefinitionContainer_Impl::end(), dbaccess::ODefinitionContainer_Impl::find(), dbaccess::ODefinitionContainer::getDefinitions(), dbaccess::OContentHelper::m_aContext, and m_bTables.
|
overrideprotectedvirtual |
Implements dbaccess::OContentHelper.
Definition at line 93 of file commandcontainer.cxx.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 63 of file commandcontainer.cxx.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 55 of file commandcontainer.cxx.
References dbaccess::ODefinitionContainer::getTypes(), and cppu::ImplHelper1< class Ifc1 >::getTypes().
|
private |
Definition at line 38 of file commandcontainer.hxx.
Referenced by createInstance(), and createObject().