org.openwms.common.integration.jpa
Class LocationDaoImpl
java.lang.Object
org.openwms.core.integration.jpa.AbstractGenericJpaDao<Location,Long>
org.openwms.common.integration.jpa.LocationDaoImpl
- All Implemented Interfaces:
- LocationDao, GenericDao<Location,Long>
@Repository(value="locationDao")
public class LocationDaoImpl
- extends AbstractGenericJpaDao<Location,Long>
- implements LocationDao
A LocationDaoImpl.
- Since:
- 0.1
- Version:
- $Revision: 1409 $
- Author:
- Heiko Scherrer
- See Also:
AbstractGenericJpaDao
,
LocationDao
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 |
LocationDaoImpl
public LocationDaoImpl()
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<Location,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<Location,Long>
- Returns:
- Name of the query
- See Also:
AbstractGenericJpaDao.getFindByUniqueIdQuery()
getAllLocations
@Transactional(readOnly=true)
public List<Location> getAllLocations()
- Description copied from interface:
LocationDao
- Retrieve all
Location
s in natural order.
- Specified by:
getAllLocations
in interface LocationDao
- Returns:
- A List of all
Location
s - See Also:
LocationDao.getAllLocations()
Copyright © 2005-2011 openwms.org. All Rights Reserved.