org.directdemocracyportal.democracy.service.dao
Interface PortalDAO

Package class diagram package PortalDAO
All Superinterfaces:
GenericDAO<Portal,java.lang.Long>
All Known Implementing Classes:
HibernatePortalDAO

public interface PortalDAO
extends GenericDAO<Portal,java.lang.Long>

The Interface PortalDAO.


Method Summary
Modifier and Type Method and Description
 Portal findByName(java.lang.String name)
          Find by name.
 GovernmentPortal findGovernmentPortal(Government government)
          Find government portal.
 Portal findNationalByCountry(Country country)
          Find national by country.
 Portal findRegionalByRegion(Region region)
          Find regional by region.
 
Methods inherited from interface org.directdemocracyportal.democracy.service.dao.GenericDAO
delete, getAll, load, save
 

Method Detail

findByName

Portal findByName(java.lang.String name)
                  throws org.springframework.dao.DataAccessException
Find by name.

Parameters:
name - the name
Returns:
the portal
Throws:
org.springframework.dao.DataAccessException - the data access exception

findGovernmentPortal

GovernmentPortal findGovernmentPortal(Government government)
Find government portal.

Parameters:
government - the government
Returns:
the government portal

findNationalByCountry

Portal findNationalByCountry(Country country)
Find national by country.

Parameters:
country - the country
Returns:
the portal

findRegionalByRegion

Portal findRegionalByRegion(Region region)
Find regional by region.

Parameters:
region - the region
Returns:
the portal


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.