org.openwms.core.integration.jpa
Class ModuleDaoImpl
java.lang.Object
org.openwms.core.integration.jpa.AbstractGenericJpaDao<Module,Long>
org.openwms.core.integration.jpa.ModuleDaoImpl
- All Implemented Interfaces:
- GenericDao<Module,Long>, ModuleDao
@Transactional(propagation=MANDATORY)
@Repository(value="moduleDao")
public class ModuleDaoImpl
- extends AbstractGenericJpaDao<Module,Long>
- implements ModuleDao
A ModuleDao is an extension of a AbstractGenericJpaDao
about
functionality regarding Module
s. The stereotype annotation
Repository
marks this class as a DAO in the architecture and enables
exception translation and component scanning. It can be injected by name
"moduleDao".
All methods have to be invoked within an active transaction context.
- Since:
- 0.1
- Version:
- $Revision: 1541 $
- Author:
- Heiko Scherrer
- See Also:
AbstractGenericJpaDao
,
ModuleDao
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 |
COMPONENT_NAME
public static final String COMPONENT_NAME
- Springs component name.
- See Also:
- Constant Field Values
ModuleDaoImpl
public ModuleDaoImpl()
getFindAllQuery
protected String getFindAllQuery()
- Returns the name of the
NamedQuery
to find all Entity
classes.
- Specified by:
getFindAllQuery
in class AbstractGenericJpaDao<Module,Long>
- Returns:
- Name of the query
getFindByUniqueIdQuery
protected String getFindByUniqueIdQuery()
- Returns the name of the
NamedQuery
to find an Entity by the
business key.
- Specified by:
getFindByUniqueIdQuery
in class AbstractGenericJpaDao<Module,Long>
- Returns:
- Name of the query
Copyright © 2005-2011 openwms.org. All Rights Reserved.