myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From embre...@apache.org
Subject svn commit: r1840608 [8/12] - in /myfaces/site/publish: ./ community/ docs/ project_management/ tobago/apidocs/org/apache/myfaces/tobago/example/addressbook/ tobago/apidocs/org/apache/myfaces/tobago/example/addressbook/class-use/ tobago/apidocs/org/apa...
Date Tue, 11 Sep 2018 20:41:04 GMT
Modified: myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.AddressDao.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.AddressDao.html?rev=1840608&r1=1840607&r2=1840608&view=diff
==============================================================================
--- myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.AddressDao.html (original)
+++ myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.AddressDao.html Tue Sep 11 20:41:03 2018
@@ -8,11 +8,11 @@
 <script type="text/javascript" src="js/popup.js"></script>
 </head>
 <body>
-<h5>Coverage Report - org.apache.myfaces.tobago.example.addressbook.AddressDao</h5>
+<h5>Coverage Report - org.apache.myfaces.tobago.example.addressbook.AddressDAO</h5>
 <div class="separator">&nbsp;</div>
 <table class="report">
 <thead><tr>  <td class="heading">Classes in this File</td>  <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td>  <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td>  <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead>
-  <tr><td><a href="org.apache.myfaces.tobago.example.addressbook.AddressDao.html">AddressDao</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false
 ;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">0.0;</span>0</td></tr>
+  <tr><td><a href="org.apache.myfaces.tobago.example.addressbook.AddressDAO.html">AddressDAO</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false
 ;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">0.0;</span>0</td></tr>
 
 </table>
 <div class="separator">&nbsp;</div>
@@ -60,7 +60,7 @@
 <tr>  <td class="numLine">&nbsp;21</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;<span class="comment"> * Created 29.11.2004 17:36:20.</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;22</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;<span class="comment"> * $Id: AddressDao.java 578592 2007-09-23 18:51:32Z bommel $</span></pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;23</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;24</td>  <td class="nbHits">&nbsp;</td>
