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

#include <commanddefinition.hxx>

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

Public Member Functions

 OCommandDefinition (const css::uno::Reference< css::uno::XComponentContext > &, const css::uno::Reference< css::uno::XInterface > &_xParentContainer, const TContentPtr &_pImpl)
 
 OCommandDefinition (const css::uno::Reference< css::uno::XInterface > &_rxContainer, const OUString &_rElementName, const css::uno::Reference< css::uno::XComponentContext > &, const TContentPtr &_pImpl)
 
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 void SAL_CALL rename (const OUString &newName) override
 
virtual void SAL_CALL setPropertyValue (const OUString &p1, const css::uno::Any &p2) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &p1) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XPropertyChangeListener > &p2) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XPropertyChangeListener > &p2) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XVetoableChangeListener > &p2) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XVetoableChangeListener > &p2) 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 > &p1) override
 
virtual void SAL_CALL removeContentEventListener (const css::uno::Reference< css::ucb::XContentEventListener > &p1) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &p1) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &p1) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
- Public Member Functions inherited from dbaccess::OComponentDefinition
 OComponentDefinition (const css::uno::Reference< css::uno::XComponentContext > &, const css::uno::Reference< css::uno::XInterface > &_xParentContainer, const TContentPtr &_pImpl, bool _bTable=true)
 
 OComponentDefinition (const css::uno::Reference< css::uno::XInterface > &_rxContainer, const OUString &_rElementName, const css::uno::Reference< css::uno::XComponentContext > &, const TContentPtr &_pImpl, bool _bTable=true)
 
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 void SAL_CALL initialize (css::uno::Sequence< css::uno::Any > const &rArguments) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getColumns () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual rtl::Reference< OColumncreateColumn (const OUString &_rName) const override
 creates an OColumn object which should represent the column with a given name More...
 
virtual css::uno::Reference< css::beans::XPropertySetcreateColumnDescriptor () override
 creates a column descriptor object. More...
 
virtual void columnAppended (const css::uno::Reference< css::beans::XPropertySet > &_rxSourceDescriptor) override
 notifies that a column, created from a column descriptor, has been appended More...
 
virtual void columnDropped (const OUString &_sName) override
 notifies that a column with a given name has been dropped More...
 
void notifyDataSourceModified ()
 
- 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 ContentPropertiesgetContentProperties () 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 TContentPtrgetImpl () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
virtual rtl::Reference< OColumncreateColumn (const OUString &_rName) const =0
 creates an OColumn object which should represent the column with a given name More...
 
virtual css::uno::Reference< css::beans::XPropertySetcreateColumnDescriptor ()=0
 creates a column descriptor object. More...
 
virtual void columnAppended (const css::uno::Reference< css::beans::XPropertySet > &_rxSourceDescriptor)=0
 notifies that a column, created from a column descriptor, has been appended More...
 
virtual void columnDropped (const OUString &_sName)=0
 notifies that a column with a given name has been dropped More...
 
- 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
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OComponentDefinition >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 
- Public Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
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 comphelper::OPropertyArrayUsageHelper< class TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ~OCommandDefinition () override
 
- Protected Member Functions inherited from dbaccess::OComponentDefinition
virtual ~OComponentDefinition () override
 
virtual void SAL_CALL disposing () override
 
const OComponentDefinition_ImplgetDefinition () const
 
OComponentDefinition_ImplgetDefinition ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual OUString determineContentType () const override
 
- 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 dbaccess::ODataSettings
 ODataSettings (::cppu::OBroadcastHelper &_rBHelper, bool _bQuery=false)
 
virtual void getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const override
 
void registerPropertiesFor (ODataSettings_Base *_pItem)
 register the properties from the param given. More...
 
- Protected Member Functions inherited from comphelper::OPropertyStateContainer
 OPropertyStateContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
css::beans::PropertyState getPropertyStateByHandle (sal_Int32 _nHandle) const
 
void setPropertyToDefaultByHandle (sal_Int32 _nHandle)
 
virtual void getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const=0
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
sal_Int32 getHandleForName (const OUString &_rPropertyName)
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
- Protected Member Functions inherited from dbaccess::ODataSettings_Base
 ODataSettings_Base ()
 
 ODataSettings_Base (const ODataSettings_Base &_rSource)=delete
 
 ~ODataSettings_Base ()
 
- Protected Member Functions inherited from dbaccess::IColumnFactory
 ~IColumnFactory ()
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 
- Protected Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
 ~ImplHelper2 () SAL_NOEXCEPT
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const=0
 

Private Member Functions

void registerProperties ()
 

Additional Inherited Members

- Public Attributes inherited from dbaccess::ODataSettings_Base
OUString m_sFilter
 
OUString m_sHavingClause
 
OUString m_sGroupBy
 
OUString m_sOrder
 
bool m_bApplyFilter
 
bool m_bAutoGrow
 
css::awt::FontDescriptor m_aFont
 
css::uno::Any m_aRowHeight
 
css::uno::Any m_aTextColor
 
css::uno::Any m_aTextLineColor
 
sal_Int16 m_nFontEmphasis
 
sal_Int16 m_nFontRelief
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OComponentDefinition >
static std::mutextheMutex ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static std::mutextheMutex ()
 
- Protected Attributes inherited from dbaccess::OContentHelper
::comphelper::OInterfaceContainerHelper3< css::ucb::XContentEventListener > m_aContentListeners
 
PropertyChangeListenerContainer m_aPropertyChangeListeners
 
