org.zeroexchange.dao.resource
Class LocalizableValueDAOImpl

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
          extended by org.zeroexchange.dao.BaseIntegerPKDAO<LocalizableValue>
              extended by org.zeroexchange.dao.resource.LocalizableValueDAOImpl
All Implemented Interfaces:
DAO<Integer,LocalizableValue>, IntegerPKDAO<LocalizableValue>, LocalizableValueDAO

public class LocalizableValueDAOImpl
extends BaseIntegerPKDAO<LocalizableValue>
implements LocalizableValueDAO

The localizable value DAO.

Author:
black

Constructor Summary
LocalizableValueDAOImpl()
           
 
Method Summary
protected  Class<LocalizableValue> getEntityClass()
          
 String getValue(Integer valueId, String locale)
          Returns the localized string value.
 
Methods inherited from class org.zeroexchange.dao.BaseHibernateDAO
getById, removeById, save
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Constructor Detail

LocalizableValueDAOImpl

public LocalizableValueDAOImpl()
Method Detail

getEntityClass

protected Class<LocalizableValue> getEntityClass()

Specified by:
getEntityClass in class BaseHibernateDAO<Integer,LocalizableValue>

getValue

public String getValue(Integer valueId,
                       String locale)
Returns the localized string value.

Specified by:
getValue in interface LocalizableValueDAO


Copyright © 2013. All Rights Reserved.