@@ -70,31 +70,23 @@
 <tr>  <td class="numLine">&nbsp;26</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;27</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;<span class="keyword">public</span> <span class="keyword">interface</span> AddressDao {</pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">public</span> <span class="keyword">interface</span> AddressDAO {</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;28</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;29</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  Address updateAddress(Address address) <span class="keyword">throws</span> AddressDaoException;</pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;  Address updateAddress(Address address) <span class="keyword">throws</span> AddressDAOException;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;30</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;31</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  List&lt;Address&gt; findAddresses(String filter) <span class="keyword">throws</span> AddressDaoException;</pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;  List&lt;Address&gt; findAddresses() <span class="keyword">throws</span> AddressDAOException;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;32</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;33</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  List&lt;Address&gt; findAddresses(String filter, String column, <span class="keyword">boolean</span> order) <span class="keyword">throws</span> AddressDaoException;</pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;  <span class="keyword">void</span> removeAddress(Address address) <span class="keyword">throws</span> AddressDAOException;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;34</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;35</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  <span class="keyword">void</span> removeAddress(Address address) <span class="keyword">throws</span> AddressDaoException;</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;36</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;37</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  Address getAddress(Integer id);</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;38</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;}</pre></td></tr>
 </table>
 
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 5/25/09 10:34 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.8 on 1/21/07 12:21 PM.</div>
 </body>
 </html>

Modified: myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDao.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDao.html?rev=1840608&r1=1840607&r2=1840608&view=diff
==============================================================================
--- myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDao.html (original)
+++ myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/cobertura/org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDao.html Tue Sep 11 20:41:03 2018
@@ -8,11 +8,11 @@
 <script type="text/javascript" src="js/popup.js"></script>
 </head>
 <body>
-<h5>Coverage Report - org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDao</h5>
+<h5>Coverage Report - org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDAO</h5>
 <div class="separator">&nbsp;</div>
 <table class="report">
 <thead><tr>  <td class="heading">Classes in this File</td>  <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td>  <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td>  <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead>
-  <tr><td><a href="org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDao.html">InMemoryAddressDao</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/26</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/10</span></div></div></td></tr></table></td><td class="value"><span class="hidden">0.0;</span>0</td></tr>
+  <tr><td><a href="org.apache.myfaces.tobago.example.addressbook.InMemoryAddressDAO.html">InMemoryAddressDAO</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/25</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/5</span></div></div></td></tr></table></td><td class="value"><span class="hidden">0.0;</span>0</td></tr>
 
 </table>
 <div class="separator">&nbsp;</div>
@@ -60,7 +60,7 @@
 <tr>  <td class="numLine">&nbsp;21</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;<span class="comment"> * Created 29.11.2004 17:36:20.</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;22</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;<span class="comment"> * $Id: InMemoryAddressDao.java 578592 2007-09-23 18:51:32Z bommel $</span></pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;23</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;24</td>  <td class="nbHits">&nbsp;</td>
@@ -82,17 +82,17 @@
 <tr>  <td class="numLine">&nbsp;32</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;33</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;<span class="keyword">public</span> <span class="keyword">class</span> InMemoryAddressDao <span class="keyword">implements</span> AddressDao {</pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">public</span> <span class="keyword">class</span> InMemoryAddressDAO <span class="keyword">implements</span> AddressDAO {</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;34</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;35</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  <span class="keyword">private</span> <span class="keyword">static</span> <span class="keyword">final</span> Log LOG = LogFactory.getLog(InMemoryAddressDao.<span class="keyword">class</span>);</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;35</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  <span class="keyword">private</span> <span class="keyword">static</span> <span class="keyword">final</span> Log LOG = LogFactory.getLog(InMemoryAddressDAO.<span class="keyword">class</span>);</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;36</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;37</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;  <span class="keyword">private</span> List&lt;Address&gt; addresses;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;38</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;39</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  <span class="keyword">public</span> InMemoryAddressDao() {</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;39</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  <span class="keyword">public</span> InMemoryAddressDAO() {</span></pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;40</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    addresses = <span class="keyword">new</span> ArrayList&lt;Address&gt;();</span></pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;41</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  }</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;42</td>  <td class="nbHits">&nbsp;</td>
@@ -101,7 +101,7 @@
   <td class="src"><pre class="src">&nbsp;  <span class="keyword">public</span> <span class="keyword">synchronized</span> Address updateAddress(Address address) {</pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;44</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    LOG.debug(<span class="string">"Trying address: "</span>+address);</span></pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;45</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    Address storedAddress = getAddress(address.getId());</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;46</td>  <td class="nbHitsUncovered"><a title="Line 46: Conditional coverage 0% (0/2).">&nbsp;0</a></td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 46: Conditional coverage 0% (0/2).">    <span class="keyword">if</span> (storedAddress == <span class="keyword">null</span>) {</a></span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;46</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">if</span> (storedAddress == <span class="keyword">null</span>) {</span></pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;47</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;      address.setId(addresses.size()+1);</span></pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;48</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;      LOG.debug(<span class="string">"Creating address: "</span>+address);</span></pre></td></tr>
 <tr>  <td class="numLineCover">&nbsp;49</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;      addresses.add(address);</span></pre></td></tr>
@@ -118,49 +118,42 @@
 <tr>  <td class="numLine">&nbsp;57</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;58</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  <span class="keyword">public</span> List&lt;Address&gt; findAddresses(String filter, String column, <span class="keyword">boolean</span> order) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;59</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">return</span> findAddresses(filter);</span></pre></td></tr>
-<tr>  <td class="numLine">&nbsp;60</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  }</pre></td></tr>
+  <td class="src"><pre class="src">&nbsp;  <span class="keyword">public</span> <span class="keyword">synchronized</span> List&lt;Address&gt; findAddresses() {</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;59</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    LOG.debug(<span class="string">"Find addresses: "</span>+addresses);</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;60</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">return</span> Collections.unmodifiableList(addresses);</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;61</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;62</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  <span class="keyword">public</span> <span class="keyword">synchronized</span> List&lt;Address&gt; findAddresses(String filter) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;63</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    LOG.debug(<span class="string">"Find addresses: "</span>+addresses);</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;64</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">return</span> Collections.unmodifiableList(addresses);</span></pre></td></tr>
-<tr>  <td class="numLine">&nbsp;65</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;  }</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;66</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLine">&nbsp;62</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;67</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLine">&nbsp;63</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;  <span class="keyword">public</span> <span class="keyword">synchronized</span> <span class="keyword">void</span> removeAddress(Address address) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;68</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    Iterator&lt;Address&gt; it = addresses.iterator();</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;69</td>  <td class="nbHitsUncovered"><a title="Line 69: Conditional coverage 0% (0/2).">&nbsp;0</a></td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 69: Conditional coverage 0% (0/2).">    <span class="keyword">while</span> (it.hasNext()) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;70</td>  <td class="nbHitsUncovered"><a title="Line 70: Conditional coverage 0% (0/2).">&nbsp;0</a></td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 70: Conditional coverage 0% (0/2).">      <span class="keyword">if</span> (it.next().getId().equals(address.getId())) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;71</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;        it.remove();</span></pre></td></tr>
-<tr>  <td class="numLine">&nbsp;72</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLineCover">&nbsp;64</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    Iterator&lt;Address&gt; it = addresses.iterator();</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;65</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">while</span> (it.hasNext()) {</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;66</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;      <span class="keyword">if</span> (it.next().getId() == address.getId()) {</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;67</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;        it.remove();</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;68</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;      }</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;73</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLine">&nbsp;69</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;74</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  }</span></pre></td></tr>
-<tr>  <td class="numLine">&nbsp;75</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLineCover">&nbsp;70</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;  }</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;71</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;72</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;  <span class="keyword">private</span> Address getAddress(<span class="keyword">int</span> id) {</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;73</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">for</span> (Address address : addresses) {</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;74</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;      <span class="keyword">if</span> (address.getId() == id) {</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;75</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;        <span class="keyword">return</span> address;</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;76</td>  <td class="nbHits">&nbsp;</td>
-  <td class="src"><pre class="src">&nbsp;  <span class="keyword">public</span> Address getAddress(Integer id) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;77</td>  <td class="nbHitsUncovered"><a title="Line 77: Conditional coverage 0% (0/2).">&nbsp;0</a></td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 77: Conditional coverage 0% (0/2).">    <span class="keyword">for</span> (Address address : addresses) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;78</td>  <td class="nbHitsUncovered"><a title="Line 78: Conditional coverage 0% (0/2).">&nbsp;0</a></td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 78: Conditional coverage 0% (0/2).">      <span class="keyword">if</span> (address.getId().equals(id)) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;79</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;        <span class="keyword">return</span> address;</span></pre></td></tr>
-<tr>  <td class="numLine">&nbsp;80</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;      }</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;81</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLine">&nbsp;77</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;82</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">return</span> <span class="keyword">null</span>;</span></pre></td></tr>
-<tr>  <td class="numLine">&nbsp;83</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLineCover">&nbsp;78</td>  <td class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;    <span class="keyword">return</span> <span class="keyword">null</span>;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;79</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;  }</pre></td></tr>
-<tr>  <td class="numLine">&nbsp;84</td>  <td class="nbHits">&nbsp;</td>
+<tr>  <td class="numLine">&nbsp;80</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;}</pre></td></tr>
 </table>
 
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 5/25/09 10:34 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.8 on 1/21/07 12:21 PM.</div>
 </body>
 </html>

Modified: myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html?rev=1840608&r1=1840607&r2=1840608&view=diff
==============================================================================
--- myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html (original)
+++ myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html Tue Sep 11 20:41:03 2018
@@ -1,11 +1,11 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
 <head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AddressDAOException xref</title>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AddressDaoException xref</title>
 <link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
 </head>
 <body>
-<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html">View Javadoc</a></div><pre>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/AddressDaoException.html">View Javadoc</a></div><pre>
 
 <a name="1" href="#1">1</a>   <strong>package</strong> org.apache.myfaces.tobago.example.addressbook;
 <a name="2" href="#2">2</a>   
@@ -26,20 +26,20 @@
 <a name="17" href="#17">17</a>  <em class="comment"> * limitations under the License.</em>
 <a name="18" href="#18">18</a>  <em class="comment"> */</em>
 <a name="19" href="#19">19</a>  
-<a name="20" href="#20">20</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html">AddressDAOException</a> <strong>extends</strong> Exception {
+<a name="20" href="#20">20</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDaoException.html">AddressDaoException</a> <strong>extends</strong> Exception {
 <a name="21" href="#21">21</a>    
-<a name="22" href="#22">22</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html">AddressDAOException</a>() {
+<a name="22" href="#22">22</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDaoException.html">AddressDaoException</a>() {
 <a name="23" href="#23">23</a>    }
 <a name="24" href="#24">24</a>  
-<a name="25" href="#25">25</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html">AddressDAOException</a>(String message) {
+<a name="25" href="#25">25</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDaoException.html">AddressDaoException</a>(String message) {
 <a name="26" href="#26">26</a>      <strong>super</strong>(message);
 <a name="27" href="#27">27</a>    }
 <a name="28" href="#28">28</a>  
-<a name="29" href="#29">29</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html">AddressDAOException</a>(String message, Throwable cause) {
+<a name="29" href="#29">29</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDaoException.html">AddressDaoException</a>(String message, Throwable cause) {
 <a name="30" href="#30">30</a>      <strong>super</strong>(message, cause);
 <a name="31" href="#31">31</a>    }
 <a name="32" href="#32">32</a>  
-<a name="33" href="#33">33</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAOException.html">AddressDAOException</a>(Throwable cause) {
+<a name="33" href="#33">33</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDaoException.html">AddressDaoException</a>(Throwable cause) {
 <a name="34" href="#34">34</a>      <strong>super</strong>(cause);
 <a name="35" href="#35">35</a>    }
 <a name="36" href="#36">36</a>  

