com.hack23.cia.service.data.impl
Class LanguageContentDataDAOImpl

Package class diagram package LanguageContentDataDAOImpl
java.lang.Object
  extended by com.hack23.cia.service.data.impl.AbstractGenericDAOImpl<LanguageContentData,Long>
      extended by com.hack23.cia.service.data.impl.LanguageContentDataDAOImpl
All Implemented Interfaces:
AbstractGenericDAO<LanguageContentData,Long>, LanguageContentDataDAO

@Repository(value="LanguageContentDataDAO")
public class LanguageContentDataDAOImpl
extends AbstractGenericDAOImpl<LanguageContentData,Long>
implements LanguageContentDataDAO

The Class LanguageContentDataDAOImpl.


Constructor Summary
LanguageContentDataDAOImpl()
          Instantiates a new language content data dao impl.
 
Method Summary
 LanguageContentData findTranslation(String key, String fromLanguage, String toLanguage)
          Find translation.
protected  javax.persistence.EntityManager getEntityManager()
          Gets the entity manager.
 List<Long> getIdList()
          Gets the id list.
 Long getSize()
          Gets the size.
 
Methods inherited from class com.hack23.cia.service.data.impl.AbstractGenericDAOImpl
addCacheHints, delete, findFirstByProperty, findListByProperty, getAll, getCriteriaBuilder, getMetamodel, getPersistentClass, load, merge, persist, persist
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.service.data.api.AbstractGenericDAO
delete, findFirstByProperty, findListByProperty, getAll, load, merge, persist, persist
 

Constructor Detail

LanguageContentDataDAOImpl

public LanguageContentDataDAOImpl()
Instantiates a new language content data dao impl.

Method Detail

findTranslation

public LanguageContentData findTranslation(String key,
                                           String fromLanguage,
                                           String toLanguage)
Description copied from interface: LanguageContentDataDAO
Find translation.

Specified by:
findTranslation in interface LanguageContentDataDAO
Parameters:
key - the key
fromLanguage - the from language
toLanguage - the to language
Returns:
the language content data

getEntityManager

protected javax.persistence.EntityManager getEntityManager()
Description copied from class: AbstractGenericDAOImpl
Gets the entity manager.

Overrides:
getEntityManager in class AbstractGenericDAOImpl<LanguageContentData,Long>
Returns:
the entity manager

getIdList

public List<Long> getIdList()
Gets the id list.

Returns:
the id list

getSize

public Long getSize()
Description copied from interface: AbstractGenericDAO
Gets the size.

Specified by:
getSize in interface AbstractGenericDAO<LanguageContentData,Long>
Returns:
the size


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.