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

#include <ContentHelper.hxx>

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

Public Member Functions

 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
 

Protected Member Functions

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 Attributes

::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
 

Private Member Functions

css::uno::Sequence< css::uno::Any > setPropertyValues (const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
void impl_rename_throw (const OUString &_sNewName, bool _bNotify=true)
 

Detailed Description

Definition at line 86 of file ContentHelper.hxx.

Constructor & Destructor Documentation

◆ OContentHelper()

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

Definition at line 65 of file ContentHelper.cxx.

References m_aMutex, and m_pImpl.

Member Function Documentation

◆ abort()

void SAL_CALL dbaccess::OContentHelper::abort ( sal_Int32  CommandId)
overridevirtual

Definition at line 257 of file ContentHelper.cxx.

◆ addContentEventListener()

void SAL_CALL dbaccess::OContentHelper::addContentEventListener ( const css::uno::Reference< css::ucb::XContentEventListener > &  Listener)
overridevirtual

◆ addPropertiesChangeListener()

void SAL_CALL dbaccess::OContentHelper::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  PropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  Listener 
)
overridevirtual

◆ addProperty()

void SAL_CALL dbaccess::OContentHelper::addProperty ( const OUString &  Name,
sal_Int16  Attributes,
const css::uno::Any &  DefaultValue 
)
overridevirtual

Definition at line 307 of file ContentHelper.cxx.

◆ createCommandIdentifier()

sal_Int32 SAL_CALL dbaccess::OContentHelper::createCommandIdentifier ( )
overridevirtual

Definition at line 172 of file ContentHelper.cxx.

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

◆ determineContentType()

virtual OUString dbaccess::OContentHelper::determineContentType ( ) const
protectedpure virtual

◆ disposing()

void SAL_CALL dbaccess::OContentHelper::disposing ( )
overrideprotectedvirtual

◆ execute()

Any SAL_CALL dbaccess::OContentHelper::execute ( const css::ucb::Command &  aCommand,
sal_Int32  CommandId,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  Environment 
)
overridevirtual

◆ getContentProperties()

const ContentProperties & dbaccess::OContentHelper::getContentProperties ( ) const
inline

Definition at line 163 of file ContentHelper.hxx.

References m_pImpl.

◆ getContentType()

OUString SAL_CALL dbaccess::OContentHelper::getContentType ( )
overridevirtual

◆ getContext()

const css::uno::Reference< css::uno::XComponentContext > & dbaccess::OContentHelper::getContext ( ) const
inline

Definition at line 167 of file ContentHelper.hxx.

References m_aContext.

Referenced by dbaccess::OInterceptor::dispatch().

◆ getIdentifier()

Reference< XContentIdentifier > SAL_CALL dbaccess::OContentHelper::getIdentifier ( )
overridevirtual

◆ getImpl()

const TContentPtr & dbaccess::OContentHelper::getImpl ( ) const
inline

Definition at line 169 of file ContentHelper.hxx.

References m_pImpl.

◆ getImplementationId()

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

◆ getImplementationName()

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

◆ getParent()

Reference< XInterface > SAL_CALL dbaccess::OContentHelper::getParent ( )
overridevirtual

Definition at line 549 of file ContentHelper.cxx.

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

◆ getPropertyValues()

Reference< XRow > dbaccess::OContentHelper::getPropertyValues ( const css::uno::Sequence< css::beans::Property > &  rProperties)

Definition at line 423 of file ContentHelper.cxx.

References getContentType(), m_aContext, m_pImpl, n, nCount, and Property.

Referenced by execute().

◆ getSupportedServiceNames()

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

◆ impl_getHierarchicalName()

OUString dbaccess::OContentHelper::impl_getHierarchicalName ( bool  _includingRootContainer) const
protected

◆ impl_rename_throw()

void dbaccess::OContentHelper::impl_rename_throw ( const OUString &  _sNewName,
bool  _bNotify = true 
)
private

◆ initialize()

void SAL_CALL dbaccess::OContentHelper::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ notifyDataSourceModified()

void dbaccess::OContentHelper::notifyDataSourceModified ( )
protected

◆ notifyPropertiesChange()

void dbaccess::OContentHelper::notifyPropertiesChange ( const css::uno::Sequence< css::beans::PropertyChangeEvent > &  evt) const
protected

◆ removeContentEventListener()

void SAL_CALL dbaccess::OContentHelper::removeContentEventListener ( const css::uno::Reference< css::ucb::XContentEventListener > &  Listener)
overridevirtual

◆ removePropertiesChangeListener()

void SAL_CALL dbaccess::OContentHelper::removePropertiesChangeListener ( const css::uno::Sequence< OUString > &  PropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  Listener 
)
overridevirtual

◆ removeProperty()

void SAL_CALL dbaccess::OContentHelper::removeProperty ( const OUString &  Name)
overridevirtual

Definition at line 312 of file ContentHelper.cxx.

◆ rename()

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

◆ setParent()

void SAL_CALL dbaccess::OContentHelper::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 555 of file ContentHelper.cxx.

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

◆ setPropertyValues()

Sequence< Any > dbaccess::OContentHelper::setPropertyValues ( const css::uno::Sequence< css::beans::PropertyValue > &  rValues)
private

◆ supportsService()

sal_Bool SAL_CALL dbaccess::OContentHelper::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 93 of file ContentHelper.cxx.

References getSupportedServiceNames().

Member Data Documentation

◆ m_aContentListeners

::comphelper::OInterfaceContainerHelper3<css::ucb::XContentEventListener> dbaccess::OContentHelper::m_aContentListeners
protected

◆ m_aContext

const css::uno::Reference< css::uno::XComponentContext > dbaccess::OContentHelper::m_aContext
protected

◆ m_aErrorHelper

const ::connectivity::SQLError dbaccess::OContentHelper::m_aErrorHelper
protected

◆ m_aPropertyChangeListeners

PropertyChangeListenerContainer dbaccess::OContentHelper::m_aPropertyChangeListeners
protected

◆ m_nCommandId

sal_uInt32 dbaccess::OContentHelper::m_nCommandId
protected

Definition at line 103 of file ContentHelper.hxx.

Referenced by createCommandIdentifier().

◆ m_pImpl

TContentPtr dbaccess::OContentHelper::m_pImpl
protected

◆ m_xParentContainer

css::uno::Reference< css::uno::XInterface > dbaccess::OContentHelper::m_xParentContainer
protected

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