com.hack23.cia.service.impl.commondao.api
Interface BallotDAO

Package class diagram package BallotDAO
All Superinterfaces:
GenericDAO<BallotData,Long>
All Known Implementing Classes:
BallotDAOImpl

public interface BallotDAO
extends GenericDAO<BallotData,Long>

The Interface BallotDAO.


Method Summary
Modifier and Type Method and Description
 List<BallotData> getAll(ParliamentYearData parliamentYearData)
          Gets the all.
 List<BallotData> getAllCompleted(ParliamentYearData parliamentYearData)
          Gets the all completed.
 List<BallotData> getAllCreated(ParliamentYearData parliamentYearData)
          Gets the all created.
 List<BallotData> getAllOrderedByWeek()
          Gets the all ordered by week.
 BallotData getLast()
          Gets the last.
 
Methods inherited from interface com.hack23.cia.service.impl.commondao.api.GenericDAO
delete, getAll, loadById, save
 

Method Detail

getAll

@Transactional(readOnly=true)
List<BallotData> getAll(ParliamentYearData parliamentYearData)
Gets the all.

Parameters:
parliamentYearData - the parliament year data
Returns:
the all

getAllCompleted

@Transactional(readOnly=true)
List<BallotData> getAllCompleted(ParliamentYearData parliamentYearData)
Gets the all completed.

Parameters:
parliamentYearData - the parliament year data
Returns:
the all completed

getAllCreated

@Transactional(readOnly=true)
List<BallotData> getAllCreated(ParliamentYearData parliamentYearData)
Gets the all created.

Parameters:
parliamentYearData - the parliament year data
Returns:
the all created

getAllOrderedByWeek

@Transactional(readOnly=true)
List<BallotData> getAllOrderedByWeek()
Gets the all ordered by week.

Returns:
the all ordered by week

getLast

@Transactional(readOnly=true)
BallotData getLast()
Gets the last.

Returns:
the last


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.