Modified: myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDao.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDao.html?rev=1840608&r1=1840607&r2=1840608&view=diff
==============================================================================
--- myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDao.html (original)
+++ myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/AddressDao.html Tue Sep 11 20:41:03 2018
@@ -1,48 +1,49 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-<title>AddressDao xref</title>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AddressDAO xref</title>
 <link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
 </head>
 <body>
-<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/AddressDao.html">View Javadoc</a></div><pre>
-<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
-<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
-<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
-<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
-<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
-<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
-<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
-<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
-<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *</em>
-<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
-<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> *</em>
-<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
-<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
-<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
-<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
-<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
-<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <em class="jxr_comment"> * under the License.</em>
-<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <em class="jxr_comment"> */</em>
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  
-<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.example.addressbook;
-<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
-<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.util.List;
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
-<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDao.html">AddressDao</a> {
-<a class="jxr_linenumber" name="L25" href="#L25">25</a>  
-<a class="jxr_linenumber" name="L26" href="#L26">26</a>    <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> updateAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address);
-<a class="jxr_linenumber" name="L27" href="#L27">27</a>  
-<a class="jxr_linenumber" name="L28" href="#L28">28</a>    List&lt;Address&gt; findAddresses(String filter);
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>    List&lt;Address&gt; findAddresses(String filter, String column, <strong class="jxr_keyword">boolean</strong> order);
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>    <strong class="jxr_keyword">void</strong> removeAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address);
-<a class="jxr_linenumber" name="L33" href="#L33">33</a>  
-<a class="jxr_linenumber" name="L34" href="#L34">34</a>    <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> getAddress(Integer id);
-<a class="jxr_linenumber" name="L35" href="#L35">35</a>  }
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/AddressDAO.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> org.apache.myfaces.tobago.example.addressbook;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em class="comment">/*</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * this work for additional information regarding copyright ownership.</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="8" href="#8">8</a>   <em class="comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="9" href="#9">9</a>   <em class="comment"> * the License.  You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a>  <em class="comment"> *</em>
+<a name="11" href="#11">11</a>  <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="12" href="#12">12</a>  <em class="comment"> *</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a>  <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a>  <em class="comment"> */</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <em class="comment">/*</em>
+<a name="21" href="#21">21</a>  <em class="comment"> * Created 29.11.2004 17:36:20.</em>
+<a name="22" href="#22">22</a>  <em class="comment"> * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $</em>
+<a name="23" href="#23">23</a>  <em class="comment"> */</em>
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <strong>import</strong> java.util.List;
+<a name="26" href="#26">26</a>  
+<a name="27" href="#27">27</a>  <strong>public</strong> <strong>interface</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAO.html">AddressDAO</a> {
+<a name="28" href="#28">28</a>  
+<a name="29" href="#29">29</a>    <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> updateAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) throws AddressDAOException;
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>    List&lt;Address> findAddresses() throws AddressDAOException;
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>    <strong>void</strong> removeAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) throws AddressDAOException;
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>    <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> getAddress(Integer id);
+<a name="36" href="#36">36</a>  }
 </pre>
