<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!-- NewPage --> | |
<html lang="en"> | |
<head> | |
<!-- Generated by javadoc (1.8.0_92) on Wed Dec 06 14:36:21 CET 2017 --> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>EntityProvider.EntityProviderInterface (olingo-odata2-parent 2.0.10 API)</title> | |
<meta name="date" content="2017-12-06"> | |
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> | |
<script type="text/javascript" src="../../../../../../script.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"><!-- | |
try { | |
if (location.href.indexOf('is-external=true') == -1) { | |
parent.document.title="EntityProvider.EntityProviderInterface (olingo-odata2-parent 2.0.10 API)"; | |
} | |
} | |
catch(err) { | |
} | |
//--> | |
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6}; | |
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; | |
var altColor = "altColor"; | |
var rowColor = "rowColor"; | |
var tableTab = "tableTab"; | |
var activeTableTab = "activeTableTab"; | |
</script> | |
<noscript> | |
<div>JavaScript is disabled on your browser.</div> | |
</noscript> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<div class="topNav"><a name="navbar.top"> | |
<!-- --> | |
</a> | |
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | |
<a name="navbar.top.firstrow"> | |
<!-- --> | |
</a> | |
<ul class="navList" title="Navigation"> | |
<li><a href="../../../../../../overview-summary.html">Overview</a></li> | |
<li><a href="package-summary.html">Package</a></li> | |
<li class="navBarCell1Rev">Class</li> | |
<li><a href="class-use/EntityProvider.EntityProviderInterface.html">Use</a></li> | |
<li><a href="package-tree.html">Tree</a></li> | |
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> | |
<li><a href="../../../../../../index-all.html">Index</a></li> | |
<li><a href="../../../../../../help-doc.html">Help</a></li> | |
</ul> | |
</div> | |
<div class="subNav"> | |
<ul class="navList"> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.html" title="class in org.apache.olingo.odata2.api.ep"><span class="typeNameLink">Prev Class</span></a></li> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderBatchProperties.html" title="class in org.apache.olingo.odata2.api.ep"><span class="typeNameLink">Next Class</span></a></li> | |
</ul> | |
<ul class="navList"> | |
<li><a href="../../../../../../index.html?org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html" target="_top">Frames</a></li> | |
<li><a href="EntityProvider.EntityProviderInterface.html" target="_top">No Frames</a></li> | |
</ul> | |
<ul class="navList" id="allclasses_navbar_top"> | |
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> | |
</ul> | |
<div> | |
<script type="text/javascript"><!-- | |
allClassesLink = document.getElementById("allclasses_navbar_top"); | |
if(window==top) { | |
allClassesLink.style.display = "block"; | |
} | |
else { | |
allClassesLink.style.display = "none"; | |
} | |
//--> | |
</script> | |
</div> | |
<div> | |
<ul class="subNavList"> | |
<li>Summary: </li> | |
<li>Nested | </li> | |
<li>Field | </li> | |
<li>Constr | </li> | |
<li><a href="#method.summary">Method</a></li> | |
</ul> | |
<ul class="subNavList"> | |
<li>Detail: </li> | |
<li>Field | </li> | |
<li>Constr | </li> | |
<li><a href="#method.detail">Method</a></li> | |
</ul> | |
</div> | |
<a name="skip.navbar.top"> | |
<!-- --> | |
</a></div> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<div class="header"> | |
<div class="subTitle">org.apache.olingo.odata2.api.ep</div> | |
<h2 title="Interface EntityProvider.EntityProviderInterface" class="title">Interface EntityProvider.EntityProviderInterface</h2> | |
</div> | |
<div class="contentContainer"> | |
<div class="description"> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<dl> | |
<dt>Enclosing class:</dt> | |
<dd><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.html" title="class in org.apache.olingo.odata2.api.ep">EntityProvider</a></dd> | |
</dl> | |
<hr> | |
<br> | |
<pre>public static interface <span class="typeNameLabel">EntityProvider.EntityProviderInterface</span></pre> | |
<div class="block">(Internal) interface for all <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProvider</code></a> necessary <b>read</b> and <b>write</b> methods for accessing | |
entities defined in an <code>Entity Data Model</code>. | |
<p> | |
This interface is declared as inner interface (class) because the <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProvider</code></a> provides a convenience | |
access (and basic implementation for <b>XML</b> and <b>JSON</b> format) to all interface methods. | |
<br/> | |
Hence, it is <b>not recommended</b> to implement this interface (it is possible to implement it and to provide an | |
own <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProvider</code></a> for support of additional formats but it is recommended to | |
handle additional formats directly within an <code>ODataProcessor</code>).</div> | |
</li> | |
</ul> | |
</div> | |
<div class="summary"> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<!-- ========== METHOD SUMMARY =========== --> | |
<ul class="blockList"> | |
<li class="blockList"><a name="method.summary"> | |
<!-- --> | |
</a> | |
<h3>Method Summary</h3> | |
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> | |
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> | |
<tr> | |
<th class="colFirst" scope="col">Modifier and Type</th> | |
<th class="colLast" scope="col">Method and Description</th> | |
</tr> | |
<tr id="i0" class="altColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchRequestPart.html" title="interface in org.apache.olingo.odata2.api.batch">BatchRequestPart</a>></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#parseBatchRequest-java.lang.String-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderBatchProperties-">parseBatchRequest</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderBatchProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderBatchProperties</a> properties)</code> | |
<div class="block">Parse Batch Request body <code>inputStream</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide a list of Batch Parts as | |
<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchPart.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchPart</code></a></div> | |
</td> | |
</tr> | |
<tr id="i1" class="rowColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchSingleResponse.html" title="interface in org.apache.olingo.odata2.api.client.batch">BatchSingleResponse</a>></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#parseBatchResponse-java.lang.String-java.io.InputStream-">parseBatchResponse</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content)</code> | |
<div class="block">Parse Batch Response body (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide a list of single responses as | |
<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchSingleResponse.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchSingleResponse</code></a></div> | |
</td> | |
</tr> | |
<tr id="i2" class="altColor"> | |
<td class="colFirst"><code>byte[]</code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readBinary-java.io.InputStream-">readBinary</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content)</code> | |
<div class="block">Read (de-serialize) binary data from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide it as | |
<code>byte[]</code>.</div> | |
</td> | |
</tr> | |
<tr id="i3" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataDeltaFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed">ODataDeltaFeed</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readDeltaFeed-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-">readDeltaFeed</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties)</code> | |
<div class="block">Read (de-serialize) a delta data feed from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format | |
(given as <code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide this data as | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataDeltaFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed"><code>ODataDeltaFeed</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i4" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/entry/ODataEntry.html" title="interface in org.apache.olingo.odata2.api.ep.entry">ODataEntry</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readEntry-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-">readEntry</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties)</code> | |
<div class="block">Reads (de-serializes) data from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) | |
in specified format (given as <code>contentType</code>) based on | |
<code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
and provides this data as <a href="../../../../../../org/apache/olingo/odata2/api/ep/entry/ODataEntry.html" title="interface in org.apache.olingo.odata2.api.ep.entry"><code>ODataEntry</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i5" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor">ODataErrorContext</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readErrorDocument-java.io.InputStream-java.lang.String-">readErrorDocument</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> errorDocument, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType)</code> | |
<div class="block">Read (de-serialize) data from error document as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> and provide according | |
<a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataErrorContext</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i6" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed">ODataFeed</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readFeed-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-">readFeed</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties)</code> | |
<div class="block">Read (de-serialize) a data feed from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format (given as | |
<code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide this data as | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed"><code>ODataFeed</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i7" class="rowColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readFunctionImport-java.lang.String-org.apache.olingo.odata2.api.edm.EdmFunctionImport-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-">readFunctionImport</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm">EdmFunctionImport</a> functionImport, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties)</code> | |
<div class="block">Reads (de-serializes) function-import data from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format | |
(given as <code>contentType</code>) based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmFunctionImport</code></a>) | |
and provide this data as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i8" class="altColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readLink-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-">readLink</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content)</code> | |
<div class="block">Read (de-serialize) a link from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format (given as | |
<code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide the link as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i9" class="rowColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readLinks-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-">readLinks</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content)</code> | |
<div class="block">Read (de-serialize) all links from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) | |
in specified format (given as <code>contentType</code>) based on <code>entity data model</code> | |
(given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide the link as List of Strings.</div> | |
</td> | |
</tr> | |
<tr id="i10" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readMetadata-java.io.InputStream-boolean-">readMetadata</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inputStream, | |
boolean validate)</code> | |
<div class="block">Read (de-serialize) data from metadata <code>inputStream</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide Edm as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm"><code>Edm</code></a></div> | |
</td> | |
</tr> | |
<tr id="i11" class="rowColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readProperty-java.lang.String-org.apache.olingo.odata2.api.edm.EdmProperty-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-">readProperty</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties)</code> | |
<div class="block">Read (de-serialize) properties from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format (given as | |
<code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmProperty</code></a>) and provide this data as <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> which | |
contains | |
the read data in form of <code>property name</code> to <code>property value</code> mapping.</div> | |
</td> | |
</tr> | |
<tr id="i12" class="altColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readPropertyValue-org.apache.olingo.odata2.api.edm.EdmProperty-java.io.InputStream-java.lang.Class-">readPropertyValue</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> typeMapping)</code> | |
<div class="block">Read (de-serialize) a property value from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in format | |
<code>text/plain</code> | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmProperty</code></a>) and provide this data as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i13" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/servicedocument/ServiceDocument.html" title="interface in org.apache.olingo.odata2.api.servicedocument">ServiceDocument</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#readServiceDocument-java.io.InputStream-java.lang.String-">readServiceDocument</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> serviceDocument, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType)</code> | |
<div class="block">Read (de-serialize) data from service document <code>inputStream</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide | |
ServiceDocument as <a href="../../../../../../org/apache/olingo/odata2/api/servicedocument/ServiceDocument.html" title="interface in org.apache.olingo.odata2.api.servicedocument"><code>ServiceDocument</code></a></div> | |
</td> | |
</tr> | |
<tr id="i14" class="altColor"> | |
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeBatchRequest-java.util.List-java.lang.String-">writeBatchRequest</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchPart.html" title="interface in org.apache.olingo.odata2.api.client.batch">BatchPart</a>> batchParts, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> boundary)</code> | |
<div class="block">Create Batch Request body as InputStream.</div> | |
</td> | |
</tr> | |
<tr id="i15" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeBatchResponse-java.util.List-">writeBatchResponse</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchResponsePart.html" title="class in org.apache.olingo.odata2.api.batch">BatchResponsePart</a>> batchResponseParts)</code> | |
<div class="block">Write responses of Batch Response Parts in Batch Response as <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a>.</div> | |
</td> | |
</tr> | |
<tr id="i16" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeBinary-java.lang.String-byte:A-">writeBinary</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType, | |
byte[] data)</code> | |
<div class="block">Write binary content with content type header set to given <code>mime type</code> parameter.</div> | |
</td> | |
</tr> | |
<tr id="i17" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeEntry-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.Map-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-">writeEntry</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties)</code> | |
<div class="block">Write given <code>data</code> (which is given in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for which contains all properties | |
as <code>property name</code> to <code>property value</code> mapping) for the entry in the specified | |
format (given as <code>contentType</code>) based on <code>entity data model for an entity set</code> (given as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
and <code>properties</code> for this entity provider (given as <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderWriteProperties</code></a>).</div> | |
</td> | |
</tr> | |
<tr id="i18" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeErrorDocument-org.apache.olingo.odata2.api.processor.ODataErrorContext-">writeErrorDocument</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor">ODataErrorContext</a> context)</code> | |
<div class="block">Serializes an error message according to the OData standard.</div> | |
</td> | |
</tr> | |
<tr id="i19" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeFeed-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.List-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-">writeFeed</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties)</code> | |
<div class="block">Write given <code>data</code> (which is given in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> with a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for each entity.</div> | |
</td> | |
</tr> | |
<tr id="i20" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeFunctionImport-java.lang.String-org.apache.olingo.odata2.api.edm.EdmFunctionImport-java.lang.Object-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-">writeFunctionImport</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm">EdmFunctionImport</a> functionImport, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties)</code> | |
<div class="block">Write <code>data</code> result (given as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>) of function import based on <code>return type</code> | |
of <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmFunctionImport</code></a> in specified format (given as <code>contentType</code>).</div> | |
</td> | |
</tr> | |
<tr id="i21" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeLink-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.Map-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-">writeLink</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties)</code> | |
<div class="block">Write <b>link</b> for key property based on <code>entity data model for an entity set</code> (given as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
in the specified format (given as <code>contentType</code>).</div> | |
</td> | |
</tr> | |
<tr id="i22" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeLinks-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.List-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-">writeLinks</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties)</code> | |
<div class="block">Write all <b>links</b> for key property based on <code>entity data model for an entity set</code> (given as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
in the specified format (given as <code>contentType</code>) for a set of entries.</div> | |
</td> | |
</tr> | |
<tr id="i23" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeMetadata-org.apache.olingo.odata2.api.edm.provider.DataServices-java.util.Map-">writeMetadata</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/provider/DataServices.html" title="class in org.apache.olingo.odata2.api.edm.provider">DataServices</a> serviceMetadata, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> predefinedNamespaces)</code> | |
<div class="block">Write metadata document in XML format for the given schemas and the provided predefined | |
namespaces at the EDMX element.</div> | |
</td> | |
</tr> | |
<tr id="i24" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeMetadata-java.util.List-java.util.Map-">writeMetadata</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/edm/provider/Schema.html" title="class in org.apache.olingo.odata2.api.edm.provider">Schema</a>> schemas, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> predefinedNamespaces)</code> | |
<div class="block">Write metadata document in XML format for the given schemas and the provided predefined | |
namespaces at the EDMX element.</div> | |
</td> | |
</tr> | |
<tr id="i25" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeProperty-java.lang.String-org.apache.olingo.odata2.api.edm.EdmProperty-java.lang.Object-">writeProperty</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> | |
<div class="block">Write given <code>value</code> (which is given in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>) for the property in the specified | |
format (given as <code>contentType</code>) based on given <code>entity data model for an entity property</code> | |
(given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmProperty</code></a>).</div> | |
</td> | |
</tr> | |
<tr id="i26" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writePropertyValue-org.apache.olingo.odata2.api.edm.EdmProperty-java.lang.Object-">writePropertyValue</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> | |
<div class="block">Write property as content type <code>application/octet-stream</code> or <code>text/plain</code>.</div> | |
</td> | |
</tr> | |
<tr id="i27" class="rowColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeServiceDocument-java.lang.String-org.apache.olingo.odata2.api.edm.Edm-java.lang.String-">writeServiceDocument</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceRoot)</code> | |
<div class="block">Write service document based on given <a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm"><code>Edm</code></a> and <code>service root</code> as | |
given content type.</div> | |
</td> | |
</tr> | |
<tr id="i28" class="altColor"> | |
<td class="colFirst"><code><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html#writeText-java.lang.String-">writeText</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> | |
<div class="block">Write text value as content type <code>text/plain</code>.</div> | |
</td> | |
</tr> | |
</table> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
</div> | |
<div class="details"> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<!-- ============ METHOD DETAIL ========== --> | |
<ul class="blockList"> | |
<li class="blockList"><a name="method.detail"> | |
<!-- --> | |
</a> | |
<h3>Method Detail</h3> | |
<a name="writeMetadata-java.util.List-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeMetadata</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeMetadata(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/edm/provider/Schema.html" title="class in org.apache.olingo.odata2.api.edm.provider">Schema</a>> schemas, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> predefinedNamespaces) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write metadata document in XML format for the given schemas and the provided predefined | |
namespaces at the EDMX element. PredefinedNamespaces is of type | |
Map<prefix,namespace> and may be null or an empty Map.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>schemas</code> - all XML schemas which will be written</dd> | |
<dd><code>predefinedNamespaces</code> - type of Map<prefix,namespace> and may be null or an empty Map</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written metadata content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeMetadata-org.apache.olingo.odata2.api.edm.provider.DataServices-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeMetadata</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeMetadata(<a href="../../../../../../org/apache/olingo/odata2/api/edm/provider/DataServices.html" title="class in org.apache.olingo.odata2.api.edm.provider">DataServices</a> serviceMetadata, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> predefinedNamespaces) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write metadata document in XML format for the given schemas and the provided predefined | |
namespaces at the EDMX element. PredefinedNamespaces is of type | |
Map<prefix,namespace> and may be null or an empty Map. | |
<b>Important<b> | |
This method takes edmx references into account | |
This method will not calculate the DataServiceVersion but will instead take the version provided via the | |
signature if no version is set the default version 2.0 is used.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>serviceMetadata</code> - </dd> | |
<dd><code>predefinedNamespaces</code> - type of Map<prefix,namespace> and may be null or an empty Map</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written metadata content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeServiceDocument-java.lang.String-org.apache.olingo.odata2.api.edm.Edm-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeServiceDocument</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeServiceDocument(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceRoot) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write service document based on given <a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm"><code>Edm</code></a> and <code>service root</code> as | |
given content type.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which service document should be written</dd> | |
<dd><code>edm</code> - entity data model to be written</dd> | |
<dd><code>serviceRoot</code> - service root for the written service document</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written service document content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writePropertyValue-org.apache.olingo.odata2.api.edm.EdmProperty-java.lang.Object-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writePropertyValue</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writePropertyValue(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write property as content type <code>application/octet-stream</code> or <code>text/plain</code>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edmProperty</code> - entity data model for to be written property</dd> | |
<dd><code>value</code> - property which will be written</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written property value content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeText-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeText</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeText(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write text value as content type <code>text/plain</code>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>value</code> - text value which will be written</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written text/plain content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeBinary-java.lang.String-byte:A-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeBinary</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeBinary(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType, | |
byte[] data) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write binary content with content type header set to given <code>mime type</code> parameter.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>mimeType</code> - mime type which is written and used as content type header information.</dd> | |
<dd><code>data</code> - which is written to <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a>.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>response object resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written binary content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeFeed-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.List-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeFeed</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeFeed(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write given <code>data</code> (which is given in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> with a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for each entity. Such | |
a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> contains all properties [as <code>property name</code> to <code>property value</code> mapping] for | |
the entry) in the specified | |
format (given as <code>contentType</code>) based on given <code>entity data model for an entity set</code> (given | |
as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
and <code>properties</code> for this entity provider (given as <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderWriteProperties</code></a>).</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which the feed should be written</dd> | |
<dd><code>entitySet</code> - entity data model for given entity data set</dd> | |
<dd><code>data</code> - set of entries in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> with a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for each entity (such a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> | |
contains all properties [as <code>property name</code> to <code>property value</code> mapping).</dd> | |
<dd><code>properties</code> - additional properties necessary for writing of data</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written feed content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeEntry-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.Map-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeEntry</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeEntry(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write given <code>data</code> (which is given in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for which contains all properties | |
as <code>property name</code> to <code>property value</code> mapping) for the entry in the specified | |
format (given as <code>contentType</code>) based on <code>entity data model for an entity set</code> (given as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
and <code>properties</code> for this entity provider (given as <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderWriteProperties</code></a>).</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which the entry should be written</dd> | |
<dd><code>entitySet</code> - entity data model for given entity data set</dd> | |
<dd><code>data</code> - which contains all properties as <code>property name</code> to <code>property value</code> mapping | |
for the entry</dd> | |
<dd><code>properties</code> - additional properties necessary for writing of data</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written entry content</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeProperty-java.lang.String-org.apache.olingo.odata2.api.edm.EdmProperty-java.lang.Object-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeProperty</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeProperty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write given <code>value</code> (which is given in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>) for the property in the specified | |
format (given as <code>contentType</code>) based on given <code>entity data model for an entity property</code> | |
(given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmProperty</code></a>).</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which the property should be written</dd> | |
<dd><code>edmProperty</code> - entity data model for given property</dd> | |
<dd><code>value</code> - data which is written</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written property content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeLink-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.Map-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeLink</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeLink(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write <b>link</b> for key property based on <code>entity data model for an entity set</code> (given as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
in the specified format (given as <code>contentType</code>). | |
The necessary key property values must be provided within the <code>data</code> (in the form of <code>property | |
name</code> | |
to <code>property value</code> mapping) and <code>properties</code> for this entity provider must be set | |
(given as <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderWriteProperties</code></a>).</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which the entry should be written</dd> | |
<dd><code>entitySet</code> - entity data model for given entity data set</dd> | |
<dd><code>data</code> - which contains all key properties as <code>property name</code> to <code>property value</code> | |
mapping for the entry</dd> | |
<dd><code>properties</code> - additional properties necessary for writing of data</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written link content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeLinks-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.util.List-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeLinks</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeLinks(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write all <b>links</b> for key property based on <code>entity data model for an entity set</code> (given as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
in the specified format (given as <code>contentType</code>) for a set of entries. | |
The necessary key property values must be provided within the <code>data</code> (in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> with a | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for each entry. Such a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> contains all key properties [as <code>property name</code> to | |
<code>property value</code> mapping] for the entry) and <code>properties</code> for this entity provider must be | |
set | |
(given as <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderWriteProperties</code></a>).</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which the entry should be written</dd> | |
<dd><code>entitySet</code> - entity data model for given entity data set</dd> | |
<dd><code>data</code> - set of entries in form of a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> with a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> for each entry (such a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> | |
contains all key properties [as <code>property name</code> to <code>property value</code> mapping).</dd> | |
<dd><code>properties</code> - additional properties necessary for writing of data</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written links content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeFunctionImport-java.lang.String-org.apache.olingo.odata2.api.edm.EdmFunctionImport-java.lang.Object-org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeFunctionImport</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeFunctionImport(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm">EdmFunctionImport</a> functionImport, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderWriteProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Write <code>data</code> result (given as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>) of function import based on <code>return type</code> | |
of <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmFunctionImport</code></a> in specified format (given as <code>contentType</code>). Additional | |
<code>properties</code> | |
for this entity provider must be set (given as <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderWriteProperties.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderWriteProperties</code></a>).</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format in which the entry should be written</dd> | |
<dd><code>functionImport</code> - entity data model for executed function import</dd> | |
<dd><code>data</code> - result of function import</dd> | |
<dd><code>properties</code> - additional properties necessary for writing of data</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>resulting <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> with written function import result content.</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if writing of data (serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readFeed-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readFeed</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed">ODataFeed</a> readFeed(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) a data feed from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format (given as | |
<code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide this data as | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed"><code>ODataFeed</code></a>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream.</dd> | |
<dd><code>entitySet</code> - entity data model for entity set to be read</dd> | |
<dd><code>content</code> - feed data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in specified format</dd> | |
<dd><code>properties</code> - additional properties necessary for reading content from <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> into <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>an <a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed"><code>ODataFeed</code></a> object</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readDeltaFeed-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readDeltaFeed</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataDeltaFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed">ODataDeltaFeed</a> readDeltaFeed(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) a delta data feed from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format | |
(given as <code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide this data as | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataDeltaFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed"><code>ODataDeltaFeed</code></a>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream.</dd> | |
<dd><code>entitySet</code> - entity data model for entity set to be read</dd> | |
<dd><code>content</code> - delta feed data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in specified format</dd> | |
<dd><code>properties</code> - additional properties necessary for reading content from <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> into <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>an <a href="../../../../../../org/apache/olingo/odata2/api/ep/feed/ODataDeltaFeed.html" title="interface in org.apache.olingo.odata2.api.ep.feed"><code>ODataDeltaFeed</code></a> object</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readEntry-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readEntry</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/ep/entry/ODataEntry.html" title="interface in org.apache.olingo.odata2.api.ep.entry">ODataEntry</a> readEntry(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Reads (de-serializes) data from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) | |
in specified format (given as <code>contentType</code>) based on | |
<code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) | |
and provides this data as <a href="../../../../../../org/apache/olingo/odata2/api/ep/entry/ODataEntry.html" title="interface in org.apache.olingo.odata2.api.ep.entry"><code>ODataEntry</code></a>. | |
Does not return complete entry data but only data present in the | |
de-serialized content.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream</dd> | |
<dd><code>entitySet</code> - entity data model for entity set to be read</dd> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which | |
contains the data in specified format</dd> | |
<dd><code>properties</code> - additional properties necessary for reading | |
content from <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> into <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>entry as <a href="../../../../../../org/apache/olingo/odata2/api/ep/entry/ODataEntry.html" title="interface in org.apache.olingo.odata2.api.ep.entry"><code>ODataEntry</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readProperty-java.lang.String-org.apache.olingo.odata2.api.edm.EdmProperty-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readProperty</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> readProperty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) properties from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format (given as | |
<code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmProperty</code></a>) and provide this data as <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> which | |
contains | |
the read data in form of <code>property name</code> to <code>property value</code> mapping.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream.</dd> | |
<dd><code>edmProperty</code> - entity data model for entity property to be read</dd> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in specified format</dd> | |
<dd><code>properties</code> - additional properties necessary for reading content from <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> into <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>property as name and value in a map</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readPropertyValue-org.apache.olingo.odata2.api.edm.EdmProperty-java.io.InputStream-java.lang.Class-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readPropertyValue</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> readPropertyValue(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm">EdmProperty</a> edmProperty, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> typeMapping) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) a property value from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in format | |
<code>text/plain</code> | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmProperty.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmProperty</code></a>) and provide this data as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edmProperty</code> - entity data model for entity property to be read</dd> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in format <code>text/plain</code></dd> | |
<dd><code>typeMapping</code> - defines the mapping for this <code>edm property</code> to a <code>java class</code> which | |
should be used | |
during read of the content. If according <code>edm property</code> can not be read | |
into given <code>java class</code> an <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep"><code>EntityProviderException</code></a> is thrown. | |
Supported mappings are documented in <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmSimpleType.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmSimpleType</code></a>.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>property value as object</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readFunctionImport-java.lang.String-org.apache.olingo.odata2.api.edm.EdmFunctionImport-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderReadProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readFunctionImport</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> readFunctionImport(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm">EdmFunctionImport</a> functionImport, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderReadProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderReadProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Reads (de-serializes) function-import data from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format | |
(given as <code>contentType</code>) based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmFunctionImport.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmFunctionImport</code></a>) | |
and provide this data as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream.</dd> | |
<dd><code>functionImport</code> - entity data model for Function Import to be read</dd> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in specified format</dd> | |
<dd><code>properties</code> - additional properties necessary for reading content from <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> into <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. | |
Must not be null.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>data as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readLink-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readLink</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> readLink(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) a link from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) in specified format (given as | |
<code>contentType</code>) | |
based on <code>entity data model</code> (given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide the link as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream.</dd> | |
<dd><code>entitySet</code> - entity data model for entity property to be read</dd> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in specified format</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>link as string</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readLinks-java.lang.String-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.io.InputStream-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readLinks</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> readLinks(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) all links from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) | |
in specified format (given as <code>contentType</code>) based on <code>entity data model</code> | |
(given as <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm"><code>EdmEntitySet</code></a>) and provide the link as List of Strings.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream.</dd> | |
<dd><code>entitySet</code> - entity data model for entity property to be read</dd> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the data in specified format</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>links as List of Strings</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readMetadata-java.io.InputStream-boolean-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readMetadata</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> readMetadata(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inputStream, | |
boolean validate) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) data from metadata <code>inputStream</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide Edm as | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm"><code>Edm</code></a></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>inputStream</code> - the given input stream</dd> | |
<dd><code>validate</code> - has to be true if metadata should be validated</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>Edm as <a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm"><code>Edm</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readBinary-java.io.InputStream-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readBinary</h4> | |
<pre>byte[] readBinary(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) binary data from <code>content</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide it as | |
<code>byte[]</code>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>content</code> - data in form of an <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> which contains the binary data</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>binary data as bytes</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeErrorDocument-org.apache.olingo.odata2.api.processor.ODataErrorContext-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeErrorDocument</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeErrorDocument(<a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor">ODataErrorContext</a> context)</pre> | |
<div class="block"><p>Serializes an error message according to the OData standard.</p></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>context</code> - contains error details see <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataErrorContext</code></a></dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>an <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a> containing the serialized error message</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readServiceDocument-java.io.InputStream-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>readServiceDocument</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/servicedocument/ServiceDocument.html" title="interface in org.apache.olingo.odata2.api.servicedocument">ServiceDocument</a> readServiceDocument(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> serviceDocument, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) data from service document <code>inputStream</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide | |
ServiceDocument as <a href="../../../../../../org/apache/olingo/odata2/api/servicedocument/ServiceDocument.html" title="interface in org.apache.olingo.odata2.api.servicedocument"><code>ServiceDocument</code></a></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>serviceDocument</code> - the given input stream</dd> | |
<dd><code>contentType</code> - format of content in the given input stream</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>ServiceDocument as <a href="../../../../../../org/apache/olingo/odata2/api/servicedocument/ServiceDocument.html" title="interface in org.apache.olingo.odata2.api.servicedocument"><code>ServiceDocument</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseBatchRequest-java.lang.String-java.io.InputStream-org.apache.olingo.odata2.api.ep.EntityProviderBatchProperties-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseBatchRequest</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchRequestPart.html" title="interface in org.apache.olingo.odata2.api.batch">BatchRequestPart</a>> parseBatchRequest(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content, | |
<a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderBatchProperties.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderBatchProperties</a> properties) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchException.html" title="class in org.apache.olingo.odata2.api.batch">BatchException</a></pre> | |
<div class="block">Parse Batch Request body <code>inputStream</code> (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide a list of Batch Parts as | |
<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchPart.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchPart</code></a></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>contentType</code> - format of content in the given input stream</dd> | |
<dd><code>content</code> - request body</dd> | |
<dd><code>properties</code> - additional properties necessary for parsing. Must not be null.</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>list of <a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchPart.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchPart</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchException.html" title="class in org.apache.olingo.odata2.api.batch">BatchException</a></code> - if parsing fails</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeBatchResponse-java.util.List-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeBatchResponse</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor">ODataResponse</a> writeBatchResponse(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchResponsePart.html" title="class in org.apache.olingo.odata2.api.batch">BatchResponsePart</a>> batchResponseParts) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchException.html" title="class in org.apache.olingo.odata2.api.batch">BatchException</a></pre> | |
<div class="block">Write responses of Batch Response Parts in Batch Response as <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a>. | |
Batch Response body matches one-to-one with the corresponding Batch Request body</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>batchResponseParts</code> - a list of <a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchResponsePart.html" title="class in org.apache.olingo.odata2.api.batch"><code>BatchResponsePart</code></a></dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>Batch Response as <a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataResponse.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataResponse</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchException.html" title="class in org.apache.olingo.odata2.api.batch">BatchException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="writeBatchRequest-java.util.List-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>writeBatchRequest</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> writeBatchRequest(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchPart.html" title="interface in org.apache.olingo.odata2.api.client.batch">BatchPart</a>> batchParts, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> boundary)</pre> | |
<div class="block">Create Batch Request body as InputStream.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>batchParts</code> - a list of BatchPartRequests <a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchPart.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchPart</code></a></dd> | |
<dd><code>boundary</code> - </dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>Batch Request as InputStream</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseBatchResponse-java.lang.String-java.io.InputStream-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseBatchResponse</h4> | |
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchSingleResponse.html" title="interface in org.apache.olingo.odata2.api.client.batch">BatchSingleResponse</a>> parseBatchResponse(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> content) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchException.html" title="class in org.apache.olingo.odata2.api.batch">BatchException</a></pre> | |
<div class="block">Parse Batch Response body (as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>) and provide a list of single responses as | |
<a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchSingleResponse.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchSingleResponse</code></a></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>content</code> - response body</dd> | |
<dd><code>contentType</code> - format of content in the given input stream (incl. boundary parameter)</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>list of <a href="../../../../../../org/apache/olingo/odata2/api/client/batch/BatchSingleResponse.html" title="interface in org.apache.olingo.odata2.api.client.batch"><code>BatchSingleResponse</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/batch/BatchException.html" title="class in org.apache.olingo.odata2.api.batch">BatchException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="readErrorDocument-java.io.InputStream-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockListLast"> | |
<li class="blockList"> | |
<h4>readErrorDocument</h4> | |
<pre><a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor">ODataErrorContext</a> readErrorDocument(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> errorDocument, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></pre> | |
<div class="block">Read (de-serialize) data from error document as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> and provide according | |
<a href="../../../../../../org/apache/olingo/odata2/api/processor/ODataErrorContext.html" title="class in org.apache.olingo.odata2.api.processor"><code>ODataErrorContext</code></a>.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>errorDocument</code> - error document which is read</dd> | |
<dd><code>contentType</code> - format of content in the given input stream</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>read error document</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderException.html" title="class in org.apache.olingo.odata2.api.ep">EntityProviderException</a></code> - if reading of data (de-serialization) fails</dd> | |
</dl> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
</div> | |
</div> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<div class="bottomNav"><a name="navbar.bottom"> | |
<!-- --> | |
</a> | |
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | |
<a name="navbar.bottom.firstrow"> | |
<!-- --> | |
</a> | |
<ul class="navList" title="Navigation"> | |
<li><a href="../../../../../../overview-summary.html">Overview</a></li> | |
<li><a href="package-summary.html">Package</a></li> | |
<li class="navBarCell1Rev">Class</li> | |
<li><a href="class-use/EntityProvider.EntityProviderInterface.html">Use</a></li> | |
<li><a href="package-tree.html">Tree</a></li> | |
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> | |
<li><a href="../../../../../../index-all.html">Index</a></li> | |
<li><a href="../../../../../../help-doc.html">Help</a></li> | |
</ul> | |
</div> | |
<div class="subNav"> | |
<ul class="navList"> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProvider.html" title="class in org.apache.olingo.odata2.api.ep"><span class="typeNameLink">Prev Class</span></a></li> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/ep/EntityProviderBatchProperties.html" title="class in org.apache.olingo.odata2.api.ep"><span class="typeNameLink">Next Class</span></a></li> | |
</ul> | |
<ul class="navList"> | |
<li><a href="../../../../../../index.html?org/apache/olingo/odata2/api/ep/EntityProvider.EntityProviderInterface.html" target="_top">Frames</a></li> | |
<li><a href="EntityProvider.EntityProviderInterface.html" target="_top">No Frames</a></li> | |
</ul> | |
<ul class="navList" id="allclasses_navbar_bottom"> | |
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> | |
</ul> | |
<div> | |
<script type="text/javascript"><!-- | |
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | |
if(window==top) { | |
allClassesLink.style.display = "block"; | |
} | |
else { | |
allClassesLink.style.display = "none"; | |
} | |
//--> | |
</script> | |
</div> | |
<div> | |
<ul class="subNavList"> | |
<li>Summary: </li> | |
<li>Nested | </li> | |
<li>Field | </li> | |
<li>Constr | </li> | |
<li><a href="#method.summary">Method</a></li> | |
</ul> | |
<ul class="subNavList"> | |
<li>Detail: </li> | |
<li>Field | </li> | |
<li>Constr | </li> | |
<li><a href="#method.detail">Method</a></li> | |
</ul> | |
</div> | |
<a name="skip.navbar.bottom"> | |
<!-- --> | |
</a></div> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<p class="legalCopy"><small>Copyright © 2013-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> | |
</body> | |
</html> |