Branch data 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/sdbc/SQLException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormController; } } } } }
8 : : namespace com { namespace sun { namespace star { namespace sdbc { class XRowSet; } } } }
9 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
10 : : #include "com/sun/star/lang/XComponent.hdl"
11 : : #include "com/sun/star/form/runtime/FeatureState.hdl"
12 : : #include "com/sun/star/lang/WrappedTargetException.hdl"
13 : : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFeatureInvalidation; } } } } }
14 : : namespace com { namespace sun { namespace star { namespace sdbc { class XResultSetUpdate; } } } }
15 : : #include "com/sun/star/uno/RuntimeException.hdl"
16 : : #include "com/sun/star/beans/NamedValue.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 : 22 : class SAL_NO_VTABLE XFormOperations : public ::com::sun::star::lang::XComponent
27 : : {
28 : : public:
29 : :
30 : : // Attributes
31 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > SAL_CALL getCursor() throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetUpdate > SAL_CALL getUpdateCursor() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormController > SAL_CALL getController() throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::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< ::com::sun::star::form::runtime::XFeatureInvalidation >& _featureinvalidation ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : :
37 : : // Methods
38 : : virtual ::com::sun::star::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 (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sdbc::SQLException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL executeWithArguments( ::sal_Int16 Feature, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Arguments ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sdbc::SQLException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::sal_Bool SAL_CALL commitCurrentRecord( ::sal_Bool& RecordInserted ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::sal_Bool SAL_CALL commitCurrentControl( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::sal_Bool SAL_CALL isInsertionRow( ) throw (::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual ::sal_Bool SAL_CALL isModifiedRow( ) throw (::com::sun::star::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 : 19 : ~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 ::com::sun::star::form::runtime::XFormOperations const *);
55 : : } } } } }
56 : :
57 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormOperations > *) SAL_THROW(());
58 : :
59 : : #endif
|