LibreOffice Module connectivity (master) 1
|
#include <TPrivilegesResultSet.hxx>
Public Member Functions | |
OResultSetPrivileges (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxMeta, const css::uno::Any &catalog, const OUString &schemaPattern, const OUString &tableNamePattern) | |
virtual void SAL_CALL | disposing () override |
virtual sal_Bool SAL_CALL | next () override |
Public Member Functions inherited from connectivity::ODatabaseMetaDataResultSet | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
ODatabaseMetaDataResultSet () | |
default construction More... | |
ODatabaseMetaDataResultSet (MetaDataResultSetType _eType) | |
construction of a pre-defined result set type More... | |
void | setRows (ORows &&_rRows) |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual const ORowSetValue & | getValue (sal_Int32 columnIndex) override |
Protected Member Functions inherited from connectivity::ODatabaseMetaDataResultSet | |
virtual const ORowSetValue & | getValue (sal_Int32 columnIndex) |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual | ~ODatabaseMetaDataResultSet () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | disposing () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual sal_Bool SAL_CALL | next () override |
virtual sal_Bool SAL_CALL | isBeforeFirst () override |
virtual sal_Bool SAL_CALL | isAfterLast () override |
virtual sal_Bool SAL_CALL | isFirst () override |
virtual sal_Bool SAL_CALL | isLast () override |
virtual void SAL_CALL | beforeFirst () override |
virtual void SAL_CALL | afterLast () override |
virtual sal_Bool SAL_CALL | first () override |
virtual sal_Bool SAL_CALL | last () override |
virtual sal_Int32 SAL_CALL | getRow () override |
virtual sal_Bool SAL_CALL | absolute (sal_Int32 row) override |
virtual sal_Bool SAL_CALL | relative (sal_Int32 rows) override |
virtual sal_Bool SAL_CALL | previous () override |
virtual void SAL_CALL | refreshRow () override |
virtual sal_Bool SAL_CALL | rowUpdated () override |
virtual sal_Bool SAL_CALL | rowInserted () override |
virtual sal_Bool SAL_CALL | rowDeleted () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getStatement () override |
virtual sal_Bool SAL_CALL | wasNull () override |
virtual OUString SAL_CALL | getString (sal_Int32 columnIndex) override |
virtual sal_Bool SAL_CALL | getBoolean (sal_Int32 columnIndex) override |
virtual sal_Int8 SAL_CALL | getByte (sal_Int32 columnIndex) override |
virtual sal_Int16 SAL_CALL | getShort (sal_Int32 columnIndex) override |
virtual sal_Int32 SAL_CALL | getInt (sal_Int32 columnIndex) override |
virtual sal_Int64 SAL_CALL | getLong (sal_Int32 columnIndex) override |
virtual float SAL_CALL | getFloat (sal_Int32 columnIndex) override |
virtual double SAL_CALL | getDouble (sal_Int32 columnIndex) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getBytes (sal_Int32 columnIndex) override |
virtual css::util::Date SAL_CALL | getDate (sal_Int32 columnIndex) override |
virtual css::util::Time SAL_CALL | getTime (sal_Int32 columnIndex) override |
virtual css::util::DateTime SAL_CALL | getTimestamp (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getBinaryStream (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getCharacterStream (sal_Int32 columnIndex) override |
virtual css::uno::Any SAL_CALL | getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override |
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL | getRef (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL | getBlob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL | getClob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL | getArray (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
void | setCatalogsMap () |
void | setSchemasMap () |
void | setColumnPrivilegesMap () |
void | setColumnsMap () |
void | setTablesMap () |
void | setTableTypes () |
void | setProcedureColumnsMap () |
void | setProceduresMap () |
void | setExportedKeysMap () |
void | setImportedKeysMap () |
void | setPrimaryKeysMap () |
void | setIndexInfoMap () |
void | setTablePrivilegesMap () |
void | setCrossReferenceMap () |
void | setTypeInfoMap () |
void | setBestRowIdentifierMap () |
void | setVersionColumnsMap () |
void | setUDTsMap () |
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 |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Private Attributes | |
css::uno::Reference< css::sdbc::XResultSet > | m_xTables |
css::uno::Reference< css::sdbc::XRow > | m_xRow |
bool | m_bResetValues |
Definition at line 27 of file TPrivilegesResultSet.hxx.
OResultSetPrivileges::OResultSetPrivileges | ( | const css::uno::Reference< css::sdbc::XDatabaseMetaData > & | _rxMeta, |
const css::uno::Any & | catalog, | ||
const OUString & | schemaPattern, | ||
const OUString & | tableNamePattern | ||
) |
Definition at line 31 of file TPrivilegesResultSet.cxx.
References Exception, connectivity::ODatabaseMetaDataResultSet::getAlterValue(), connectivity::ODatabaseMetaDataResultSet::getCreateValue(), connectivity::ODatabaseMetaDataResultSet::getDeleteValue(), connectivity::ODatabaseMetaDataResultSet::getDropValue(), connectivity::ODatabaseMetaDataResultSet::getInsertValue(), connectivity::ODatabaseMetaDataResultSet::getReadValue(), connectivity::ODatabaseMetaDataResultSet::getSelectValue(), connectivity::ODatabaseMetaDataResultSet::getUpdateValue(), m_refCount, m_xRow, m_xTables, and connectivity::ODatabaseMetaDataResultSet::setRows().
|
overridevirtual |
Reimplemented from connectivity::ODatabaseMetaDataResultSet.
Definition at line 107 of file TPrivilegesResultSet.cxx.
References connectivity::ODatabaseMetaDataResultSet::disposing(), m_xRow, and m_xTables.
|
overrideprotectedvirtual |
Reimplemented from connectivity::ODatabaseMetaDataResultSet.
Definition at line 82 of file TPrivilegesResultSet.cxx.
References connectivity::ODatabaseMetaDataResultSet::getValue(), m_bResetValues, and m_xRow.
|
overridevirtual |
Reimplemented from connectivity::ODatabaseMetaDataResultSet.
Definition at line 114 of file TPrivilegesResultSet.cxx.
References connectivity::checkDisposed(), cppu::BaseMutex::m_aMutex, connectivity::ODatabaseMetaDataResultSet::m_bBOF, m_bResetValues, m_xTables, and connectivity::ODatabaseMetaDataResultSet::next().
|
private |
Definition at line 32 of file TPrivilegesResultSet.hxx.
Referenced by getValue(), and next().
|
private |
Definition at line 31 of file TPrivilegesResultSet.hxx.
Referenced by disposing(), getValue(), and OResultSetPrivileges().
|
private |
Definition at line 30 of file TPrivilegesResultSet.hxx.
Referenced by disposing(), next(), and OResultSetPrivileges().