LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
connectivity::OResultSetPrivileges Class Reference

#include <TPrivilegesResultSet.hxx>

Inheritance diagram for connectivity::OResultSetPrivileges:
[legend]
Collaboration diagram for connectivity::OResultSetPrivileges:
[legend]

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::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual const ORowSetValuegetValue (sal_Int32 columnIndex) override
 
- Protected Member Functions inherited from connectivity::ODatabaseMetaDataResultSet
virtual const ORowSetValuegetValue (sal_Int32 columnIndex)
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () 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::IPropertyArrayHelpercreateArrayHelper () const =0
 

Private Attributes

css::uno::Reference< css::sdbc::XResultSet > m_xTables
 
css::uno::Reference< css::sdbc::XRow > m_xRow
 
bool m_bResetValues
 

Additional Inherited Members

- Public Types inherited from connectivity::ODatabaseMetaDataResultSet
enum  MetaDataResultSetType {
  eCatalogs = 0 ,
  eSchemas = 1 ,
  eColumnPrivileges = 2 ,
  eColumns = 3 ,
  eTables = 4 ,
  eTableTypes = 5 ,
  eProcedureColumns = 6 ,
  eProcedures = 7 ,
  eExportedKeys = 8 ,
  eImportedKeys = 9 ,
  ePrimaryKeys = 10 ,
  eIndexInfo = 11 ,
  eTablePrivileges = 12 ,
  eCrossReference = 13 ,
  eTypeInfo = 14 ,
  eBestRowIdentifier = 15 ,
  eVersionColumns = 16 ,
  eUDTs = 17
}
 
typedef std::vector< ORowSetValueDecoratorRefORow
 
typedef std::vector< ORowORows
 
- Static Public Member Functions inherited from connectivity::ODatabaseMetaDataResultSet
static ORowSetValueDecoratorRef const & getEmptyValue ()
 return an empty ORowSetValueDecorator More...
 
static ORowSetValueDecoratorRef const & get0Value ()
 return an ORowSetValueDecorator with 0 as value More...
 
static ORowSetValueDecoratorRef const & get1Value ()
 return an ORowSetValueDecorator with 1 as value More...
 
static ORowSetValueDecoratorRef const & getBasicValue ()
 return an ORowSetValueDecorator with ColumnSearch::BASIC as value More...
 
static ORowSetValueDecoratorRef const & getSelectValue ()
 return an ORowSetValueDecorator with string SELECT as value More...
 
static ORowSetValueDecoratorRef const & getInsertValue ()
 return an ORowSetValueDecorator with string INSERT as value More...
 
static ORowSetValueDecoratorRef const & getDeleteValue ()
 return an ORowSetValueDecorator with string DELETE as value More...
 
static ORowSetValueDecoratorRef const & getUpdateValue ()
 return an ORowSetValueDecorator with string UPDATE as value More...
 
static ORowSetValueDecoratorRef const & getCreateValue ()
 return an ORowSetValueDecorator with string CREATE as value More...
 
static ORowSetValueDecoratorRef const & getReadValue ()
 return an ORowSetValueDecorator with string READ as value More...
 
static ORowSetValueDecoratorRef const & getAlterValue ()
 return an ORowSetValueDecorator with string ALTER as value More...
 
static ORowSetValueDecoratorRef const & getDropValue ()
 return an ORowSetValueDecorator with string DROP as value More...
 
static ORowSetValueDecoratorRef const & getQuoteValue ()
 return an ORowSetValueDecorator with string ' as value More...
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet >
static std::mutextheMutex ()
 
- Protected Attributes inherited from connectivity::ODatabaseMetaDataResultSet
ORows m_aRows
 
ORows::iterator m_aRowsIter
 
bool m_bBOF
 
bool m_bEOF
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< ODatabaseMetaDataResultSet >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 27 of file TPrivilegesResultSet.hxx.

Constructor & Destructor Documentation

◆ OResultSetPrivileges()

OResultSetPrivileges::OResultSetPrivileges ( const css::uno::Reference< css::sdbc::XDatabaseMetaData > &  _rxMeta,
const css::uno::Any &  catalog,
const OUString &  schemaPattern,
const OUString &  tableNamePattern 
)

Member Function Documentation

◆ disposing()

void SAL_CALL OResultSetPrivileges::disposing ( )
overridevirtual

◆ getValue()

const ORowSetValue & OResultSetPrivileges::getValue ( sal_Int32  columnIndex)
overrideprotectedvirtual

◆ next()

sal_Bool SAL_CALL OResultSetPrivileges::next ( )
overridevirtual

Member Data Documentation

◆ m_bResetValues

bool connectivity::OResultSetPrivileges::m_bResetValues
private

Definition at line 32 of file TPrivilegesResultSet.hxx.

Referenced by getValue(), and next().

◆ m_xRow

css::uno::Reference< css::sdbc::XRow> connectivity::OResultSetPrivileges::m_xRow
private

Definition at line 31 of file TPrivilegesResultSet.hxx.

Referenced by disposing(), getValue(), and OResultSetPrivileges().

◆ m_xTables

css::uno::Reference< css::sdbc::XResultSet> connectivity::OResultSetPrivileges::m_xTables
private

Definition at line 30 of file TPrivilegesResultSet.hxx.

Referenced by disposing(), next(), and OResultSetPrivileges().


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