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

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

@Repository(value="DataDAOImpl")
public class DataDAOImpl
extends AbstractGenericDAOImpl<Data,Long>
implements DataDAO

The Class DataDAOImpl.


Constructor Summary
DataDAOImpl()
          Instantiates a new data dao impl.
 
Method Summary
protected  javax.persistence.EntityManager getEntityManager()
          Gets the entity manager.
 List<String> 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

DataDAOImpl

public DataDAOImpl()
Instantiates a new data dao impl.

Method Detail

getEntityManager

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

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

getIdList

public List<String> getIdList()
Description copied from interface: DataDAO
Gets the id list.

Specified by:
getIdList in interface DataDAO
Returns:
the id list

getSize

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

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


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