org.shredzone.repowatch.repository
Interface DomainDAO

All Superinterfaces:
BaseDAO<Domain>
All Known Implementing Classes:
DomainDAOHibImpl

@Secured(value="IS_AUTHENTICATED_ANONYMOUSLY")
public interface DomainDAO
extends BaseDAO<Domain>

Gives access to the domain management.

Version:
$Revision: 317 $

Method Summary
 List<Domain> findAllDomains()
          Returns a list of all domains registered with the database.
 Domain findDomain(String name, String release)
          Finds a domain with the given name and release string.
 
Methods inherited from interface org.shredzone.repowatch.repository.BaseDAO
delete, fetch, insert, merge
 

Method Detail

findAllDomains

List<Domain> findAllDomains()
Returns a list of all domains registered with the database.

Returns:
List of all Domain entities.

findDomain

Domain findDomain(String name,
                  String release)
Finds a domain with the given name and release string.

Parameters:
name - Name of the domain
release - Release string
Returns:
Domain with that name and release, or null if there is none.


Copyright © 2007-2011 shredzone.org. All Rights Reserved.