summaryrefslogtreecommitdiff
path: root/include/ucbhelper/resultsetmetadata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/ucbhelper/resultsetmetadata.hxx')
-rw-r--r--include/ucbhelper/resultsetmetadata.hxx124
1 files changed, 59 insertions, 65 deletions
diff --git a/include/ucbhelper/resultsetmetadata.hxx b/include/ucbhelper/resultsetmetadata.hxx
index 9fcbfd425dbd..730bdf1a5ab9 100644
--- a/include/ucbhelper/resultsetmetadata.hxx
+++ b/include/ucbhelper/resultsetmetadata.hxx
@@ -116,7 +116,7 @@ ResultSetColumnData::ResultSetColumnData()
isCaseSensitive( true ),
isSearchable( false ),
isCurrency( false ),
- isNullable( ::com::sun::star::sdbc::ColumnValue::NULLABLE ),
+ isNullable( css::sdbc::ColumnValue::NULLABLE ),
isSigned( false ),
columnDisplaySize( 16 ),
precision( -1 ),
@@ -132,22 +132,20 @@ ResultSetColumnData::ResultSetColumnData()
/**
* This is an implementation of the interface XResultSetMetaData. It can be
* used to implement the interface
- * com::sun::star::sdbc::XResultSetMetaDataSupplier, which is required for
+ * css::sdbc::XResultSetMetaDataSupplier, which is required for
* implementations of service com.sun.star.ucb.ContentResultSet.
*/
class UCBHELPER_DLLPUBLIC ResultSetMetaData :
public ::cppu::OWeakObject,
- public ::com::sun::star::lang::XTypeProvider,
- public ::com::sun::star::sdbc::XResultSetMetaData
+ public css::lang::XTypeProvider,
+ public css::sdbc::XResultSetMetaData
{
private:
ucbhelper_impl::ResultSetMetaData_Impl* m_pImpl;
protected:
- ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext > m_xContext;
- ::com::sun::star::uno::Sequence<
- ::com::sun::star::beans::Property > m_aProps;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
+ css::uno::Sequence< css::beans::Property > m_aProps;
bool m_bReadOnly;
public:
@@ -162,10 +160,8 @@ public:
* is read-only.
*/
ResultSetMetaData(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Sequence<
- ::com::sun::star::beans::Property >& rProps,
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Sequence< css::beans::Property >& rProps,
bool bReadOnly = true );
/**
@@ -182,10 +178,8 @@ public:
* rColumnData[ 1 ] corresponds to data in rProps[ 1 ], ...
*/
ResultSetMetaData(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Sequence<
- ::com::sun::star::beans::Property >& rProps,
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Sequence< css::beans::Property >& rProps,
const std::vector< ResultSetColumnData >& rColumnData );
/**
@@ -202,12 +196,12 @@ public:
throw() override;
// XTypeProvider
- virtual com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL
getImplementationId()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
// XResultSetMetaData
@@ -218,8 +212,8 @@ public:
*/
virtual sal_Int32 SAL_CALL
getColumnCount()
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Checks whether column is automatically numbered, which makes it
* read-only.
@@ -230,8 +224,8 @@ public:
*/
virtual sal_Bool SAL_CALL
isAutoIncrement( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Checks whether column is case sensitive.
*
@@ -241,8 +235,8 @@ public:
*/
virtual sal_Bool SAL_CALL
isCaseSensitive( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Checks whether the value stored in column can be used in a
* WHERE clause.
@@ -253,8 +247,8 @@ public:
*/
virtual sal_Bool SAL_CALL
isSearchable( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Checks whether column is a cash value.
*
@@ -264,22 +258,22 @@ public:
*/
virtual sal_Bool SAL_CALL
isCurrency( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Checks whether a NULL can be stored in column.
*
- * @see com::sun::star::sdbc::ColumnValue
+ * @see css::sdbc::ColumnValue
*
* @param column is the number of the column for that a value shall
* be returned. The first column is 1, the second is 2, ...
- * @return ::com::sun::star::sdbc::ColumnValue::NULLABLE, if a NULL
+ * @return css::sdbc::ColumnValue::NULLABLE, if a NULL
* can be stored in the column.
*/
virtual sal_Int32 SAL_CALL
isNullable( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Checks whether the value stored in column is a signed number.
*
@@ -289,8 +283,8 @@ public:
*/
virtual sal_Bool SAL_CALL
isSigned( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the normal maximum width in characters for column.
*
@@ -300,8 +294,8 @@ public:
*/
virtual sal_Int32 SAL_CALL
getColumnDisplaySize( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the suggested column title for column, to be used in print-
* outs and displays.
@@ -312,8 +306,8 @@ public:
*/
virtual OUString SAL_CALL
getColumnLabel( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the name of column.
*
@@ -323,8 +317,8 @@ public:
*/
virtual OUString SAL_CALL
getColumnName( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the schema name for the table from which column of this
* result set was derived.
@@ -337,8 +331,8 @@ public:
*/
virtual OUString SAL_CALL
getSchemaName( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* For number types, getprecision gets the number of decimal digits
* in column.
@@ -352,8 +346,8 @@ public:
*/
virtual sal_Int32 SAL_CALL
getPrecision( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the number of digits to the right of the decimal point for
* values in column.
@@ -364,8 +358,8 @@ public:
*/
virtual sal_Int32 SAL_CALL
getScale( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the name of the table from which column of this result set
* was derived or "" if there is none (for example, for a join).
@@ -378,8 +372,8 @@ public:
*/
virtual OUString SAL_CALL
getTableName( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
virtual OUString SAL_CALL
/**
* Gets the catalog name for the table from which column of this
@@ -392,8 +386,8 @@ public:
* @return the catalog name for column or an empty string.
*/
getCatalogName( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the JDBC type for the value stored in column. ... The STRUCT
* and DISTINCT type codes are always returned for structured and
@@ -407,8 +401,8 @@ public:
*/
virtual sal_Int32 SAL_CALL
getColumnType( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Gets the type name used by this particular data source for the
* values stored in column. If the type code for the type of value
@@ -421,8 +415,8 @@ public:
*/
virtual OUString SAL_CALL
getColumnTypeName( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Indicates whether a column is definitely not writable.
*
@@ -432,8 +426,8 @@ public:
*/
virtual sal_Bool SAL_CALL
isReadOnly( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Indicates whether it is possible for a write on the column to succeed.
*
@@ -443,8 +437,8 @@ public:
*/
virtual sal_Bool SAL_CALL
isWritable( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Indicates whether a write on the column will definitely succeed.
*
@@ -454,12 +448,12 @@ public:
*/
virtual sal_Bool SAL_CALL
isDefinitelyWritable( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
/**
* Returns the fully-qualified name of the service whose instances
* are manufactured if the method
- * com::sun::star::sdbc::ResultSet::getObject is called to retrieve a
+ * css::sdbc::ResultSet::getObject is called to retrieve a
* value from the column.
*
* @param column is the number of the column for that a value shall
@@ -469,8 +463,8 @@ public:
*/
virtual OUString SAL_CALL
getColumnServiceName( sal_Int32 column )
- throw( ::com::sun::star::sdbc::SQLException,
- ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::sdbc::SQLException,
+ css::uno::RuntimeException, std::exception ) override;
};
} // namespace ucbhelper