Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_FORM_RUNTIME_XFORMOPERATIONS_HDL
2 : #define INCLUDED_COM_SUN_STAR_FORM_RUNTIME_XFORMOPERATIONS_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/NamedValue.hdl"
7 : #include "com/sun/star/form/runtime/FeatureState.hdl"
8 : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFeatureInvalidation; } } } } }
9 : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormController; } } } } }
10 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
11 : #include "com/sun/star/lang/WrappedTargetException.hdl"
12 : #include "com/sun/star/lang/XComponent.hdl"
13 : #include "com/sun/star/sdbc/SQLException.hdl"
14 : namespace com { namespace sun { namespace star { namespace sdbc { class XResultSetUpdate; } } } }
15 : namespace com { namespace sun { namespace star { namespace sdbc { class XRowSet; } } } }
16 : #include "com/sun/star/uno/RuntimeException.hdl"
17 : #include "com/sun/star/uno/Reference.h"
18 : #include "com/sun/star/uno/Sequence.h"
19 : #include "cppu/macros.hxx"
20 : #include "sal/types.h"
21 :
22 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
23 :
24 : namespace com { namespace sun { namespace star { namespace form { namespace runtime {
25 :
26 72 : class SAL_NO_VTABLE XFormOperations : public css::lang::XComponent
27 : {
28 : public:
29 :
30 : // Attributes
31 : virtual ::com::sun::star::uno::Reference< css::sdbc::XRowSet > SAL_CALL getCursor() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Reference< css::sdbc::XResultSetUpdate > SAL_CALL getUpdateCursor() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::form::runtime::XFormController > SAL_CALL getController() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::com::sun::star::uno::Reference< css::form::runtime::XFeatureInvalidation > SAL_CALL getFeatureInvalidation() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL setFeatureInvalidation( const ::com::sun::star::uno::Reference< css::form::runtime::XFeatureInvalidation >& _featureinvalidation ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 :
37 : // Methods
38 : virtual css::form::runtime::FeatureState SAL_CALL getState( ::sal_Int16 Feature ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::sal_Bool SAL_CALL isEnabled( ::sal_Int16 Feature ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual void SAL_CALL execute( ::sal_Int16 Feature ) /* throw (css::lang::IllegalArgumentException, css::sdbc::SQLException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual void SAL_CALL executeWithArguments( ::sal_Int16 Feature, const ::com::sun::star::uno::Sequence< css::beans::NamedValue >& Arguments ) /* throw (css::lang::IllegalArgumentException, css::sdbc::SQLException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::sal_Bool SAL_CALL commitCurrentRecord( ::sal_Bool& RecordInserted ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::sal_Bool SAL_CALL commitCurrentControl() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::sal_Bool SAL_CALL isInsertionRow() /* throw (css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual ::sal_Bool SAL_CALL isModifiedRow() /* throw (css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
46 :
47 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
48 :
49 : protected:
50 72 : ~XFormOperations() throw () {} // avoid warnings about virtual members and non-virtual dtor
51 : };
52 :
53 :
54 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::form::runtime::XFormOperations const *);
55 : } } } } }
56 :
57 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::form::runtime::XFormOperations > *) SAL_THROW(());
58 :
59 : #endif
|