Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_CHART2_DATA_XDATABASEDATAPROVIDER_HDL
2 : #define INCLUDED_COM_SUN_STAR_CHART2_DATA_XDATABASEDATAPROVIDER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/UnknownPropertyException.hdl"
7 : #include "com/sun/star/beans/XPropertySet.hdl"
8 : #include "com/sun/star/chart2/data/XDataProvider.hdl"
9 : #include "com/sun/star/chart2/data/XRangeXMLConversion.hdl"
10 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
11 : #include "com/sun/star/lang/XComponent.hdl"
12 : #include "com/sun/star/lang/XInitialization.hdl"
13 : namespace com { namespace sun { namespace star { namespace sdbc { class XConnection; } } } }
14 : #include "com/sun/star/sdbc/XParameters.hdl"
15 : #include "com/sun/star/sdbc/XRowSet.hdl"
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 "rtl/ustring.hxx"
21 : #include "sal/types.h"
22 :
23 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
24 :
25 : namespace com { namespace sun { namespace star { namespace chart2 { namespace data {
26 :
27 0 : class SAL_NO_VTABLE XDatabaseDataProvider : public css::chart2::data::XDataProvider, public css::chart2::data::XRangeXMLConversion, public css::lang::XInitialization, public css::lang::XComponent, public css::beans::XPropertySet, public css::sdbc::XParameters, public css::sdbc::XRowSet
28 : {
29 : public:
30 :
31 : // Attributes
32 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getMasterFields() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL setMasterFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _masterfields ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getDetailFields() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL setDetailFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _detailfields ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::rtl::OUString SAL_CALL getCommand() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual void SAL_CALL setCommand( const ::rtl::OUString& _command ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::sal_Int32 SAL_CALL getCommandType() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual void SAL_CALL setCommandType( ::sal_Int32 _commandtype ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::rtl::OUString SAL_CALL getFilter() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual void SAL_CALL setFilter( const ::rtl::OUString& _filter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::sal_Bool SAL_CALL getApplyFilter() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL setApplyFilter( ::sal_Bool _applyfilter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::rtl::OUString SAL_CALL getHavingClause() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual void SAL_CALL setHavingClause( const ::rtl::OUString& _havingclause ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual ::rtl::OUString SAL_CALL getGroupBy() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL setGroupBy( const ::rtl::OUString& _groupby ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual ::rtl::OUString SAL_CALL getOrder() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual void SAL_CALL setOrder( const ::rtl::OUString& _order ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual ::sal_Bool SAL_CALL getEscapeProcessing() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual void SAL_CALL setEscapeProcessing( ::sal_Bool _escapeprocessing ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual ::sal_Int32 SAL_CALL getRowLimit() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual void SAL_CALL setRowLimit( ::sal_Int32 _rowlimit ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
54 : virtual ::com::sun::star::uno::Reference< css::sdbc::XConnection > SAL_CALL getActiveConnection() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
55 : virtual void SAL_CALL setActiveConnection( const ::com::sun::star::uno::Reference< css::sdbc::XConnection >& _activeconnection ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
56 : virtual ::rtl::OUString SAL_CALL getDataSourceName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
57 : virtual void SAL_CALL setDataSourceName( const ::rtl::OUString& _datasourcename ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
58 :
59 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
60 :
61 : protected:
62 0 : ~XDatabaseDataProvider() throw () {} // avoid warnings about virtual members and non-virtual dtor
63 : };
64 :
65 :
66 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::chart2::data::XDatabaseDataProvider const *);
67 : } } } } }
68 :
69 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::chart2::data::XDatabaseDataProvider > *) SAL_THROW(());
70 :
71 : #endif
|