8 namespace persistence {
43 virtual std::list< std::shared_ptr<Part> >
getParts() = 0;
48 virtual jnipp::Ref<jnipp::java::lang::Object>&
createObject(
const jnipp::Ref<jnipp::Class>& clazz) = 0;
57 jnipp::Ref<jnipp::org::openrdf::repository::object::ObjectConnection> con,
58 const jnipp::Ref<jnipp::Class>& clazz) = 0;
64 const jnipp::Ref<jnipp::Class>& clazz) = 0;
67 virtual std::string getSerializedAt() = 0;
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition: http_client.cpp:23
virtual jnipp::Ref< jnipp::java::lang::Object > & createObjectNoCommit(jnipp::Ref< jnipp::org::openrdf::repository::object::ObjectConnection > con, const jnipp::Ref< jnipp::Class > &clazz)=0
Create a new jnipp Object of the desired class using the connection.
virtual jnipp::Ref< jnipp::java::lang::Object > & createObject(const jnipp::Ref< jnipp::Class > &clazz)=0
Create a new jnipp Object of the desired class.
virtual std::shared_ptr< Part > createPart(const mico::persistence::model::URI &extractorID)=0
Create a new content part with a random URI and return a handle.
virtual jnipp::Ref< jnipp::java::lang::Object > & findObject(const mico::persistence::model::URI &uri, const jnipp::Ref< jnipp::Class > &clazz)=0
Retrieve an existing jnipp Object of the desired class.
virtual std::list< std::shared_ptr< Part > > getParts()=0
Return a list over all content parts contained in this item.
Representation of a Item.
Definition: Item.hpp:17
A URI.
Definition: Uri.hpp:22
virtual std::shared_ptr< Part > getPart(const mico::persistence::model::URI &uri)=0
Return a handle to the ContentPart with the given URI, or null in case the content item does not have...