org.openwms.core.integration.jpa
Class I18nRepositoryImpl
java.lang.Object
org.openwms.core.integration.jpa.AbstractGenericJpaDao<I18n,Long>
org.openwms.core.integration.jpa.I18nRepositoryImpl
- All Implemented Interfaces:
- GenericDao<I18n,Long>, I18nRepository
@Transactional(propagation=MANDATORY)
@Repository(value="i18nRepo")
public class I18nRepositoryImpl
- extends AbstractGenericJpaDao<I18n,Long>
- implements I18nRepository
An I18nRepositoryImpl is responsible to find and retrieve i18n translation
from the persistent storage. It can be injected by name
"i18nRepo".
All methods have to be invoked within an active transaction context.
- Since:
- 0.1
- Version:
- $Revision: 1541 $
- Author:
- Heiko Scherrer
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
I18nRepositoryImpl
public I18nRepositoryImpl()
getFindAllQuery
protected String getFindAllQuery()
- Returns the name of the
NamedQuery
to find all Entity
classes.
- Specified by:
getFindAllQuery
in class AbstractGenericJpaDao<I18n,Long>
- Returns:
- Name of the query
- See Also:
AbstractGenericJpaDao.getFindAllQuery()
getFindByUniqueIdQuery
protected String getFindByUniqueIdQuery()
- Returns the name of the
NamedQuery
to find an Entity by the
business key.
- Specified by:
getFindByUniqueIdQuery
in class AbstractGenericJpaDao<I18n,Long>
- Returns:
- Name of the query
- See Also:
AbstractGenericJpaDao.getFindByUniqueIdQuery()
Copyright © 2005-2011 openwms.org. All Rights Reserved.