LibreOffice Module connectivity (master) 1
mysqlc_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{
21{
22 css::uno::Reference<css::sdbc::XConnection> m_xConnection;
23
24public:
28 User(css::uno::Reference<css::sdbc::XConnection> xConnection);
32 User(css::uno::Reference<css::sdbc::XConnection> xConnection, const OUString& rName);
33
34 // XAuthorizable
35 virtual void SAL_CALL changePassword(const OUString&, const OUString& newPassword) override;
36 virtual sal_Int32 SAL_CALL getPrivileges(const OUString&, sal_Int32) override;
37 virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString&, sal_Int32) override;
38
39 // IRefreshableGroups::
40 virtual void refreshGroups() override;
41};
42
43} // namespace connectivity::mysqlc
44
45/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
This implements com.sun.star.sdbcx.Container.
Definition: mysqlc_user.hxx:21
virtual void refreshGroups() override
virtual sal_Int32 SAL_CALL getPrivileges(const OUString &, sal_Int32) override
css::uno::Reference< css::sdbc::XConnection > m_xConnection
Definition: mysqlc_user.hxx:22
User(css::uno::Reference< css::sdbc::XConnection > xConnection)
Create a "new" descriptor, which isn't yet in the database.
Definition: mysqlc_user.cxx:21
virtual void SAL_CALL changePassword(const OUString &, const OUString &newPassword) override
virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString &, sal_Int32) override