LibreOffice Module connectivity (master) 1
|
#include <VDescriptor.hxx>
Public Member Functions | |
ODescriptor (::cppu::OBroadcastHelper &_rBHelper, bool _bCase, bool _bNew=false) | |
virtual | ~ODescriptor () override |
bool | isNew () const |
void | setNew (bool _bNew) |
bool | isCaseSensitive () const |
virtual void | construct () |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Static Public Member Functions | |
static bool | isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor) |
Protected Member Functions | |
::cppu::IPropertyArrayHelper * | doCreateArrayHelper () const |
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper More... | |
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 Attributes | |
OUString | m_Name |
Private Attributes | |
comphelper::UStringMixEqual | m_aCase |
bool | m_bNew |
Additional Inherited Members | |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Definition at line 33 of file VDescriptor.hxx.
connectivity::sdbcx::ODescriptor::ODescriptor | ( | ::cppu::OBroadcastHelper & | _rBHelper, |
bool | _bCase, | ||
bool | _bNew = false |
||
) |
Definition at line 38 of file VDescriptor.cxx.
|
overridevirtual |
Definition at line 206 of file VCatalog.cxx.
|
virtual |
Reimplemented in connectivity::sdbcx::OIndex, connectivity::sdbcx::OIndexColumn, connectivity::sdbcx::OKey, connectivity::sdbcx::OKeyColumn, connectivity::firebird::Column, connectivity::firebird::Table, connectivity::mysqlc::Column, connectivity::mysqlc::Table, connectivity::ado::OAdoColumn, connectivity::ado::OUserExtend, connectivity::calc::OCalcTable, connectivity::dbase::ODbaseTable, connectivity::flat::OFlatTable, connectivity::hsqldb::OHSQLColumn, connectivity::hsqldb::OHSQLTable, connectivity::hsqldb::OUserExtend, connectivity::mysql::OMySQLColumn, connectivity::mysql::OMySQLTable, connectivity::mysql::OUserExtend, connectivity::writer::OWriterTable, connectivity::parse::OParseColumn, connectivity::parse::OOrderColumn, connectivity::sdbcx::OColumn, connectivity::sdbcx::OTable, and connectivity::sdbcx::OView.
Definition at line 200 of file VCatalog.cxx.
References connectivity::OMetaConnection::getPropMap(), isNew(), m_Name, PROPERTY_ID_NAME, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by connectivity::sdbcx::OIndex::construct(), connectivity::sdbcx::OKey::construct(), connectivity::ado::OUserExtend::construct(), connectivity::sdbcx::OColumn::construct(), connectivity::sdbcx::OTable::construct(), connectivity::sdbcx::OView::construct(), connectivity::ado::OAdoGroup::OAdoGroup(), connectivity::ado::OAdoUser::OAdoUser(), connectivity::hsqldb::OHSQLUser::OHSQLUser(), and connectivity::mysql::OMySQLUser::OMySQLUser().
|
protected |
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper
This method just calls describeProperties, and flags all properties as READONLY if and only if we do not act as descriptor, but as final object.
@seealso isNew
Definition at line 66 of file VDescriptor.cxx.
References aProperties, begin, comphelper::OPropertyContainerHelper::describeProperties(), end, and isNew().
Referenced by connectivity::parse::OParseColumn::createArrayHelper(), connectivity::parse::OOrderColumn::createArrayHelper(), connectivity::sdbcx::OIndex::createArrayHelper(), connectivity::sdbcx::OIndexColumn::createArrayHelper(), connectivity::sdbcx::OKey::createArrayHelper(), connectivity::sdbcx::OKeyColumn::createArrayHelper(), connectivity::firebird::Column::createArrayHelper(), connectivity::hsqldb::OHSQLColumn::createArrayHelper(), connectivity::mysql::OMySQLColumn::createArrayHelper(), connectivity::sdbcx::OTable::createArrayHelper(), connectivity::sdbcx::OView::createArrayHelper(), connectivity::hsqldb::OHSQLTable::createArrayHelper(), and connectivity::mysql::OMySQLTable::createArrayHelper().
|
virtual |
css::uno::RuntimeException |
Reimplemented in connectivity::sdbcx::OGroup, connectivity::sdbcx::OIndex, connectivity::sdbcx::OKey, connectivity::sdbcx::OUser, connectivity::firebird::View, connectivity::mysqlc::View, connectivity::component::OComponentTable, connectivity::dbase::ODbaseTable, connectivity::flat::OFlatTable, connectivity::hsqldb::OHSQLTable, connectivity::sdbcx::OColumn, connectivity::sdbcx::OTable, and connectivity::sdbcx::OView.
Definition at line 94 of file VDescriptor.cxx.
References aTypes.
Referenced by connectivity::sdbcx::OGroup::getTypes(), connectivity::sdbcx::OIndex::getTypes(), connectivity::sdbcx::OKey::getTypes(), connectivity::sdbcx::OUser::getTypes(), connectivity::sdbcx::OTable::getTypes(), and connectivity::sdbcx::OView::getTypes().
|
inline |
Definition at line 60 of file VDescriptor.hxx.
References comphelper::UStringMixEqual::isCaseSensitive().
Referenced by connectivity::sdbcx::OTable::createDataDescriptor(), connectivity::dbase::ODbaseIndex::CreateImpl(), connectivity::dbase::ODbaseIndex::createINFEntry(), connectivity::ado::OAdoIndex::refreshColumns(), connectivity::ado::OAdoKey::refreshColumns(), connectivity::ado::OAdoTable::refreshColumns(), connectivity::ado::OAdoUser::refreshGroups(), connectivity::ado::OAdoTable::refreshIndexes(), connectivity::ado::OAdoTable::refreshKeys(), and connectivity::ado::OAdoGroup::refreshUsers().
|
inline |
Definition at line 57 of file VDescriptor.hxx.
Referenced by connectivity::hsqldb::OHSQLTable::alterColumnByName(), connectivity::mysql::OMySQLTable::alterColumnByName(), connectivity::dbase::ODbaseColumns::appendObject(), connectivity::OColumnsHelper::appendObject(), connectivity::OIndexesHelper::appendObject(), connectivity::OKeysHelper::appendObject(), construct(), connectivity::sdbcx::OIndex::construct(), connectivity::sdbcx::OIndexColumn::construct(), connectivity::sdbcx::OKey::construct(), connectivity::sdbcx::OKeyColumn::construct(), connectivity::mysqlc::Table::construct(), connectivity::ado::OAdoColumn::construct(), connectivity::hsqldb::OHSQLTable::construct(), connectivity::mysql::OMySQLTable::construct(), connectivity::sdbcx::OTable::construct(), connectivity::sdbcx::OView::construct(), doCreateArrayHelper(), connectivity::firebird::Views::dropObject(), connectivity::mysqlc::Views::dropObject(), connectivity::dbase::ODbaseColumns::dropObject(), connectivity::hsqldb::OTables::dropObject(), connectivity::hsqldb::HViews::dropObject(), connectivity::mysql::OViews::dropObject(), connectivity::OColumnsHelper::dropObject(), connectivity::OIndexesHelper::dropObject(), connectivity::OKeysHelper::dropObject(), connectivity::mysqlc::Tables::dropObject(), connectivity::sdbcx::OIndex::getInfoHelper(), connectivity::sdbcx::OIndexColumn::getInfoHelper(), connectivity::sdbcx::OKey::getInfoHelper(), connectivity::sdbcx::OKeyColumn::getInfoHelper(), connectivity::firebird::Column::getInfoHelper(), connectivity::hsqldb::OHSQLColumn::getInfoHelper(), connectivity::hsqldb::OHSQLTable::getInfoHelper(), connectivity::mysql::OMySQLColumn::getInfoHelper(), connectivity::mysql::OMySQLTable::getInfoHelper(), connectivity::parse::OParseColumn::getInfoHelper(), connectivity::parse::OOrderColumn::getInfoHelper(), connectivity::sdbcx::OTable::getInfoHelper(), connectivity::sdbcx::OView::getInfoHelper(), connectivity::sdbcx::OIndex::getTypes(), connectivity::sdbcx::OKey::getTypes(), connectivity::sdbcx::OTable::getTypes(), connectivity::sdbcx::OIndex::queryInterface(), connectivity::sdbcx::OKey::queryInterface(), connectivity::sdbcx::OTable::queryInterface(), connectivity::OIndexHelper::refreshColumns(), connectivity::OTableKeyHelper::refreshColumns(), connectivity::evoab::OEvoabTable::refreshColumns(), connectivity::macab::MacabTable::refreshColumns(), connectivity::dbase::ODbaseIndex::refreshColumns(), connectivity::OTableHelper::refreshColumns(), connectivity::OTableHelper::refreshIndexes(), connectivity::OTableHelper::refreshKeys(), connectivity::hsqldb::OHSQLTable::rename(), and connectivity::OTableHelper::rename().
|
static |
void connectivity::sdbcx::ODescriptor::setNew | ( | bool | _bNew | ) |
Definition at line 88 of file VDescriptor.cxx.
References m_bNew.
Referenced by connectivity::sdbcx::OCollection::appendByDescriptor().
|
private |
Definition at line 49 of file VDescriptor.hxx.
|
private |
Definition at line 50 of file VDescriptor.hxx.
Referenced by setNew().
|
protected |
Definition at line 37 of file VDescriptor.hxx.
Referenced by connectivity::firebird::View::alterCommand(), connectivity::mysqlc::View::alterCommand(), connectivity::hsqldb::OHSQLUser::changePassword(), connectivity::mysql::OMySQLUser::changePassword(), construct(), connectivity::calc::OCalcTable::construct(), connectivity::dbase::ODbaseTable::construct(), connectivity::writer::OWriterTable::construct(), connectivity::parse::OParseColumn::createArrayHelper(), connectivity::sdbcx::OTable::createDataDescriptor(), connectivity::dbase::ODbaseIndex::createINFEntry(), connectivity::dbase::ODbaseIndex::DropImpl(), connectivity::ado::OAdoColumn::fillPropertyValues(), connectivity::ado::OAdoIndex::fillPropertyValues(), connectivity::ado::OAdoKey::fillPropertyValues(), connectivity::ado::OAdoTable::fillPropertyValues(), connectivity::hsqldb::OHSQLUser::findPrivilegesAndGrantPrivileges(), connectivity::mysql::OMySQLUser::findPrivilegesAndGrantPrivileges(), connectivity::hsqldb::OHSQLTable::getAlterTableColumnPart(), connectivity::mysql::OMySQLTable::getAlterTableColumnPart(), connectivity::dbase::ODbaseIndex::getCompletePath(), connectivity::flat::OFlatTable::getEntry(), connectivity::sdbcx::OGroup::getName(), connectivity::sdbcx::OIndex::getName(), connectivity::sdbcx::OKey::getName(), connectivity::sdbcx::OUser::getName(), connectivity::sdbcx::OTable::getName(), connectivity::sdbcx::OView::getName(), connectivity::OTableHelper::getName(), connectivity::OTableHelper::getTableName(), connectivity::evoab::OEvoabTable::getTableName(), connectivity::macab::MacabTable::getTableName(), connectivity::hsqldb::OHSQLUser::grantPrivileges(), connectivity::mysql::OMySQLUser::grantPrivileges(), connectivity::firebird::View::impl_getCommand(), connectivity::mysqlc::View::impl_getCommand(), connectivity::hsqldb::HView::impl_getCommand(), connectivity::sdbcx::OGroup::OGroup(), connectivity::sdbcx::OIndex::OIndex(), connectivity::sdbcx::OKey::OKey(), connectivity::sdbcx::OUser::OUser(), connectivity::sdbcx::OView::OView(), connectivity::OIndexHelper::refreshColumns(), connectivity::OTableKeyHelper::refreshColumns(), connectivity::evoab::OEvoabTable::refreshColumns(), connectivity::macab::MacabTable::refreshColumns(), connectivity::file::OFileTable::refreshColumns(), connectivity::OTableHelper::refreshColumns(), connectivity::OTableHelper::refreshForeignKeys(), connectivity::dbase::ODbaseTable::refreshIndexes(), connectivity::OTableHelper::refreshIndexes(), connectivity::OTableHelper::refreshPrimaryKeys(), connectivity::hsqldb::OHSQLTable::rename(), connectivity::sdbcx::OTable::rename(), connectivity::OTableHelper::rename(), connectivity::hsqldb::OHSQLUser::revokePrivileges(), and connectivity::mysql::OMySQLUser::revokePrivileges().