org.zeroexchange.dao
Interface DAO<K extends Serializable,T extends Persistent>

All Known Subinterfaces:
AssessmentDAO<T>, BusinessQualityDAO, CategoryDAO, CHECreditStatusDAO, CHEPaymentDAO, CityDAO, ContractDAO, CountryDAO, CreditLineDAO, DictionaryItemDAO, IntegerPKDAO<T>, InvitationDAO, LocalCredentialDAO, LocalizableValueDAO, MessageDAO, NeedDAO, OpenIDCredentialDAO, PropertySpecificationDAO, PropertyTypeDAO, ResourceDAO, ResourceTenderDAO<T>, RoleDAO, SkillDAO, StringPKDAO<T>, SupplyDAO
All Known Implementing Classes:
AssessmentDAOImpl, BaseHibernateDAO, BaseIntegerPKDAO, BaseStringPKDAO, BusinessQualityDAOImpl, CategoryDAOImpl, CHECreditStatusDAOImpl, CHEPaymentDAOImpl, CityDAOImpl, ContractDAOImpl, CountryDAOImpl, CreditLineDAOImpl, DefaultLocalCredentialDAO, DefaultOpenIdCredentialDAO, DictionaryItemDAOImpl, InvitationDAOImpl, LocalizableValueDAOImpl, MessageDAOImpl, NeedDAOImpl, PropertySpecificationDAOImpl, PropertyTypeDAOImpl, ResourceDAOImpl, ResourceTenderDAOImpl, RoleDAOImpl, SkillDAOImpl, SupplyDAOImpl

public interface DAO<K extends Serializable,T extends Persistent>

Basic DAO interface.

Author:
black

Method Summary
 T getById(K id)
          Loads entity by id.
 void removeById(K id)
          Removes by id.
 T save(T entity)
          Persists an entity.
 

Method Detail

save

T save(T entity)
Persists an entity.


getById

T getById(K id)
Loads entity by id.


removeById

void removeById(K id)
Removes by id.



Copyright © 2013. All Rights Reserved.