-<hr/>
-<div id="footer">Copyright &#169; 2002&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
-</body>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>
+

Modified: myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html?rev=1840608&r1=1840607&r2=1840608&view=diff
==============================================================================
--- myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html (original)
+++ myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html Tue Sep 11 20:41:03 2018
@@ -1,93 +1,104 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>InMemoryAddressDAO xref</title>
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>InMemoryAddressDao xref</title>
 <link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
 </head>
 <body>
-<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html">View Javadoc</a></div><pre>
-
-<a name="1" href="#1">1</a>   <strong>package</strong> org.apache.myfaces.tobago.example.addressbook;
-<a name="2" href="#2">2</a>   
-<a name="3" href="#3">3</a>   <em class="comment">/*</em>
-<a name="4" href="#4">4</a>   <em class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
-<a name="5" href="#5">5</a>   <em class="comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
-<a name="6" href="#6">6</a>   <em class="comment"> * this work for additional information regarding copyright ownership.</em>
-<a name="7" href="#7">7</a>   <em class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
-<a name="8" href="#8">8</a>   <em class="comment"> * (the "License"); you may not use this file except in compliance with</em>
-<a name="9" href="#9">9</a>   <em class="comment"> * the License.  You may obtain a copy of the License at</em>
-<a name="10" href="#10">10</a>  <em class="comment"> *</em>
-<a name="11" href="#11">11</a>  <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
-<a name="12" href="#12">12</a>  <em class="comment"> *</em>
-<a name="13" href="#13">13</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
-<a name="14" href="#14">14</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
-<a name="15" href="#15">15</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
-<a name="16" href="#16">16</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
-<a name="17" href="#17">17</a>  <em class="comment"> * limitations under the License.</em>
-<a name="18" href="#18">18</a>  <em class="comment"> */</em>
-<a name="19" href="#19">19</a>  
-<a name="20" href="#20">20</a>  <em class="comment">/*</em>
-<a name="21" href="#21">21</a>  <em class="comment"> * Created 29.11.2004 17:36:20.</em>
-<a name="22" href="#22">22</a>  <em class="comment"> * $Id: Controller.java,v 1.2 2005/08/10 11:57:55 lofwyr Exp $</em>
-<a name="23" href="#23">23</a>  <em class="comment"> */</em>
-<a name="24" href="#24">24</a>  
-<a name="25" href="#25">25</a>  <strong>import</strong> org.apache.commons.logging.Log;
-<a name="26" href="#26">26</a>  <strong>import</strong> org.apache.commons.logging.LogFactory;
-<a name="27" href="#27">27</a>  
-<a name="28" href="#28">28</a>  <strong>import</strong> java.util.ArrayList;
-<a name="29" href="#29">29</a>  <strong>import</strong> java.util.Collections;
-<a name="30" href="#30">30</a>  <strong>import</strong> java.util.Iterator;
-<a name="31" href="#31">31</a>  <strong>import</strong> java.util.List;
-<a name="32" href="#32">32</a>  
-<a name="33" href="#33">33</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html">InMemoryAddressDAO</a> implements <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDAO.html">AddressDAO</a> {
-<a name="34" href="#34">34</a>  
-<a name="35" href="#35">35</a>    <strong>private</strong> <strong>static</strong> <strong>final</strong> Log LOG = LogFactory.getLog(InMemoryAddressDAO.<strong>class</strong>);
-<a name="36" href="#36">36</a>  
-<a name="37" href="#37">37</a>    <strong>private</strong> List&lt;Address> addresses;
-<a name="38" href="#38">38</a>  
-<a name="39" href="#39">39</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDAO.html">InMemoryAddressDAO</a>() {
-<a name="40" href="#40">40</a>      addresses = <strong>new</strong> ArrayList&lt;Address>();
-<a name="41" href="#41">41</a>    }
-<a name="42" href="#42">42</a>  
-<a name="43" href="#43">43</a>    <strong>public</strong> <strong>synchronized</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> updateAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) {
-<a name="44" href="#44">44</a>      LOG.debug(<span class="string">"Trying address: "</span>+address);
-<a name="45" href="#45">45</a>      <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> storedAddress = getAddress(address.getId());
-<a name="46" href="#46">46</a>      <strong>if</strong> (storedAddress == <strong>null</strong>) {
-<a name="47" href="#47">47</a>        address.setId(addresses.size()+1);
-<a name="48" href="#48">48</a>        LOG.debug(<span class="string">"Creating address: "</span>+address);
-<a name="49" href="#49">49</a>        addresses.add(address);
-<a name="50" href="#50">50</a>      } <strong>else</strong> {
-<a name="51" href="#51">51</a>        LOG.debug(<span class="string">"Updating address : "</span>+address);
-<a name="52" href="#52">52</a>        LOG.debug(<span class="string">"Stored address is: "</span>+storedAddress);
-<a name="53" href="#53">53</a>        storedAddress.fill(address);
-<a name="54" href="#54">54</a>      }
-<a name="55" href="#55">55</a>      <strong>return</strong> address;
-<a name="56" href="#56">56</a>    }
-<a name="57" href="#57">57</a>  
-<a name="58" href="#58">58</a>    <strong>public</strong> <strong>synchronized</strong> List&lt;Address> findAddresses() {
-<a name="59" href="#59">59</a>      LOG.debug(<span class="string">"Find addresses: "</span>+addresses);
-<a name="60" href="#60">60</a>      <strong>return</strong> Collections.unmodifiableList(addresses);
-<a name="61" href="#61">61</a>    }
-<a name="62" href="#62">62</a>  
-<a name="63" href="#63">63</a>    <strong>public</strong> <strong>synchronized</strong> <strong>void</strong> removeAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) {
-<a name="64" href="#64">64</a>      Iterator&lt;Address> it = addresses.iterator();
-<a name="65" href="#65">65</a>      <strong>while</strong> (it.hasNext()) {
-<a name="66" href="#66">66</a>        <strong>if</strong> (it.next().getId() == address.getId()) {
-<a name="67" href="#67">67</a>          it.remove();
-<a name="68" href="#68">68</a>        }
-<a name="69" href="#69">69</a>      }
-<a name="70" href="#70">70</a>    }
-<a name="71" href="#71">71</a>  
-<a name="72" href="#72">72</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> getAddress(Integer id) {
-<a name="73" href="#73">73</a>      <strong>for</strong> (Address address : addresses) {
-<a name="74" href="#74">74</a>        <strong>if</strong> (address.getId() == id) {
-<a name="75" href="#75">75</a>          <strong>return</strong> address;
-<a name="76" href="#76">76</a>        }
-<a name="77" href="#77">77</a>      }
-<a name="78" href="#78">78</a>      <strong>return</strong> <strong>null</strong>;
-<a name="79" href="#79">79</a>    }
-<a name="80" href="#80">80</a>  }
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDao.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.example.addressbook;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> org.slf4j.Logger;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.slf4j.LoggerFactory;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> javax.enterprise.context.ApplicationScoped;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> javax.enterprise.inject.Alternative;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> java.io.Serializable;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> java.util.Collections;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> java.util.Iterator;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  @Alternative
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  @ApplicationScoped
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDao.html">InMemoryAddressDao</a> <strong class="jxr_keyword">implements</strong> AddressDao, Serializable {
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = LoggerFactory.getLogger(InMemoryAddressDao.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>    <strong class="jxr_keyword">private</strong> List&lt;Address&gt; addresses;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/InMemoryAddressDao.html">InMemoryAddressDao</a>() {
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      addresses = <strong class="jxr_keyword">new</strong> ArrayList&lt;Address&gt;();
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>    }
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>    @Override
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">synchronized</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> updateAddress(<strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) {
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>      LOG.debug(<span class="jxr_string">"Trying address: "</span>+address);
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> storedAddress = getAddress(address.getId());
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>      <strong class="jxr_keyword">if</strong> (storedAddress == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>        address.setId(addresses.size()+1);
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>        LOG.debug(<span class="jxr_string">"Creating address: "</span>+address);
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>        addresses.add(address);
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>      } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>        LOG.debug(<span class="jxr_string">"Updating address : "</span>+address);
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>        LOG.debug(<span class="jxr_string">"Stored address is: "</span>+storedAddress);
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>        storedAddress.fill(address);
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      }
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      <strong class="jxr_keyword">return</strong> address;
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>    }
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>  
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>    @Override
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>    <strong class="jxr_keyword">public</strong> List&lt;Address&gt; findAddresses(<strong class="jxr_keyword">final</strong> String filter, <strong class="jxr_keyword">final</strong> String column, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> order) {
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>      <strong class="jxr_keyword">return</strong> findAddresses(filter);
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>    }
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>    @Override
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">synchronized</strong> List&lt;Address&gt; findAddresses(<strong class="jxr_keyword">final</strong> String filter) {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      LOG.debug(<span class="jxr_string">"Find addresses: "</span>+addresses);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong class="jxr_keyword">return</strong> Collections.unmodifiableList(addresses);
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>    }
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>  
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>    @Override
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">synchronized</strong> <strong class="jxr_keyword">void</strong> removeAddress(<strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) {
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>      <strong class="jxr_keyword">final</strong> Iterator&lt;Address&gt; it = addresses.iterator();
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      <strong class="jxr_keyword">while</strong> (it.hasNext()) {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>        <strong class="jxr_keyword">if</strong> (it.next().getId().equals(address.getId())) {
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>          it.remove();
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>        }
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>      }
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>    }
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>  
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>    @Override
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> getAddress(<strong class="jxr_keyword">final</strong> Integer id) {
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Address address : addresses) {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>        <strong class="jxr_keyword">if</strong> (address.getId().equals(id)) {
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>          <strong class="jxr_keyword">return</strong> address;
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>        }
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>      }
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>      <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>    }
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>  }
 </pre>
