org.openwms.core.integration.jpa
Class RoleDaoImpl
java.lang.Object
org.openwms.core.integration.jpa.AbstractGenericJpaDao<Role,Long>
org.openwms.core.integration.jpa.RoleDaoImpl
- All Implemented Interfaces:
- GenericDao<Role,Long>, RoleDao
@Transactional(propagation=MANDATORY)
@Repository(value="roleDao")
public class RoleDaoImpl
- extends AbstractGenericJpaDao<Role,Long>
- implements RoleDao
A RoleDaoImpl is an extension of a AbstractGenericJpaDao
about
functionality regarding Role
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
"roleDao".
All methods have to be invoked within an active transaction context.
- Since:
- 0.1
- Version:
- $Revision: 1541 $
- Author:
- Tina Russell
- See Also:
AbstractGenericJpaDao
,
RoleDao
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
RoleDaoImpl
public RoleDaoImpl()
getFindAllQuery
protected String getFindAllQuery()
- Returns the name of the
NamedQuery
to find all Entity
classes.
- Specified by:
getFindAllQuery
in class AbstractGenericJpaDao<Role,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<Role,Long>
- Returns:
- Name of the query
Copyright © 2005-2011 openwms.org. All Rights Reserved.