update dev300-m58
[ooovba.git] / dbaccess / source / ui / inc / IUpdateHelper.hxx
blobdd4d6b712da8bc8b4888d9db57c8c2a0cff4b4ca
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: IUpdateHelper.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef DBAUI_IUPDATEHELPER_HXX
31 #define DBAUI_IUPDATEHELPER_HXX
33 #include <com/sun/star/util/Date.hpp>
34 #include <com/sun/star/util/DateTime.hpp>
35 #include <com/sun/star/util/Time.hpp>
37 namespace dbaui
39 class SAL_NO_VTABLE IUpdateHelper
41 public:
42 virtual void updateString(sal_Int32 _nPos, const ::rtl::OUString& _sValue) = 0;
43 virtual void updateDouble(sal_Int32 _nPos,const double& _nValue) = 0;
44 virtual void updateInt(sal_Int32 _nPos,const sal_Int32& _nValue) = 0;
45 virtual void updateNull(sal_Int32 _nPos, ::sal_Int32 sqlType) = 0;
46 virtual void updateDate(sal_Int32 _nPos,const ::com::sun::star::util::Date& _nValue) = 0;
47 virtual void updateTime(sal_Int32 _nPos,const ::com::sun::star::util::Time& _nValue) = 0;
48 virtual void updateTimestamp(sal_Int32 _nPos,const ::com::sun::star::util::DateTime& _nValue) = 0;
49 virtual void moveToInsertRow() = 0;
50 virtual void insertRow() = 0;
54 #endif // DBAUI_IUPDATEHELPER_HXX