olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r965755 - in /websites/staging/olingo/trunk/content: ./ doc/odata4/tutorials/sqo_es/tutorial_sqo_es.html
Date Thu, 17 Sep 2015 11:01:14 GMT
Author: buildbot
Date: Thu Sep 17 11:01:14 2015
New Revision: 965755

Log:
Staging update by buildbot for olingo

Modified:
    websites/staging/olingo/trunk/content/   (props changed)
    websites/staging/olingo/trunk/content/doc/odata4/tutorials/sqo_es/tutorial_sqo_es.html

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Sep 17 11:01:14 2015
@@ -1 +1 @@
-1703565
+1703569

Modified: websites/staging/olingo/trunk/content/doc/odata4/tutorials/sqo_es/tutorial_sqo_es.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/odata4/tutorials/sqo_es/tutorial_sqo_es.html
(original)
+++ websites/staging/olingo/trunk/content/doc/odata4/tutorials/sqo_es/tutorial_sqo_es.html
Thu Sep 17 11:01:14 2015
@@ -237,10 +237,13 @@ The drawback of this implementation is,
 
 
   <span class="c1">// adding the selectOption to the serializerOpts will tell the lib
to do the job</span>
+  <span class="kd">final</span> <span class="n">String</span> <span
class="n">id</span> <span class="o">=</span> <span class="n">request</span><span
class="o">.</span><span class="na">getRawBaseUri</span><span class="o">()</span>
<span class="o">+</span> <span class="s">&quot;/&quot;</span>
<span class="o">+</span> <span class="n">edmEntitySet</span><span
class="o">.</span><span class="na">getName</span><span class="o">();</span>
   <span class="n">EntityCollectionSerializerOptions</span> <span class="n">opts</span>
<span class="o">=</span> <span class="n">EntityCollectionSerializerOptions</span><span
class="o">.</span><span class="na">with</span><span class="o">()</span>
                                                                             <span class="o">.</span><span
class="na">contextURL</span><span class="o">(</span><span class="n">contextUrl</span><span
class="o">)</span>
                                                                             <span class="o">.</span><span
class="na">select</span><span class="o">(</span><span class="n">selectOption</span><span
class="o">)</span>
+                                                                            <span class="o">.</span><span
class="na">id</span><span class="o">(</span><span class="n">id</span><span
class="o">)</span>
                                                                             <span class="o">.</span><span
class="na">build</span><span class="o">();</span>
+
   <span class="n">SerializerResult</span> <span class="n">serializerResult</span>
<span class="o">=</span> <span class="n">serializer</span><span
class="o">.</span><span class="na">entityCollection</span><span class="o">(</span><span
class="n">srvMetadata</span><span class="o">,</span> <span class="n">edmEntityType</span><span
class="o">,</span>
                                                                       <span class="n">entityCollection</span><span
class="o">,</span> <span class="n">opts</span><span class="o">);</span>
 



Mime
View raw message