LibreOffice Module connectivity (master) 1
User.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <sdbcx/VUser.hxx>
13#include <com/sun/star/sdbc/XConnection.hpp>
14
16 {
17
22 {
23 css::uno::Reference< css::sdbc::XConnection > m_xConnection;
24
25 public:
29 User(const css::uno::Reference< css::sdbc::XConnection >& rConnection);
33 User(const css::uno::Reference< css::sdbc::XConnection >& rConnection, const OUString& rName);
34
35 // XAuthorizable
36 virtual void SAL_CALL changePassword(const OUString&, const OUString& newPassword) override;
37 virtual sal_Int32 SAL_CALL getPrivileges(const OUString&, sal_Int32) override;
38 virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString&, sal_Int32) override;
39
40 // IRefreshableGroups::
41 virtual void refreshGroups() override;
42 };
43
44} // namespace connectivity::firebird
45
46/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
This implements com.sun.star.sdbcx.Container.
Definition: User.hxx:22
virtual sal_Int32 SAL_CALL getPrivileges(const OUString &, sal_Int32) override
css::uno::Reference< css::sdbc::XConnection > m_xConnection
Definition: User.hxx:23
virtual void SAL_CALL changePassword(const OUString &, const OUString &newPassword) override
virtual void refreshGroups() override
User(const css::uno::Reference< css::sdbc::XConnection > &rConnection)
Create a "new" descriptor, which isn't yet in the database.
Definition: User.cxx:19
virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString &, sal_Int32) override