Class TranslationQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<TranslationQuery,Translation>
-
- com.flowable.platform.engine.impl.translation.TranslationQueryImpl
-
- All Implemented Interfaces:
TranslationQuery
,Serializable
,CacheAwareQuery<TranslationEntity>
,Query<TranslationQuery,Translation>
,Command<Object>
public class TranslationQueryImpl extends AbstractQuery<TranslationQuery,Translation> implements TranslationQuery, CacheAwareQuery<TranslationEntity>
- Author:
- Filip Hrisafov
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected String
key
protected String
locale
protected String
scopeId
protected String
scopeType
protected String
value
protected String
valueLike
protected String
valueLikeIgnoreCase
-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description TranslationQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
executeCount(CommandContext commandContext)
List<Translation>
executeList(CommandContext commandContext)
String
getId()
String
getKey()
String
getLocale()
String
getScopeId()
String
getScopeType()
String
getValue()
String
getValueLike()
String
getValueLikeIgnoreCase()
TranslationQuery
id(String id)
TranslationQuery
key(String key)
TranslationQuery
locale(String locale)
TranslationQuery
scopeId(String scopeId)
TranslationQuery
scopeType(String scopeType)
TranslationQuery
value(String value)
TranslationQuery
valueLike(String valueLike)
TranslationQuery
valueLikeIgnoreCase(String valueLikeIgnoreCase)
-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
-
-
-
Constructor Detail
-
TranslationQueryImpl
public TranslationQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public TranslationQuery id(String id)
- Specified by:
id
in interfaceTranslationQuery
-
scopeId
public TranslationQuery scopeId(String scopeId)
- Specified by:
scopeId
in interfaceTranslationQuery
-
scopeType
public TranslationQuery scopeType(String scopeType)
- Specified by:
scopeType
in interfaceTranslationQuery
-
key
public TranslationQuery key(String key)
- Specified by:
key
in interfaceTranslationQuery
-
locale
public TranslationQuery locale(String locale)
- Specified by:
locale
in interfaceTranslationQuery
-
value
public TranslationQuery value(String value)
- Specified by:
value
in interfaceTranslationQuery
-
valueLike
public TranslationQuery valueLike(String valueLike)
- Specified by:
valueLike
in interfaceTranslationQuery
-
valueLikeIgnoreCase
public TranslationQuery valueLikeIgnoreCase(String valueLikeIgnoreCase)
- Specified by:
valueLikeIgnoreCase
in interfaceTranslationQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<TranslationQuery,Translation>
-
executeList
public List<Translation> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<TranslationQuery,Translation>
-
getId
public String getId()
- Specified by:
getId
in interfaceCacheAwareQuery<TranslationEntity>
-
getScopeId
public String getScopeId()
-
getScopeType
public String getScopeType()
-
getKey
public String getKey()
-
getLocale
public String getLocale()
-
getValue
public String getValue()
-
getValueLike
public String getValueLike()
-
getValueLikeIgnoreCase
public String getValueLikeIgnoreCase()
-
-