org.openwms.common.integration.jpa
Class LocationGroupDaoImpl
java.lang.Object
org.openwms.core.integration.jpa.AbstractGenericJpaDao<LocationGroup,Long>
org.openwms.common.integration.jpa.LocationGroupDaoImpl
- All Implemented Interfaces:
- LocationGroupDao, GenericDao<LocationGroup,Long>
@Repository(value="locationGroupDao")
public class LocationGroupDaoImpl
- extends AbstractGenericJpaDao<LocationGroup,Long>
- implements LocationGroupDao
A LocationGroupDaoImpl.
- Since:
- 0.1
- Version:
- $Revision: 1583 $
- Author:
- Heiko Scherrer
- See Also:
AbstractGenericJpaDao
,
LocationGroupDao
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 |
LocationGroupDaoImpl
public LocationGroupDaoImpl()
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<LocationGroup,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<LocationGroup,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 AbstractGenericJpaDao<LocationGroup,Long>
- Parameters:
entity
- LocationGroup to be updated
Copyright © 2005-2011 openwms.org. All Rights Reserved.