@Transactional(propagation=MANDATORY) @Repository(value="locationDao") public class LocationDaoImpl extends AbstractGenericJpaDao<Location,Long> implements LocationDao
AbstractGenericJpaDao,
LocationDao| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_NAME
Springs component name.
|
FIND_ALL, FIND_BY_ID| Constructor and Description |
|---|
LocationDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Location> |
getAllLocations() |
protected String |
getFindAllQuery() |
protected String |
getFindByUniqueIdQuery() |
protected Class<Location> |
getPersistentClass() |
beforeUpdate, findAll, findById, findByNamedParameters, findByPositionalParameters, findByUniqueId, getEm, persist, remove, saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findById, findByNamedParameters, findByPositionalParameters, findByUniqueId, persist, remove, savepublic static final String COMPONENT_NAME
public LocationDaoImpl()
protected String getFindAllQuery()
getFindAllQuery in class AbstractGenericJpaDao<Location,Long>AbstractGenericJpaDao.getFindAllQuery()protected String getFindByUniqueIdQuery()
getFindByUniqueIdQuery in class AbstractGenericJpaDao<Location,Long>AbstractGenericJpaDao.getFindByUniqueIdQuery()@Transactional(readOnly=true) public List<Location> getAllLocations()
getAllLocations in interface LocationDaoLocationDao.getAllLocations()protected Class<Location> getPersistentClass()
getPersistentClass in class AbstractGenericJpaDao<Location,Long>AbstractGenericJpaDao.getPersistentClass()Copyright © 2005–2015 openwms.org. All rights reserved.