User: kz Date: 05/01/21 09:03:18 Modified: /dba/dbaccess/source/core/dataaccess/ databasecontext.hxx
Log: INTEGRATION: CWS dba22 (1.10.62); FILE MERGED 2004/12/20 15:11:19 fs 1.10.62.1: #i39187# better granularity of error handling - callers can now determine whether a registered object they're asking for points to a non-existent URL File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: databasecontext.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasecontext.hxx?r1=1.10&r2=1.11 Delta lines: +12 -0 -------------------- --- databasecontext.hxx 2 Aug 2004 15:09:01 -0000 1.10 +++ databasecontext.hxx 21 Jan 2005 17:03:15 -0000 1.11 @@ -138,8 +138,20 @@ :public DatabaseAccessContext_Base { private: + /** loads the given object from the given URL + @throws WrappedTargetException + if an error occurs accessing the URL via the UCB + + */ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > loadObjectFromURL(const ::rtl::OUString& _rName,const ::rtl::OUString& _sURL); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getObject(const ::rtl::OUString& _rName); + + /** retrieves the URL for a given registration name, if any + @returns <FALSE/> if and only if there exists a registration for the given name + @throws IllegalArgumentException if the name is empty + */ + bool getURLForRegisteredObject( const ::rtl::OUString& _rRegisteredName, ::rtl::OUString& _rURL ); + protected: ::osl::Mutex m_aMutex; ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
