LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XTableAlteration.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20module com { module sun { module star { module sdb { module tools {
21
32 interface XTableAlteration
33{
34 interface XConnectionSupplier;
35
50 void alterColumnByName( [in] com::sun::star::beans::XPropertySet table, [in] string columnName, [in] com::sun::star::beans::XPropertySet columnDescriptor)
51 raises ( com::sun::star::sdbc::SQLException );
52
67 void addColumn([in] com::sun::star::beans::XPropertySet table,[in]com::sun::star::beans::XPropertySet descriptor)
68 raises (com::sun::star::sdbc::SQLException);
69
79 void dropColumn([in] com::sun::star::beans::XPropertySet table,[in]string columnName)
80 raises ( com::sun::star::sdbc::SQLException);
81};
82}; }; }; }; };
83
84/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition SQLException.idl:41
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition XPropertySet.idl:46
com::sun::star::sdb::tools::XTableAlteration
allows to alter a table.
Definition XTableAlteration.idl:33
com::sun::star::sdb::tools::XTableAlteration::alterColumnByName
void alterColumnByName([in] com::sun::star::beans::XPropertySet table, [in] string columnName, [in] com::sun::star::beans::XPropertySet columnDescriptor)
alter the column defined by name
com::sun::star::sdb::tools::XTableAlteration::XConnectionSupplier
interface XConnectionSupplier
Definition XTableAlteration.idl:34
com::sun::star::sdb::tools::XTableAlteration::addColumn
void addColumn([in] com::sun::star::beans::XPropertySet table,[in]com::sun::star::beans::XPropertySet descriptor)
creates a new object using the given descriptor and appends it to the related container.
com::sun::star::sdb::tools::XTableAlteration::dropColumn
void dropColumn([in] com::sun::star::beans::XPropertySet table,[in]string columnName)
drops an object of the related container identified by its name.
com::sun::star::table
Table specific interfaces (for text and spreadsheet).
Definition modules.idl:358
com
Definition Ambiguous.idl:20