1
2
3
4
5
6 package com.hack23.cia.service.dao;
7
8 import java.util.List;
9
10 import com.hack23.cia.model.sweden.impl.Ballot;
11
12 /***
13 * The Interface BallotDAO.
14 */
15 public interface BallotDAO extends GenericDAO<Ballot, Long> {
16
17 /***
18 * Gets the all completed.
19 *
20 * @return the all completed
21 */
22 List<Ballot> getAllCompleted();
23
24 /***
25 * Gets the all created.
26 *
27 * @return the all created
28 */
29 List<Ballot> getAllCreated();
30
31 /***
32 * Gets the all ordered by week.
33 *
34 * @return the all ordered by week
35 */
36 List<Ballot> getAllOrderedByWeek();
37
38 /***
39 * Gets the last.
40 *
41 * @return the last
42 */
43 Ballot getLast();
44 }