cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r866629 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-search.html
Date Thu, 20 Jun 2013 13:48:21 GMT
Author: buildbot
Date: Thu Jun 20 13:48:20 2013
New Revision: 866629

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-search.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/jax-rs-search.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-search.html (original)
+++ websites/production/cxf/content/docs/jax-rs-search.html Thu Jun 20 13:48:20 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture,
web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support,
integration standards, application integration, middleware, software, solutions, services,
CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - JAX-RS Search">
+
+
     <title>
 Apache CXF -- JAX-RS Search
     </title>
@@ -371,7 +373,7 @@ Map\&lt;, <span class="code-object">Stri
 fieldMap.put(<span class="code-quote">"level"</span>, <span class="code-quote">"LEVEL_COLUMN"</span>);
 
 SQLPrinterVisitor&lt;SearchBean&gt; visitor = <span class="code-keyword">new</span>
SQLPrinterVisitor&lt;SearchBean&gt;(fieldMap, <span class="code-quote">"table"</span>,
<span class="code-quote">"LEVEL_COLUMN"</span>);
-sc.visit(visitor);
+sc.accept(visitor);
 assertEquals("SELECT LEVEL_COLUMN FROM table 
               WHERE LEVEL_COLUMN &gt; '10'",
               visitor.getResult());
@@ -393,7 +395,7 @@ A custom <a shape="rect" class="external
 <span class="code-comment">// ?_s=<span class="code-quote">"name==ami*;level=gt=10"</span>
 </span>SearchCondition&lt;Book&gt; sc = searchContext.getCondition(Book.class);
 SQLPrinterVisitor&lt;Book&gt; visitor = <span class="code-keyword">new</span>
SQLPrinterVisitor&lt;Book&gt;(<span class="code-quote">"table"</span>);
-sc.visit(visitor);
+sc.accept(visitor);
 assertEquals("SELECT * FROM table 
               WHERE 
               name LIKE 'ami%' 
@@ -414,7 +416,7 @@ Map&lt;<span class="code-object">String<
 fieldMap.put(<span class="code-quote">"level"</span>, <span class="code-quote">"LEVEL_COLUMN"</span>);
 
 SQLPrinterVisitor&lt;Book&gt; visitor = <span class="code-keyword">new</span>
SQLPrinterVisitor&lt;Book&gt;(fieldMap, <span class="code-quote">"table"</span>,
<span class="code-quote">"LEVEL_COLUMN"</span>);
-sc.visit(visitor);
+sc.accept(visitor);
 assertEquals("SELECT LEVEL_COLUMN FROM table 
               WHERE LEVEL_COLUMN &gt; '10'",
               visitor.getResult());
@@ -492,7 +494,7 @@ beanPropertiesMap.put(<span class="code-
 </span>SearchCondition&lt;Book&gt; sc = searchContext.getCondition(Book.class);
 SearchConditionVisitor&lt;Book, TypedQuery&lt;Book&gt;&gt; visitor = 
     <span class="code-keyword">new</span> JPATypedQueryVisitor&lt;Book&gt;(entityManager,
Book.class);
-sc.visit(visitor);
+sc.accept(visitor);
 
 TypedQuery&lt;Book&gt; typedQuery = visitor.getQuery();
 List&lt;Book&gt; books = typedQuery.getResultList();
@@ -518,7 +520,7 @@ beanPropertiesMap.put(<span class="code-
 SearchCondition&lt;Book&gt; sc = searchContext.getCondition(Book.class);
 JPACriteriaQueryVisitor&lt;Book, Tuple&gt; visitor = 
     <span class="code-keyword">new</span> JPACriteriaQueryVisitor&lt;Book,
Tuple&gt;(entityManager, Book.class, Tuple.class);
-sc.visit(visitor);
+sc.accept(visitor);
 
 List&lt;SingularAttribute&lt;Book, ?&gt;&gt; selections = <span class="code-keyword">new</span>
LinkedList&lt;SingularAttribute&lt;Book, ?&gt;&gt;();
 <span class="code-comment">// Book_ class is generated by JPA2 compiler
@@ -570,7 +572,7 @@ JPACriteriaQueryVisitor will be enhanced
 SearchCondition&lt;Book&gt; sc = searchContext.getCondition(Book.class);
 JPACriteriaQueryVisitor&lt;Book, BookInfo&gt; visitor = 
     <span class="code-keyword">new</span> JPACriteriaQueryVisitor&lt;Book,
BookInfo&gt;(entityManager, Book.class, BookInfo.class);
-sc.visit(visitor);
+sc.accept(visitor);
 
 List&lt;SingularAttribute&lt;Book, ?&gt;&gt; selections = <span class="code-keyword">new</span>
LinkedList&lt;SingularAttribute&lt;Book, ?&gt;&gt;();
 <span class="code-comment">// Book_ class is generated by JPA2 compiler
@@ -1072,7 +1074,7 @@ GET /books;id=lt=123
    
        <span class="code-comment">// JPA2 enity manager is initialized earlier
 </span>       JPATypedQuery&lt;Book&gt; visitor = <span class="code-keyword">new</span>
JPATypedQueryVisitor&lt;Book&gt;(entityManager, Book.class);
-       sc.visit(visitor);
+       sc.accept(visitor);
    
        TypedQuery&lt;Book&gt; typedQuery = visitor.getQuery();
        <span class="code-keyword">return</span> typedQuery.getResultList();
@@ -1112,7 +1114,7 @@ One easy way to manage such queries is t
    
        <span class="code-comment">// JPA2 enity manager is initialized earlier
 </span>       JPATypedQuery&lt;Book&gt; visitor = <span class="code-keyword">new</span>
JPATypedQueryVisitor&lt;Book&gt;(entityManager, Book.class);
-       sc.visit(visitor);
+       sc.accept(visitor);
    
        TypedQuery&lt;Book&gt; typedQuery = visitor.getQuery();
        List&lt;Book&gt; books = typedQuery.getResultList();



Mime
View raw message