org.openwms.common.integration.jpa
Class TransportUnitDaoImpl

java.lang.Object
  extended by org.openwms.core.integration.jpa.AbstractGenericJpaDao<TransportUnit,Long>
      extended by org.openwms.common.integration.jpa.TransportUnitDaoImpl
All Implemented Interfaces:
TransportUnitDao, GenericDao<TransportUnit,Long>

@Repository(value="transportUnitDao")
public class TransportUnitDaoImpl
extends AbstractGenericJpaDao<TransportUnit,Long>
implements TransportUnitDao

A TransportUnitDaoImpl.

Since:
0.1
Version:
$Revision: 1409 $
Author:
Heiko Scherrer
See Also:
AbstractGenericJpaDao, TransportUnitDao

Field Summary
 
Fields inherited from class org.openwms.core.integration.jpa.AbstractGenericJpaDao
logger
 
Fields inherited from interface org.openwms.core.integration.GenericDao
FIND_ALL, FIND_BY_ID
 
Constructor Summary
TransportUnitDaoImpl()
           
 
Method Summary
protected  String getFindAllQuery()
          Returns the name of the NamedQuery to find all Entity classes.
protected  String getFindByUniqueIdQuery()
          Returns the name of the NamedQuery to find an Entity by the business key.
 
Methods inherited from class org.openwms.core.integration.jpa.AbstractGenericJpaDao
beforeUpdate, findAll, findById, findByNamedParameters, findByPositionalParameters, findByUniqueId, getEm, getPersistentClass, persist, remove, save, setPersistentClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openwms.core.integration.GenericDao
findAll, findById, findByNamedParameters, findByPositionalParameters, findByUniqueId, persist, remove, save, setPersistentClass
 

Constructor Detail

TransportUnitDaoImpl

public TransportUnitDaoImpl()
Method Detail

getFindAllQuery

protected String getFindAllQuery()
Description copied from class: AbstractGenericJpaDao
Returns the name of the NamedQuery to find all Entity classes.

Specified by:
getFindAllQuery in class AbstractGenericJpaDao<TransportUnit,Long>
Returns:
Name of the query
See Also:
AbstractGenericJpaDao.getFindAllQuery()

getFindByUniqueIdQuery

protected String getFindByUniqueIdQuery()
Description copied from class: AbstractGenericJpaDao
Returns the name of the NamedQuery to find an Entity by the business key.

Specified by:
getFindByUniqueIdQuery in class AbstractGenericJpaDao<TransportUnit,Long>
Returns:
Name of the query
See Also:
AbstractGenericJpaDao.getFindByUniqueIdQuery()


Copyright © 2005-2011 openwms.org. All Rights Reserved.