LibreOffice Module connectivity (master) 1
Static Public Member Functions | List of all members
connectivity::hsqldb::StorageContainer Class Reference

contains all storages so far accessed. More...

#include <HStorageMap.hxx>

Static Public Member Functions

static OUString registerStorage (const css::uno::Reference< css::embed::XStorage > &_xStorage, const OUString &_sURL)
 
static TStorages::mapped_type getRegisteredStorage (const OUString &_sKey)
 
static OUString getRegisteredKey (const css::uno::Reference< css::embed::XStorage > &_xStorage)
 
static void revokeStorage (const OUString &_sKey, const css::uno::Reference< css::embed::XTransactionListener > &_xListener)
 
static TStreamMap::mapped_type registerStream (JNIEnv *env, jstring name, jstring key, sal_Int32 _nMode)
 
static void revokeStream (JNIEnv *env, jstring name, jstring key)
 
static TStreamMap::mapped_type getRegisteredStream (JNIEnv *env, jstring name, jstring key)
 
static OUString jstring2ustring (JNIEnv *env, jstring jstr)
 
static OUString removeURLPrefix (std::u16string_view _sURL, std::u16string_view _sFileURL)
 
static OUString removeOldURLPrefix (const OUString &_sURL)
 
static void throwJavaException (const css::uno::Exception &_aException, JNIEnv *env)
 

Detailed Description

contains all storages so far accessed.

Definition at line 76 of file HStorageMap.hxx.

Member Function Documentation

◆ getRegisteredKey()

OUString connectivity::hsqldb::StorageContainer::getRegisteredKey ( const css::uno::Reference< css::embed::XStorage > &  _xStorage)
static

Definition at line 217 of file HStorageMap.cxx.

References connectivity::hsqldb::lcl_getStorageMap().

◆ getRegisteredStorage()

TStorages::mapped_type connectivity::hsqldb::StorageContainer::getRegisteredStorage ( const OUString &  _sKey)
static

Definition at line 205 of file HStorageMap.cxx.

References connectivity::hsqldb::lcl_getStorageMap().

Referenced by registerStream().

◆ getRegisteredStream()

TStreamMap::mapped_type connectivity::hsqldb::StorageContainer::getRegisteredStream ( JNIEnv *  env,
jstring  name,
jstring  key 
)
static

◆ jstring2ustring()

OUString connectivity::hsqldb::StorageContainer::jstring2ustring ( JNIEnv *  env,
jstring  jstr 
)
static

Definition at line 158 of file HStorageMap.cxx.

References aStr, env, and pChar.

Referenced by getRegisteredStream(), registerStream(), and revokeStream().

◆ registerStorage()

OUString connectivity::hsqldb::StorageContainer::registerStorage ( const css::uno::Reference< css::embed::XStorage > &  _xStorage,
const OUString &  _sURL 
)
static

◆ registerStream()

TStreamMap::mapped_type connectivity::hsqldb::StorageContainer::registerStream ( JNIEnv *  env,
jstring  name,
jstring  key,
sal_Int32  _nMode 
)
static

◆ removeOldURLPrefix()

OUString connectivity::hsqldb::StorageContainer::removeOldURLPrefix ( const OUString &  _sURL)
static

Definition at line 140 of file HStorageMap.cxx.

References nIndex.

Referenced by registerStream().

◆ removeURLPrefix()

OUString connectivity::hsqldb::StorageContainer::removeURLPrefix ( std::u16string_view  _sURL,
std::u16string_view  _sFileURL 
)
static

Definition at line 135 of file HStorageMap.cxx.

Referenced by getRegisteredStream(), registerStream(), and revokeStream().

◆ revokeStorage()

void connectivity::hsqldb::StorageContainer::revokeStorage ( const OUString &  _sKey,
const css::uno::Reference< css::embed::XTransactionListener > &  _xListener 
)
static

Definition at line 233 of file HStorageMap.cxx.

References Exception, and connectivity::hsqldb::lcl_getStorageMap().

◆ revokeStream()

void connectivity::hsqldb::StorageContainer::revokeStream ( JNIEnv *  env,
jstring  name,
jstring  key 
)
static

◆ throwJavaException()

void connectivity::hsqldb::StorageContainer::throwJavaException ( const css::uno::Exception &  _aException,
JNIEnv *  env 
)
static

Definition at line 349 of file HStorageMap.cxx.

References env, pq_sdbc_driver::OUStringToOString(), and SAL_WARN.

Referenced by registerStream().


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