org.openwms.common.integration.jpa
Class LocationGroupDaoImpl

java.lang.Object
  extended by org.openwms.core.integration.jpa.AbstractGenericJpaDao<LocationGroup,java.lang.Long>
      extended by org.openwms.common.integration.jpa.LocationGroupDaoImpl
All Implemented Interfaces:
LocationGroupDao, org.openwms.core.integration.GenericDao<LocationGroup,java.lang.Long>

@Repository(value="locationGroupDao")
public class LocationGroupDaoImpl
extends org.openwms.core.integration.jpa.AbstractGenericJpaDao<LocationGroup,java.lang.Long>
implements LocationGroupDao

A LocationGroupDaoImpl.

Since:
0.1
Version:
$Revision: 1583 $
Author:
Heiko Scherrer
See Also:
AbstractGenericJpaDao, LocationGroupDao

Field Summary
 
Fields inherited from class org.openwms.core.integration.jpa.AbstractGenericJpaDao
logger
 
Fields inherited from interface org.openwms.common.integration.LocationGroupDao
NQ_FIND_ALL, NQ_FIND_BY_NAME
 
Fields inherited from interface org.openwms.core.integration.GenericDao
FIND_ALL, FIND_BY_ID
 
Constructor Summary
LocationGroupDaoImpl()
           
 
Method Summary
protected  void beforeUpdate(LocationGroup entity)
          Update the date of last change before update.
protected  java.lang.String getFindAllQuery()
           
protected  java.lang.String getFindByUniqueIdQuery()
           
 
Methods inherited from class org.openwms.core.integration.jpa.AbstractGenericJpaDao
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

LocationGroupDaoImpl

public LocationGroupDaoImpl()
Method Detail

getFindAllQuery

protected java.lang.String getFindAllQuery()
Specified by:
getFindAllQuery in class org.openwms.core.integration.jpa.AbstractGenericJpaDao<LocationGroup,java.lang.Long>
Returns:
Name of the query
See Also:
AbstractGenericJpaDao.getFindAllQuery()

getFindByUniqueIdQuery

protected java.lang.String getFindByUniqueIdQuery()
Specified by:
getFindByUniqueIdQuery in class org.openwms.core.integration.jpa.AbstractGenericJpaDao<LocationGroup,java.lang.Long>
Returns:
Name of the query
See Also:
AbstractGenericJpaDao.getFindByUniqueIdQuery()

beforeUpdate

protected void beforeUpdate(LocationGroup entity)
Update the date of last change before update.

Overrides:
beforeUpdate in class org.openwms.core.integration.jpa.AbstractGenericJpaDao<LocationGroup,java.lang.Long>
Parameters:
entity - LocationGroup to be updated


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