/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_CONNECTIVITY_SDBCX_VUSER_HXX #define INCLUDED_CONNECTIVITY_SDBCX_VUSER_HXX #include #include #include #include #include #include #include #include #include #include #include #include namespace connectivity { namespace sdbcx { typedef OCollection OGroups; typedef ::cppu::WeakComponentImplHelper4< ::com::sun::star::sdbcx::XUser, ::com::sun::star::sdbcx::XGroupsSupplier, ::com::sun::star::container::XNamed, ::com::sun::star::lang::XServiceInfo> OUser_BASE; class OOO_DLLPUBLIC_DBTOOLS OUser : public comphelper::OBaseMutex, public OUser_BASE, public IRefreshableGroups, public ::comphelper::OPropertyArrayUsageHelper, public ODescriptor { protected: OGroups* m_pGroups; using OUser_BASE::rBHelper; // OPropertyArrayUsageHelper virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const SAL_OVERRIDE; // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE; public: OUser(bool _bCase); OUser(const OUString& _Name,bool _bCase); virtual ~OUser( ); DECLARE_SERVICE_INFO(); // ::cppu::OComponentHelper virtual void SAL_CALL disposing() SAL_OVERRIDE; //XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; virtual void SAL_CALL release() throw() SAL_OVERRIDE; //XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XUser virtual void SAL_CALL changePassword( const OUString& objPassword, const OUString& newPassword ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XAuthorizable virtual sal_Int32 SAL_CALL getPrivileges( const OUString& objName, sal_Int32 objType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL getGrantablePrivileges( const OUString& objName, sal_Int32 objType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL grantPrivileges( const OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL revokePrivileges( const OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XGroupsSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getGroups( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XNamed virtual OUString SAL_CALL getName( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; } } #endif // INCLUDED_CONNECTIVITY_SDBCX_VUSER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ llabora/lov-6.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist
2013-09-24make dependency on directory order-onlyMatúš Kukan
2013-09-23Fixes for cross-compilation on OS X (to iOS)Tor Lillqvist
2013-09-09ure: install files with filelistsMatúš Kukan
2013-08-26introduce gb_Package_PRESTAGEDIRBjoern Michaelsen
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
2013-05-25fix generated deps on headers in $(OUTDIR)/incDavid Tardon
2013-05-24gbuild: simplify reg. of targets for PostprocessDavid Tardon
2013-05-15gallery: cleanup scaling code.Michael Meeks
2013-05-15remove pre-compiled textshapes and transportation galleries.Michael Meeks
2013-05-13the program dir is called MacOS on MacOS XDavid Tardon
2013-04-22add a check to catch typos in Package namesDavid Tardon
2013-04-16gbuild: make sure filelists don't contain duplicatesDavid Tardon
2013-04-14gb_Package_add_files _can_ take empty list of filesDavid Tardon
2013-04-14gbuild: add arg. check to Package functionsDavid Tardon
2013-04-13rebuild Package when a file is addedDavid Tardon
2013-04-05use filelist install method for udkapi and offapiDavid Tardon
2013-04-05allow to put files listed in file into installationDavid Tardon
2013-04-05allow Package to install to other dir than $OUTDIRDavid Tardon
2013-03-03use pattern rule for PostprocessDavid Tardon
2013-02-26postprocess does not care for _any_ instsetoo_native or postprocess packagesBjoern Michaelsen
2013-02-26move postprocess to gbuildBjoern Michaelsen
2012-12-31Avoid Emacs warning "suspicious line"Tor Lillqvist
2012-12-16add missing dep: gb_Package_use_custom_targetMatúš Kukan
2012-12-10userfriendly make targets for build and cleanLuboš Luňák
2012-09-26Revert "gbuild: use one pattern rule for creating directories"Matúš Kukan
2012-09-26gbuild: use one pattern rule for creating directoriesMatúš Kukan
2012-08-24add support for building external projectsDavid Tardon
2012-08-24add support for external tarballs to gbuildDavid Tardon
2012-06-07gbuild: introduce gb_Package_Package_internal:Michael Stahl
2012-05-20make adding a bunch of files a bit easierDavid Tardon
2012-04-09enforce only one possible use of gb_CustomTargetMatúš Kukan
2012-03-10gbuild: remove some more realpathsMatúš Kukan
2012-03-08gbuild: fix mkdir optimization with make 3.81Michael Stahl
2012-03-05gbuild: do not call mkdir -p in gb_Deliver__deliverMatúš Kukan