-<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
 </html>
-

Modified: myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/JpaAddressDao.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/JpaAddressDao.html?rev=1840608&r1=1840607&r2=1840608&view=diff
==============================================================================
--- myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/JpaAddressDao.html (original)
+++ myfaces/site/publish/tobago/tobago-example/tobago-example-addressbook/xref/org/apache/myfaces/tobago/example/addressbook/JpaAddressDao.html Tue Sep 11 20:41:03 2018
@@ -1,115 +1,74 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-<title>JpaAddressDao xref</title>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>JpaAddressDAO xref</title>
 <link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
 </head>
 <body>
-<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/JpaAddressDao.html">View Javadoc</a></div><pre>
-<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_comment">/*</em>
-<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
-<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
-<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
-<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
-<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
-<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
-<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
-<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *</em>
-<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
-<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> *</em>
-<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
-<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
-<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
-<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
-<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
-<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <em class="jxr_comment"> * under the License.</em>
-<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <em class="jxr_comment"> */</em>
-<a class="jxr_linenumber" name="L19" href="#L19">19</a>  
-<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.example.addressbook;
-<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
-<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> org.slf4j.Logger;
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.slf4j.LoggerFactory;
-<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em class="jxr_comment">//import org.springframework.transaction.annotation.Transactional;</em>
-<a class="jxr_linenumber" name="L25" href="#L25">25</a>  
-<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> javax.annotation.sql.DataSourceDefinition;
-<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> javax.enterprise.context.ApplicationScoped;
-<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> javax.persistence.EntityManager;
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> javax.persistence.PersistenceContext;
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> javax.persistence.Query;
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> java.io.Serializable;
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> java.util.List;
-<a class="jxr_linenumber" name="L33" href="#L33">33</a>  
-<a class="jxr_linenumber" name="L34" href="#L34">34</a>  @DataSourceDefinition(
-<a class="jxr_linenumber" name="L35" href="#L35">35</a>      name = <span class="jxr_string">"addressBookDataSource"</span>,
-<a class="jxr_linenumber" name="L36" href="#L36">36</a>      url = <span class="jxr_string">"jdbc:derby:target/addressDB;create=true"</span>,
-<a class="jxr_linenumber" name="L37" href="#L37">37</a>      className = <span class="jxr_string">"org.apache.derby.jdbc.EmbeddedDriver"</span>
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>  )
-<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em class="jxr_comment">//@Transactional</em>
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>  @ApplicationScoped
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/JpaAddressDao.html">JpaAddressDao</a> <strong class="jxr_keyword">implements</strong> AddressDao, Serializable {
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>  
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = LoggerFactory.getLogger(JpaAddressDao.<strong class="jxr_keyword">class</strong>);
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>  
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>    @PersistenceContext(unitName = <span class="jxr_string">"addressBook"</span>)
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>    <strong class="jxr_keyword">private</strong> EntityManager entityManager;
-<a class="jxr_linenumber" name="L47" href="#L47">47</a>  
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>    @Override
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> updateAddress(<strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) {
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>      <strong class="jxr_keyword">if</strong> (address.getId() == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>        entityManager.persist(address);
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>      } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>        <strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Picture.html">Picture</a> picture = address.getPicture();
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>        <strong class="jxr_keyword">if</strong> (picture != <strong class="jxr_keyword">null</strong> &amp;&amp; picture.getId() == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>          entityManager.persist(picture);
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>        }
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>        entityManager.merge(address);
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>      }
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>      <strong class="jxr_keyword">return</strong> address;
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>    }
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>  <em class="jxr_comment">//  @Transactional(readOnly = true)</em>
-<a class="jxr_linenumber" name="L62" href="#L62">62</a>    @Override
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>    <strong class="jxr_keyword">public</strong> List&lt;Address&gt; findAddresses(<strong class="jxr_keyword">final</strong> String filter) {
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>      <strong class="jxr_keyword">return</strong> findAddresses(filter, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>    }
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>  
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>  <em class="jxr_comment">//  @Transactional(readOnly = true)</em>
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>    @Override
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>    @SuppressWarnings(<span class="jxr_string">"unchecked"</span>)
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>    <strong class="jxr_keyword">public</strong> List&lt;Address&gt; findAddresses(String filter, <strong class="jxr_keyword">final</strong> String column, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> order) {
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>      <strong class="jxr_keyword">final</strong> StringBuilder builder = <strong class="jxr_keyword">new</strong> StringBuilder();
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>      builder.append(<span class="jxr_string">"select a from Address a"</span>);
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>      <strong class="jxr_keyword">if</strong> (filter != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>        <strong class="jxr_keyword">if</strong> (filter.indexOf('_') == -1 &amp;&amp; filter.indexOf('%') == -1) {
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>          filter = <span class="jxr_string">"%"</span> + filter + <span class="jxr_string">"%"</span>;
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>        }
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>        builder.append(<span class="jxr_string">" where a.firstName like '"</span>);
-<a class="jxr_linenumber" name="L78" href="#L78">78</a>        builder.append(filter);
-<a class="jxr_linenumber" name="L79" href="#L79">79</a>        builder.append(<span class="jxr_string">"' or a.lastName like '"</span>);
-<a class="jxr_linenumber" name="L80" href="#L80">80</a>        builder.append(filter);
-<a class="jxr_linenumber" name="L81" href="#L81">81</a>        builder.append(<span class="jxr_string">"'"</span>);
-<a class="jxr_linenumber" name="L82" href="#L82">82</a>      }
-<a class="jxr_linenumber" name="L83" href="#L83">83</a>      <strong class="jxr_keyword">if</strong> (column != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>        builder.append(<span class="jxr_string">" order by a."</span>);
-<a class="jxr_linenumber" name="L85" href="#L85">85</a>        builder.append(column);
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>        builder.append(order ? <span class="jxr_string">" desc"</span> : <span class="jxr_string">" asc"</span>);
-<a class="jxr_linenumber" name="L87" href="#L87">87</a>      }
-<a class="jxr_linenumber" name="L88" href="#L88">88</a>      <strong class="jxr_keyword">final</strong> Query query = entityManager.createQuery(builder.toString());
-<a class="jxr_linenumber" name="L89" href="#L89">89</a>      <strong class="jxr_keyword">return</strong> query.getResultList();
-<a class="jxr_linenumber" name="L90" href="#L90">90</a>    }
-<a class="jxr_linenumber" name="L91" href="#L91">91</a>  
-<a class="jxr_linenumber" name="L92" href="#L92">92</a>    @Override
-<a class="jxr_linenumber" name="L93" href="#L93">93</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> removeAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) {
-<a class="jxr_linenumber" name="L94" href="#L94">94</a>      address = getAddress(address.getId());
-<a class="jxr_linenumber" name="L95" href="#L95">95</a>      entityManager.remove(address);
-<a class="jxr_linenumber" name="L96" href="#L96">96</a>    }
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>  <em class="jxr_comment">//  @Transactional(readOnly = true)</em>
-<a class="jxr_linenumber" name="L98" href="#L98">98</a>    @Override
-<a class="jxr_linenumber" name="L99" href="#L99">99</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> getAddress(<strong class="jxr_keyword">final</strong> Integer id) {
-<a class="jxr_linenumber" name="L100" href="#L100">100</a>     <strong class="jxr_keyword">return</strong> entityManager.find(Address.<strong class="jxr_keyword">class</strong>, id);
-<a class="jxr_linenumber" name="L101" href="#L101">101</a>   }
-<a class="jxr_linenumber" name="L102" href="#L102">102</a> }
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/addressbook/JpaAddressDAO.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> org.apache.myfaces.tobago.example.addressbook;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em class="comment">/*</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * this work for additional information regarding copyright ownership.</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="8" href="#8">8</a>   <em class="comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="9" href="#9">9</a>   <em class="comment"> * the License.  You may obtain a copy of the License at</em>
+<a name="10" href="#10">10</a>  <em class="comment"> *</em>
+<a name="11" href="#11">11</a>  <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="12" href="#12">12</a>  <em class="comment"> *</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="16" href="#16">16</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="17" href="#17">17</a>  <em class="comment"> * limitations under the License.</em>
+<a name="18" href="#18">18</a>  <em class="comment"> */</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong>import</strong> org.springframework.orm.jpa.support.JpaDaoSupport;
+<a name="21" href="#21">21</a>  <strong>import</strong> org.springframework.transaction.annotation.Transactional;
+<a name="22" href="#22">22</a>  <strong>import</strong> org.springframework.stereotype.Repository;
+<a name="23" href="#23">23</a>  <strong>import</strong> org.apache.commons.logging.Log;
+<a name="24" href="#24">24</a>  <strong>import</strong> org.apache.commons.logging.LogFactory;
+<a name="25" href="#25">25</a>  
+<a name="26" href="#26">26</a>  <strong>import</strong> java.util.List;
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  
+<a name="29" href="#29">29</a>  @Repository
+<a name="30" href="#30">30</a>  @Transactional()
+<a name="31" href="#31">31</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/JpaAddressDAO.html">JpaAddressDAO</a> <strong>extends</strong> JpaDaoSupport implements <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/AddressDao.html">AddressDao</a> {
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>    <strong>private</strong> <strong>static</strong> <strong>final</strong> Log LOG = LogFactory.getLog(JpaAddressDAO.<strong>class</strong>);
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> updateAddress(<a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> address) throws AddressDaoException {
+<a name="36" href="#36">36</a>      <strong>if</strong> (address.getId() == <strong>null</strong>) {
+<a name="37" href="#37">37</a>        getJpaTemplate().persist(address);
+<a name="38" href="#38">38</a>      } <strong>else</strong> {
+<a name="39" href="#39">39</a>        <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Picture.html">Picture</a> picture = address.getPicture();
+<a name="40" href="#40">40</a>        <strong>if</strong> (picture != <strong>null</strong> &amp;&amp; picture.getId() == <strong>null</strong>) {
+<a name="41" href="#41">41</a>          getJpaTemplate().persist(picture);
+<a name="42" href="#42">42</a>        }
+<a name="43" href="#43">43</a>        getJpaTemplate().merge(address);
+<a name="44" href="#44">44</a>      }
+<a name="45" href="#45">45</a>      <strong>return</strong> address;
+<a name="46" href="#46">46</a>    }
+<a name="47" href="#47">47</a>  
+<a name="48" href="#48">48</a>    <strong>public</strong> List&lt;Address> findAddresses() throws AddressDaoException {
+<a name="49" href="#49">49</a>      <strong>return</strong> getJpaTemplate().find(<span class="string">"select a from Address a"</span>);
+<a name="50" href="#50">50</a>    }
+<a name="51" href="#51">51</a>  
+<a name="52" href="#52">52</a>    <strong>public</strong>  <strong>void</strong> removeAddress(Address address) throws AddressDaoException {
+<a name="53" href="#53">53</a>      address = getAddress(address.getId());
+<a name="54" href="#54">54</a>      getJpaTemplate().remove(address);
+<a name="55" href="#55">55</a>    }
+<a name="56" href="#56">56</a>  
+<a name="57" href="#57">57</a>  
+<a name="58" href="#58">58</a>    <strong>public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/addressbook/Address.html">Address</a> getAddress(Integer id) {
+<a name="59" href="#59">59</a>      <strong>return</strong> getJpaTemplate().find(Address.<strong>class</strong>, id);
+<a name="60" href="#60">60</a>    }
+<a name="61" href="#61">61</a>  }
 </pre>
-<hr/>
-<div id="footer">Copyright &#169; 2002&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
-</body>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>
+



Mime
View raw message