css::uno::Reference< css::uno::XInterface > m_xParentContainer
 
const css::uno::Reference< css::uno::XComponentContext > m_aContext
 
const ::connectivity::SQLError m_aErrorHelper
 
TContentPtr m_pImpl
 
sal_uInt32 m_nCommandId
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OComponentDefinition >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 52 of file commanddefinition.hxx.

Constructor & Destructor Documentation

◆ ~OCommandDefinition()

dbaccess::OCommandDefinition::~OCommandDefinition ( )
overrideprotectedvirtual

Definition at line 66 of file commanddefinition.cxx.

◆ OCommandDefinition() [1/2]

dbaccess::OCommandDefinition::OCommandDefinition ( const css::uno::Reference< css::uno::XComponentContext > &  ,
const css::uno::Reference< css::uno::XInterface > &  _xParentContainer,
const TContentPtr _pImpl 
)

◆ OCommandDefinition() [2/2]

dbaccess::OCommandDefinition::OCommandDefinition ( const css::uno::Reference< css::uno::XInterface > &  _rxContainer,
const OUString &  _rElementName,
const css::uno::Reference< css::uno::XComponentContext > &  ,
const TContentPtr _pImpl 
)

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addContentEventListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::addContentEventListener ( const css::uno::Reference< css::ucb::XContentEventListener > &  p1)
inlineoverridevirtual

◆ addEventListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  p1)
inlineoverridevirtual

Definition at line 107 of file commanddefinition.hxx.

◆ addPropertyChangeListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::addPropertyChangeListener ( const OUString &  p1,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  p2 
)
inlineoverridevirtual

Definition at line 89 of file commanddefinition.hxx.

◆ addVetoableChangeListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::addVetoableChangeListener ( const OUString &  p1,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  p2 
)
inlineoverridevirtual

Definition at line 93 of file commanddefinition.hxx.

◆ createArrayHelper()

cppu::IPropertyArrayHelper * dbaccess::OCommandDefinition::createArrayHelper ( ) const
overridevirtual

◆ dispose()

virtual void SAL_CALL dbaccess::OCommandDefinition::dispose ( void  )
inlineoverridevirtual

Definition at line 105 of file commanddefinition.hxx.

◆ getContentType()

virtual OUString SAL_CALL dbaccess::OCommandDefinition::getContentType ( )
inlineoverridevirtual

Reimplemented from dbaccess::OContentHelper.

Definition at line 99 of file commanddefinition.hxx.

References dbaccess::OContentHelper::getContentType().

◆ getIdentifier()

virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL dbaccess::OCommandDefinition::getIdentifier ( )
inlineoverridevirtual

Reimplemented from dbaccess::OContentHelper.

Definition at line 97 of file commanddefinition.hxx.

References dbaccess::OContentHelper::getIdentifier().

◆ getImplementationId()

css::uno::Sequence< sal_Int8 > dbaccess::OCommandDefinition::getImplementationId ( )
overridevirtual

Reimplemented from cppu::ImplHelper2< class Ifc1, class Ifc2 >.

Definition at line 79 of file commanddefinition.cxx.

◆ getImplementationName()

OUString SAL_CALL dbaccess::OCommandDefinition::getImplementationName ( )
overridevirtual

Reimplemented from dbaccess::OComponentDefinition.

Definition at line 109 of file commanddefinition.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & dbaccess::OCommandDefinition::getInfoHelper ( )
overridevirtual

◆ getPropertySetInfo()

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL dbaccess::OCommandDefinition::getPropertySetInfo ( )
overridevirtual

Reimplemented from dbaccess::OComponentDefinition.

Definition at line 92 of file commanddefinition.cxx.

◆ getPropertyValue()

virtual css::uno::Any SAL_CALL dbaccess::OCommandDefinition::getPropertyValue ( const OUString &  p1)
inlineoverridevirtual

Definition at line 87 of file commanddefinition.hxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL dbaccess::OCommandDefinition::getSupportedServiceNames ( )
overridevirtual

Reimplemented from dbaccess::OComponentDefinition.

Definition at line 114 of file commanddefinition.cxx.

◆ getTypes()

css::uno::Sequence< css::uno::Type > dbaccess::OCommandDefinition::getTypes ( )
overridevirtual

◆ registerProperties()

void dbaccess::OCommandDefinition::registerProperties ( )
private

◆ removeContentEventListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::removeContentEventListener ( const css::uno::Reference< css::ucb::XContentEventListener > &  p1)
inlineoverridevirtual

◆ removeEventListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  p1)
inlineoverridevirtual

Definition at line 109 of file commanddefinition.hxx.

◆ removePropertyChangeListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::removePropertyChangeListener ( const OUString &  p1,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  p2 
)
inlineoverridevirtual

Definition at line 91 of file commanddefinition.hxx.

◆ removeVetoableChangeListener()

virtual void SAL_CALL dbaccess::OCommandDefinition::removeVetoableChangeListener ( const OUString &  p1,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  p2 
)
inlineoverridevirtual

Definition at line 95 of file commanddefinition.hxx.

◆ rename()

void SAL_CALL dbaccess::OCommandDefinition::rename ( const OUString &  newName)
overridevirtual

◆ setPropertyValue()

virtual void SAL_CALL dbaccess::OCommandDefinition::setPropertyValue ( const OUString &  p1,
const css::uno::Any &  p2 
)
inlineoverridevirtual

Definition at line 85 of file commanddefinition.hxx.


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