KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > jforum > dao > SummaryDAO


1 /* Copyright (c) Rafael Steil
2  * All rights reserved.
3  *
4  * Redistribution and use in source and binary forms,
5  * with or without modification, are permitted provided
6  * that the following conditions are met:
7  *
8  * 1) Redistributions of source code must retain the above
9  * copyright notice, this list of conditions and the
10  * following disclaimer.
11  * 2) Redistributions in binary form must reproduce the
12  * above copyright notice, this list of conditions and
13  * the following disclaimer in the documentation and/or
14  * other materials provided with the distribution.
15  * 3) Neither the name of "Rafael Steil" nor
16  * the names of its contributors may be used to endorse
17  * or promote products derived from this software without
18  * specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
21  * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
22  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
23  * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
24  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
26  * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
27  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
31  * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
33  * IN CONTRACT, STRICT LIABILITY, OR TORT
34  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
35  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
36  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
37  *
38  * This file creation date: Jul 19, 2005
39  * The JForum Project
40  * http://www.jforum.net
41  *
42  */

43 package net.jforum.dao;
44
45 import java.util.Date JavaDoc;
46 import java.util.List JavaDoc;
47
48 /**
49  * Load sumary of posts from the data Base
50  *
51  * @author Franklin S. Dattein (<a HREF="mailto:franklin@portaljava.com">franklin@portaljava.com</a>)
52  *
53  * @version $Id: SummaryDAO.java,v 1.4 2005/07/31 04:07:33 rafaelsteil Exp $
54  */

55 public interface SummaryDAO
56 {
57     public List JavaDoc selectLastPosts(Date JavaDoc firstDate, Date JavaDoc lastDate) throws Exception JavaDoc;
58
59     public List JavaDoc listRecipients() throws Exception JavaDoc;
60 }
61
Popular Tags