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

Package class diagram package PoliticalPartyDAO
All Superinterfaces:
GenericDAO<PoliticalPartyData,Long>
All Known Implementing Classes:
PoliticalPartyDAOImpl

public interface PoliticalPartyDAO
extends GenericDAO<PoliticalPartyData,Long>

The Interface PoliticalPartyDAO.


Method Summary
Modifier and Type Method and Description
 PoliticalPartyData findByName(String name)
          Find by name.
 PoliticalPartyData findByShortCode(String party)
          Find by short code.
 
Methods inherited from interface com.hack23.cia.service.impl.commondao.api.GenericDAO
delete, getAll, loadById, save
 

Method Detail

findByName

@Transactional(readOnly=true)
PoliticalPartyData findByName(String name)
Find by name.

Parameters:
name - the name
Returns:
the political party data

findByShortCode

@Transactional(readOnly=true)
PoliticalPartyData findByShortCode(String party)
Find by short code.

Parameters:
party - the party
Returns:
the political party data


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