01: /* Copyright (c) JForum Team
02: * All rights reserved.
03: *
04: * Redistribution and use in source and binary forms,
05: * with or without modification, are permitted provided
06: * that the following conditions are met:
07: *
08: * 1) Redistributions of source code must retain the above
09: * 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;
46: import java.util.List;
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.6 2006/08/20 22:47:22 rafaelsteil Exp $
54: */
55: public interface SummaryDAO {
56: public List selectLastPosts(Date firstDate, Date lastDate);
57:
58: public List listRecipients();
59: }
|