LibreOffice
LibreOffice 7.3 SDK API Reference
XRowUpdate.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_sdbc_XRowUpdate_idl__
20#define __com_sun_star_sdbc_XRowUpdate_idl__
21
23
25
27
29
30 module com { module sun { module star { module io {
31 published interface XInputStream;
32};};};};
33
35
36 module com { module sun { module star { module sdbc {
37
38
42{
43
50 void updateNull([in]long columnIndex) raises (SQLException);
51
60 void updateBoolean([in]long columnIndex, [in]boolean x) raises (SQLException);
61
70 void updateByte([in]long columnIndex, [in]byte x) raises (SQLException);
71
80 void updateShort([in]long columnIndex, [in]short x) raises (SQLException);
81
90 void updateInt([in]long columnIndex, [in]long x) raises (SQLException);
91
100 void updateLong([in]long columnIndex, [in]hyper x) raises (SQLException);
101
110 void updateFloat([in]long columnIndex, [in]float x) raises (SQLException);
111
120 void updateDouble([in]long columnIndex, [in]double x) raises (SQLException);
121
130 void updateString([in]long columnIndex, [in]string x) raises (SQLException);
131
140 void updateBytes([in]long columnIndex, [in]sequence<byte> x) raises (SQLException);
141
150 void updateDate([in]long columnIndex, [in]com::sun::star::util::Date x)
151 raises (SQLException);
152
161 void updateTime([in]long columnIndex, [in]com::sun::star::util::Time x)
162 raises (SQLException);
163
172 void updateTimestamp([in]long columnIndex,
174 raises (SQLException);
175
186 void updateBinaryStream([in]long columnIndex,
188 [in]long length) raises (SQLException);
189
200 void updateCharacterStream([in]long columnIndex,
202 [in]long length) raises (SQLException);
203
212 void updateObject([in]long columnIndex, [in]any x)
213 raises (SQLException);
214
225 void updateNumericObject([in]long columnIndex, [in]any x, [in]long scale)
226 raises (SQLException);
227};
228
229
230}; }; }; };
231
232/*===========================================================================
233===========================================================================*/
234#endif
235
236/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:38
is used to update data which is collected in a row.
Definition: XRowUpdate.idl:42
void updateLong([in]long columnIndex, [in]hyper x)
updates a column with a hyper value.
void updateTime([in]long columnIndex, [in]com::sun::star::util::Time x)
updates a column with a time value.
void updateByte([in]long columnIndex, [in]byte x)
updates a column with a byte value.
void updateBoolean([in]long columnIndex, [in]boolean x)
updates a column with a boolean value.
void updateInt([in]long columnIndex, [in]long x)
updates a column with an long value.
void updateDouble([in]long columnIndex, [in]double x)
updates a column with a double value.
void updateDate([in]long columnIndex, [in]com::sun::star::util::Date x)
updates a column with a date value.
void updateNumericObject([in]long columnIndex, [in]any x, [in]long scale)
updates a column with an object value.
void updateString([in]long columnIndex, [in]string x)
updates a column with a string value.
void updateBinaryStream([in]long columnIndex, [in]com::sun::star::io::XInputStream x, [in]long length)
updates a column with a stream value.
void updateShort([in]long columnIndex, [in]short x)
updates a column with a short value.
void updateBytes([in]long columnIndex, [in]sequence< byte > x)
updates a column with a byte array value.
void updateFloat([in]long columnIndex, [in]float x)
updates a column with a float value.
void updateNull([in]long columnIndex)
gives a nullable column a null value.
void updateObject([in]long columnIndex, [in]any x)
updates a column with an object value.
void updateCharacterStream([in]long columnIndex, [in]com::sun::star::io::XInputStream x, [in]long length)
updates a column with a stream value.
void updateTimestamp([in]long columnIndex, [in]com::sun::star::util::DateTime x)
updates a column with a timestamp value.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Accessible.idl:22
represents a combined date+time value.
Definition: DateTime.idl:29
represents a date value.
Definition: Date.idl:31
represents a time value.
Definition: Time.idl:29