org.promotego.dao.interfaces
Interface Dao<T>

All Known Subinterfaces:
AddressDao, LocationDao, LocationTypeDao, OfferedGameDao, RadiusSearchDao<T>, ScheduledGameDao, UserDao, ValidationRecordDao
All Known Implementing Classes:
HibernateAddressDao, HibernateDaoSupport, HibernateLocationDao, HibernateLocationTypeDao, HibernateOfferedGameDao, HibernateRadiusSearchDaoSupport, HibernateScheduledGameDao, HibernateUserDao, HibernateValidationRecordDao

public interface Dao<T>


Method Summary
 void create(java.util.List<T> teeList)
           
 void create(T theTee)
           
 void delete(T theTee)
           
 void deleteAll()
           
 java.util.List<T> findAll()
           
 T getById(java.lang.Long id)
           
 int getCount()
           
 void reattach(T theTee)
           
 void saveOrUpdate(T theTee)
           
 void update(T theTee)
           
 

Method Detail

create

void create(T theTee)

create

void create(java.util.List<T> teeList)

getById

T getById(java.lang.Long id)

delete

void delete(T theTee)

deleteAll

void deleteAll()

findAll

java.util.List<T> findAll()

reattach

void reattach(T theTee)

update

void update(T theTee)

saveOrUpdate

void saveOrUpdate(T theTee)

getCount

int getCount()


Copyright © 2007. All Rights Reserved.