LibreOffice: com/sun/star/sdb/XColumnUpdate.idl Source File

LibreOffice LibreOffice 5.2 SDK API Reference

XColumnUpdate.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 #ifndef __com_sun_star_sdb_XColumnUpdate_idl__
20 #define __com_sun_star_sdb_XColumnUpdate_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23
24 #include <com/sun/star/sdbc/SQLException.idl>
25
26 #include <com/sun/star/util/Date.idl>
27
28 #include <com/sun/star/util/DateTime.idl>
29
30 #include <com/sun/star/util/Time.idl>
31
32 module com { module sun { module star { module io {
33 published interface XInputStream;
34 };};};};
35
36 module com { module sun { module star { module sdb {
37
38
41 published interface XColumnUpdate: com::sun::star::uno::XInterface
42 {
43
48 void updateNull() raises (com::sun::star::sdbc::SQLException);
49
56 void updateBoolean([in]boolean x) raises (com::sun::star::sdbc::SQLException);
57
64 void updateByte([in]byte x) raises (com::sun::star::sdbc::SQLException);
65
72 void updateShort([in]short x) raises (com::sun::star::sdbc::SQLException);
73
80 void updateInt([in]long x) raises (com::sun::star::sdbc::SQLException);
81
88 void updateLong([in]hyper x) raises (com::sun::star::sdbc::SQLException);
89
96 void updateFloat([in]float x) raises (com::sun::star::sdbc::SQLException);
97
104 void updateDouble([in]double x) raises (com::sun::star::sdbc::SQLException);
105
112 void updateString([in]string x) raises (com::sun::star::sdbc::SQLException);
113
120 void updateBytes([in]sequence<byte> x) raises (com::sun::star::sdbc::SQLException);
121
128 void updateDate([in]com::sun::star::util::Date x)
129 raises (com::sun::star::sdbc::SQLException);
130
137 void updateTime([in]com::sun::star::util::Time x)
138 raises (com::sun::star::sdbc::SQLException);
139
146 void updateTimestamp([in]com::sun::star::util::DateTime x)
147 raises (com::sun::star::sdbc::SQLException);
148
157 void updateBinaryStream([in]com::sun::star::io::XInputStream x,
158 [in]long length) raises (com::sun::star::sdbc::SQLException);
159
168 void updateCharacterStream([in]com::sun::star::io::XInputStream x,
169 [in]long length) raises (com::sun::star::sdbc::SQLException);
170
177 void updateObject([in]any x)
178 raises (com::sun::star::sdbc::SQLException);
179
188 void updateNumericObject([in]any x, [in]long scale)
189 raises (com::sun::star::sdbc::SQLException);
190 };
191
192
193 }; }; }; };
194
195 /*===========================================================================
196 ===========================================================================*/
197 #endif
198
199 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SQLException.idl
com::sun::star::util::Date
represents a date value.
Definition: Date.idl:30
Date.idl
Time.idl
com::sun::star::util::DateTime
represents a combined date+time value.
Definition: DateTime.idl:28
com
Definition: Ambiguous.idl:22
com::sun::star::sdb::XColumnUpdate
is used to update data which is collected in a row.
Definition: XColumnUpdate.idl:41
XInterface.idl
DateTime.idl
com::sun::star::util::Time
represents a time value.
Definition: Time.idl:28
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47