You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2013/09/16 16:21:01 UTC
svn commit: r878625 - in /websites/staging/olingo/trunk/content: ./
doc/tutorials/jpafunctionimport.html
Author: buildbot
Date: Mon Sep 16 14:21:01 2013
New Revision: 878625
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/tutorials/jpafunctionimport.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Sep 16 14:21:01 2013
@@ -1 +1 @@
-1523655
+1523665
Modified: websites/staging/olingo/trunk/content/doc/tutorials/jpafunctionimport.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/tutorials/jpafunctionimport.html (original)
+++ websites/staging/olingo/trunk/content/doc/tutorials/jpafunctionimport.html Mon Sep 16 14:21:01 2013
@@ -199,10 +199,10 @@
<span class="n">public</span> <span class="n">void</span> <span class="n">extendWithOperation</span><span class="p">(</span><span class="n">final</span> <span class="n">JPAEdmSchemaView</span> <span class="n">view</span><span class="p">)</span> <span class="p">{</span>
<span class="n">view</span><span class="p">.</span><span class="n">registerOperations</span><span class="p">(</span><span class="n">SalesOrderHeaderProcessor</span><span class="p">.</span><span class="n">class</span><span class="p">,</span> <span class="n">null</span><span class="p">);</span>
<span class="p">}</span>
+<span class="p">}</span>
</pre></div>
-<p>}</p>
<p><em>Note</em>: Use the method <em>extendWithOperation</em> to register the list of classes and the methods within the class that needs to be exposed as Function Imports. If the second parameter is passed null, then the OData JPA Processor Library would consider all the annotated methods within the class for Function Import. However, you could also restrict the list of methods that needs to be transformed into function imports within a Java class by passing an array of Java method names as the second parameter.</p>
</li>
<li>