Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8AD2C5FF for ; Thu, 20 Jun 2013 13:48:46 +0000 (UTC) Received: (qmail 12056 invoked by uid 500); 20 Jun 2013 13:48:46 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 11927 invoked by uid 500); 20 Jun 2013 13:48:43 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 11919 invoked by uid 99); 20 Jun 2013 13:48:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 13:48:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 13:48:40 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2AEA423889EC for ; Thu, 20 Jun 2013 13:48:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@cxf.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130620134821.2AEA423889EC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 @@ + + Apache CXF -- JAX-RS Search @@ -371,7 +373,7 @@ Map\<, Stri fieldMap.put("level", "LEVEL_COLUMN"); SQLPrinterVisitor<SearchBean> visitor = new SQLPrinterVisitor<SearchBean>(fieldMap, "table", "LEVEL_COLUMN"); -sc.visit(visitor); +sc.accept(visitor); assertEquals("SELECT LEVEL_COLUMN FROM table WHERE LEVEL_COLUMN > '10'", visitor.getResult()); @@ -393,7 +395,7 @@ A custom // ?_s="name==ami*;level=gt=10" SearchCondition<Book> sc = searchContext.getCondition(Book.class); SQLPrinterVisitor<Book> visitor = new SQLPrinterVisitor<Book>("table"); -sc.visit(visitor); +sc.accept(visitor); assertEquals("SELECT * FROM table WHERE name LIKE 'ami%' @@ -414,7 +416,7 @@ Map<String< fieldMap.put("level", "LEVEL_COLUMN"); SQLPrinterVisitor<Book> visitor = new SQLPrinterVisitor<Book>(fieldMap, "table", "LEVEL_COLUMN"); -sc.visit(visitor); +sc.accept(visitor); assertEquals("SELECT LEVEL_COLUMN FROM table WHERE LEVEL_COLUMN > '10'", visitor.getResult()); @@ -492,7 +494,7 @@ beanPropertiesMap.put(new JPATypedQueryVisitor<Book>(entityManager, Book.class); -sc.visit(visitor); +sc.accept(visitor); TypedQuery<Book> typedQuery = visitor.getQuery(); List<Book> books = typedQuery.getResultList(); @@ -518,7 +520,7 @@ beanPropertiesMap.put(new JPACriteriaQueryVisitor<Book, Tuple>(entityManager, Book.class, Tuple.class); -sc.visit(visitor); +sc.accept(visitor); List<SingularAttribute<Book, ?>> selections = new LinkedList<SingularAttribute<Book, ?>>(); // Book_ class is generated by JPA2 compiler @@ -570,7 +572,7 @@ JPACriteriaQueryVisitor will be enhanced SearchCondition<Book> sc = searchContext.getCondition(Book.class); JPACriteriaQueryVisitor<Book, BookInfo> visitor = new JPACriteriaQueryVisitor<Book, BookInfo>(entityManager, Book.class, BookInfo.class); -sc.visit(visitor); +sc.accept(visitor); List<SingularAttribute<Book, ?>> selections = new LinkedList<SingularAttribute<Book, ?>>(); // Book_ class is generated by JPA2 compiler @@ -1072,7 +1074,7 @@ GET /books;id=lt=123 // JPA2 enity manager is initialized earlier JPATypedQuery<Book> visitor = new JPATypedQueryVisitor<Book>(entityManager, Book.class); - sc.visit(visitor); + sc.accept(visitor); TypedQuery<Book> typedQuery = visitor.getQuery(); return typedQuery.getResultList(); @@ -1112,7 +1114,7 @@ One easy way to manage such queries is t // JPA2 enity manager is initialized earlier JPATypedQuery<Book> visitor = new JPATypedQueryVisitor<Book>(entityManager, Book.class); - sc.visit(visitor); + sc.accept(visitor); TypedQuery<Book> typedQuery = visitor.getQuery(); List<Book> books = typedQuery.getResultList();