Return-Path: X-Original-To: apmail-olingo-commits-archive@minotaur.apache.org Delivered-To: apmail-olingo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9688910E61 for ; Mon, 16 Sep 2013 14:21:29 +0000 (UTC) Received: (qmail 61885 invoked by uid 500); 16 Sep 2013 14:21:26 -0000 Delivered-To: apmail-olingo-commits-archive@olingo.apache.org Received: (qmail 61840 invoked by uid 500); 16 Sep 2013 14:21:24 -0000 Mailing-List: contact commits-help@olingo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@olingo.incubator.apache.org Delivered-To: mailing list commits@olingo.incubator.apache.org Received: (qmail 61825 invoked by uid 99); 16 Sep 2013 14:21:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2013 14:21:22 +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; Mon, 16 Sep 2013 14:21:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 73F5B2388994; Mon, 16 Sep 2013 14:20:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1523665 - /incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext Date: Mon, 16 Sep 2013 14:20:58 -0000 To: commits@olingo.incubator.apache.org From: jhuesken@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130916142058.73F5B2388994@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jhuesken Date: Mon Sep 16 14:20:58 2013 New Revision: 1523665 URL: http://svn.apache.org/r1523665 Log: CMS commit to olingo by jhuesken Modified: incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext Modified: incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext?rev=1523665&r1=1523664&r2=1523665&view=diff ============================================================================== --- incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext (original) +++ incubator/olingo/site/trunk/content/doc/tutorials/jpafunctionimport.mdtext Mon Sep 16 14:20:58 2013 @@ -140,7 +140,7 @@ This section explains how to enable cust public void extendWithOperation(final JPAEdmSchemaView view) { view.registerOperations(SalesOrderHeaderProcessor.class, null); } - } + } *Note*: Use the method *extendWithOperation* 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.