Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_RDF_XDOCUMENTREPOSITORY_HDL
2 : : #define INCLUDED_COM_SUN_STAR_RDF_XDOCUMENTREPOSITORY_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : namespace com { namespace sun { namespace star { namespace container { class XEnumeration; } } } }
7 : : #include "com/sun/star/rdf/XRepository.hdl"
8 : : #include "com/sun/star/uno/RuntimeException.hdl"
9 : : #include "com/sun/star/rdf/Statement.hdl"
10 : : namespace com { namespace sun { namespace star { namespace rdf { class XURI; } } } }
11 : : #include "com/sun/star/beans/Pair.hdl"
12 : : #include "com/sun/star/rdf/RepositoryException.hdl"
13 : : namespace com { namespace sun { namespace star { namespace rdf { class XNode; } } } }
14 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
15 : : namespace com { namespace sun { namespace star { namespace rdf { class XMetadatable; } } } }
16 : : namespace com { namespace sun { namespace star { namespace rdf { class XResource; } } } }
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 rdf {
26 : :
27 : 60 : class SAL_NO_VTABLE XDocumentRepository : public ::com::sun::star::rdf::XRepository
28 : : {
29 : : public:
30 : :
31 : : // Methods
32 : : virtual void SAL_CALL setStatementRDFa( const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XResource >& Subject, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XURI > >& Predicates, const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XMetadatable >& Object, const ::rtl::OUString& RDFaContent, const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XURI >& RDFaDatatype ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL removeStatementRDFa( const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XMetadatable >& Element ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::beans::Pair< ::com::sun::star::uno::Sequence< ::com::sun::star::rdf::Statement >, ::sal_Bool > SAL_CALL getStatementRDFa( const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XMetadatable >& Element ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL getStatementsRDFa( const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XResource >& Subject, const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XURI >& Predicate, const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XNode >& Object ) throw (::com::sun::star::rdf::RepositoryException, ::com::sun::star::uno::RuntimeException) = 0;
36 : :
37 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
38 : :
39 : : protected:
40 : 60 : ~XDocumentRepository() throw () {} // avoid warnings about virtual members and non-virtual dtor
41 : : };
42 : :
43 : :
44 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::rdf::XDocumentRepository const *);
45 : : } } } }
46 : :
47 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::rdf::XDocumentRepository > *) SAL_THROW(());
48 : :
49 : : #endif
|