Author: buildbot
Date: Wed Oct 21 07:58:35 2015
New Revision: 969723

Log:
Staging update by buildbot for olingo

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

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Oct 21 07:58:35 2015
@@ -1 +1 @@
-1709739
+1709740

Modified: 
websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
==============================================================================
--- 
websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
 (original)
+++ 
websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
 Wed Oct 21 07:58:35 2015
@@ -108,10 +108,8 @@ h2:hover > .headerlink, h3:hover > .head
 <li><a href="#preparation">Preparation</a></li>
 <li><a href="#implementation">Implementation</a><ul>
 <li><a href="#extend-the-metadata-model">Extend the Metadata model</a></li>
-</ul>
-</li>
 <li><a href="#extend-the-data-store">Extend the data store</a></li>
-<li><a 
href="#extend-the-entity-collection-and-the-entity-processor-to-handle-function-imports">Extend
 the entity collection and the entity processor to handle function 
imports</a><ul>
+<li><a 
href="#extend-the-entity-collection-and-the-entity-processor-to-handle-function-imports">Extend
 the entity collection and the entity processor to handle function 
imports</a></li>
 <li><a href="#implement-an-action-processor">Implement an action 
processor</a></li>
 </ul>
 </li>
@@ -382,7 +380,7 @@ Add the following lines to the method <c
 </pre></div>
 
 
-<h2 id="extend-the-data-store">Extend the data store<a class="headerlink" 
href="#extend-the-data-store" title="Permanent link">&para;</a></h2>
+<h3 id="extend-the-data-store">Extend the data store<a class="headerlink" 
href="#extend-the-data-store" title="Permanent link">&para;</a></h3>
 <p>We need two methods in the data store to read the function import 
<code>CountCategories</code>.</p>
 <p>The first method returns a collection of entites and the second returns a 
single entity of this collection.</p>
 <div class="codehilite"><pre><span class="kd">public</span> <span 
class="n">EntityCollection</span> <span 
class="nf">readFunctionImportCollection</span><span class="o">(</span><span 
class="kd">final</span> <span class="n">UriResourceFunction</span> <span 
class="n">uriResourceFunction</span><span class="o">,</span> <span 
class="kd">final</span> <span class="n">ServiceMetadata</span> <span 
class="n">serviceMetadata</span><span class="o">)</span> <span 
class="kd">throws</span> <span class="n">ODataApplicationException</span> <span 
class="o">{</span>
@@ -458,7 +456,7 @@ Add the following lines to the method <c
 </pre></div>
 
 
-<h2 
id="extend-the-entity-collection-and-the-entity-processor-to-handle-function-imports">Extend
 the entity collection and the entity processor to handle function imports<a 
class="headerlink" 
href="#extend-the-entity-collection-and-the-entity-processor-to-handle-function-imports"
 title="Permanent link">&para;</a></h2>
+<h3 
id="extend-the-entity-collection-and-the-entity-processor-to-handle-function-imports">Extend
 the entity collection and the entity processor to handle function imports<a 
class="headerlink" 
href="#extend-the-entity-collection-and-the-entity-processor-to-handle-function-imports"
 title="Permanent link">&para;</a></h3>
 <p>We start with the entity collection processor 
<code>DemoEntityCollectionProcessor</code>.
 To keep things simple, the first steps is to distinguish between entity 
collections and function imports.
 A cleverer implementation can handle both cases in one method to avoid 
duplicated code.</p>


Reply via email to