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 2014/07/01 07:46:34 UTC

svn commit: r914531 - in /websites/staging/olingo/trunk/content: ./ doc/tutorials/DeltaQuerySupport.html

Author: buildbot
Date: Tue Jul  1 05:46:34 2014
New Revision: 914531

Log:
Staging update by buildbot for olingo

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

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul  1 05:46:34 2014
@@ -1 +1 @@
-1606981
+1606982

Modified: websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html (original)
+++ websites/staging/olingo/trunk/content/doc/tutorials/DeltaQuerySupport.html Tue Jul  1 05:46:34 2014
@@ -79,9 +79,9 @@
 <h2 id="generating-delta-token">Generating Delta Token</h2>
 <h5 id="first-approach">First Approach</h5>
 <ol>
-<li>Create a Java class by extending 'ODataJPATombstoneEntityListener.java'.</li>
+<li>Create a Java class by extending <code>ODataJPATombstoneEntityListener.java</code>.</li>
 <li>
-<p>Implement the abstract method 'getQuery'. In the method, implement the logic to generate a 'javax.persistence.Query'. The Query object can be created as shown below in the code snippet. </p>
+<p>Implement the abstract method <code>getQuery</code>. In the method, implement the logic to generate a <code>javax.persistence.Query</code>. The Query object can be created as shown below in the code snippet. </p>
 <div class="codehilite"><pre> <span class="k">if</span> <span class="p">(</span>!<span class="n">resultsView</span><span class="p">.</span><span class="n">getStartEntitySet</span><span class="p">().</span><span class="n">getName</span><span class="p">().</span><span class="n">equals</span><span class="p">(</span><span class="n">resultsView</span><span class="p">.</span><span class="n">getTargetEntitySet</span><span class="p">().</span><span class="n">getName</span><span class="p">()))</span> <span class="p">{</span>    
    <span class="n">contextType</span> <span class="p">=</span> <span class="n">JPQLContextType</span><span class="p">.</span><span class="n">JOIN</span><span class="p">;</span>
  <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>    
@@ -123,7 +123,7 @@
 
 <ol>
 <li>
-<p>Implement the method 'generateDeltaToken' to generate a string representation of the delta token. The delta token generated shall be used by the client applications to fetch delta in their subsequent OData requests.</p>
+<p>Implement the method <code>generateDeltaToken</code> to generate a string representation of the delta token. The delta token generated shall be used by the client applications to fetch delta in their subsequent OData requests.</p>
 <div class="codehilite"><pre>    <span class="n">SimpleDateFormat</span> <span class="n">dateFormat</span> <span class="p">=</span> <span class="n">new</span> <span class="n">SimpleDateFormat</span><span class="p">(</span>&quot;<span class="n">yyyy</span><span class="o">-</span><span class="n">MM</span><span class="o">-</span><span class="n">dd</span> <span class="n">HH</span><span class="p">:</span><span class="n">mm</span><span class="p">:</span><span class="n">ss</span><span class="p">.</span>000&quot;<span class="p">);;</span>    
     <span class="n">Date</span> <span class="n">date</span> <span class="p">=</span> <span class="n">new</span> <span class="n">Date</span><span class="p">(</span><span class="n">System</span><span class="p">.</span><span class="n">currentTimeMillis</span><span class="p">());</span>    
     <span class="n">dateFormat</span><span class="p">.</span><span class="n">format</span><span class="p">(</span><span class="n">date</span><span class="p">);</span>