org.shredzone.repowatch.repository.hib
Class BlacklistDAOHibImpl

java.lang.Object
  extended by org.shredzone.repowatch.repository.hib.BaseDAOHibImpl<Blacklist>
      extended by org.shredzone.repowatch.repository.hib.BlacklistDAOHibImpl
All Implemented Interfaces:
BaseDAO<Blacklist>, BlacklistDAO

@Repository
@Transactional
public class BlacklistDAOHibImpl
extends BaseDAOHibImpl<Blacklist>
implements BlacklistDAO

A Hibernate implementation of BlacklistDAO.

Version:
$Revision: 328 $

Constructor Summary
BlacklistDAOHibImpl()
           
 
Method Summary
 Blacklist fetch(long id)
          Fetches the entity with the given ID.
 List<Blacklist> findAllBlacklists()
          Returns a set of all blacklists.
 
Methods inherited from class org.shredzone.repowatch.repository.hib.BaseDAOHibImpl
delete, getCurrentSession, insert, merge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.shredzone.repowatch.repository.BaseDAO
delete, insert, merge
 

Constructor Detail

BlacklistDAOHibImpl

public BlacklistDAOHibImpl()
Method Detail

fetch

@Transactional(readOnly=true)
public Blacklist fetch(long id)
Description copied from interface: BaseDAO
Fetches the entity with the given ID.

Specified by:
fetch in interface BaseDAO<Blacklist>
Parameters:
id - Entity ID
Returns:
Entity

findAllBlacklists

@Transactional(readOnly=true)
public List<Blacklist> findAllBlacklists()
Description copied from interface: BlacklistDAO
Returns a set of all blacklists.

Specified by:
findAllBlacklists in interface BlacklistDAO
Returns:
List of all Blacklist entities.


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