public class TranslationEntityManagerImpl extends AbstractEntityManager<TranslationEntity> implements TranslationEntityManager
Modifier and Type | Field and Description |
---|---|
protected TranslationDataManager |
translationDataManager |
configuration
Constructor and Description |
---|
TranslationEntityManagerImpl(PlatformEngineConfiguration configuration,
TranslationDataManager translationDataManager) |
Modifier and Type | Method and Description |
---|---|
TranslationQuery |
createTranslationQuery() |
void |
deleteByScopeIdAndScopeType(String scopeId,
String scopeType) |
TranslationEntity |
findByScopeIdScopeTypeKeyAndLocale(String scopeId,
String scopeType,
String key,
String locale) |
long |
findTranslationCountByQueryCriteria(TranslationQuery translationQuery) |
List<Translation> |
findTranslationsByQueryCriteria(TranslationQuery translationQuery) |
List<TranslationEntity> |
findTranslationsForScopeIdAndScopeType(String scopeId,
String scopeType) |
protected org.flowable.common.engine.impl.persistence.entity.data.DataManager<TranslationEntity> |
getDataManager() |
create, delete, delete, delete, findById, getCommandContext, getSession, insert, insert, update, update
protected TranslationDataManager translationDataManager
public TranslationEntityManagerImpl(PlatformEngineConfiguration configuration, TranslationDataManager translationDataManager)
protected org.flowable.common.engine.impl.persistence.entity.data.DataManager<TranslationEntity> getDataManager()
getDataManager
in class AbstractEntityManager<TranslationEntity>
public TranslationQuery createTranslationQuery()
createTranslationQuery
in interface TranslationEntityManager
public TranslationEntity findByScopeIdScopeTypeKeyAndLocale(String scopeId, String scopeType, String key, String locale)
findByScopeIdScopeTypeKeyAndLocale
in interface TranslationEntityManager
public List<TranslationEntity> findTranslationsForScopeIdAndScopeType(String scopeId, String scopeType)
findTranslationsForScopeIdAndScopeType
in interface TranslationEntityManager
public List<Translation> findTranslationsByQueryCriteria(TranslationQuery translationQuery)
findTranslationsByQueryCriteria
in interface TranslationEntityManager
public long findTranslationCountByQueryCriteria(TranslationQuery translationQuery)
findTranslationCountByQueryCriteria
in interface TranslationEntityManager
public void deleteByScopeIdAndScopeType(String scopeId, String scopeType)
deleteByScopeIdAndScopeType
in interface TranslationEntityManager
Copyright © 2019. All rights reserved.