LibreOffice
LibreOffice 24.2 SDK API Reference
XFormOperations.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 
20 
21 module com { module sun { module star { module form { module runtime {
22 
23 interface XFeatureInvalidation;
24 
25 
60 {
63  [attribute, readonly] ::com::sun::star::sdbc::XRowSet Cursor;
64 
68 
77 
92  FeatureState getState(
93  [in] short Feature
94  );
95 
106  boolean isEnabled(
107  [in] short Feature
108  );
109 
129  void execute(
130  [in] short Feature
131  )
135  );
136 
160  void executeWithArguments(
161  [in] short Feature,
162  [in] sequence< ::com::sun::star::beans::NamedValue > Arguments
163  )
167  );
168 
182  boolean commitCurrentRecord(
183  [out] boolean RecordInserted
184  )
186 
192  boolean commitCurrentControl(
193  )
194  raises ( ::com::sun::star::sdbc::SQLException );
195 
204  boolean isInsertionRow(
205  )
206  raises ( ::com::sun::star::lang::WrappedTargetException );
207 
216  boolean isModifiedRow(
217  )
218  raises ( ::com::sun::star::lang::WrappedTargetException );
219 
236  [attribute] XFeatureInvalidation FeatureInvalidation;
237 };
238 
239 
240 }; }; }; }; };
241 
242 
243 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
encapsulates the state of a FormFeature
Definition: FeatureState.idl:30
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:38
Definition: Ambiguous.idl:20
::com::sun::star::sdbc::XRowSet Cursor
provides access to the cursor of the form the instance is operating on.
Definition: XFormOperations.idl:63
enhances the functionality of a result set.
Definition: XRowSet.idl:38
implements a callback for a XFormOperations instance, which is called when the state of one or more F...
Definition: XFeatureInvalidation.idl:31
::com::sun::star::sdbc::XResultSetUpdate UpdateCursor
provides access to the update cursor of the form the instance is operating on.
Definition: XFormOperations.idl:67
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:25
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:33
encapsulates operations on a database form.
Definition: XFormOperations.idl:59
is an exception that provides information on a database access error.
Definition: SQLException.idl:40
specifies a component controlling the interaction between the user and form functionality.
Definition: XFormController.idl:224
provides the possibility to write changes made on a result set back to database.
Definition: XResultSetUpdate.idl:26
::com::sun::star::form::runtime::XFormController Controller
provides access to the form controller which the instance is operating on.
Definition: XFormOperations.idl:76