Class AppVariableQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<AppVariableQuery,AppVariable>
-
- com.flowable.app.engine.impl.repository.AppVariableQueryImpl
-
- All Implemented Interfaces:
AppVariableQuery
,Serializable
,Query<AppVariableQuery,AppVariable>
,Command<Object>
public class AppVariableQueryImpl extends AbstractQuery<AppVariableQuery,AppVariable> implements AppVariableQuery, Serializable
- 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
appKey
protected String
id
protected QueryVariableValue
queryVariableValue
protected String
tenantId
protected String
tenantIdLike
protected String
variableName
protected String
variableNameLike
protected boolean
withoutTenantId
-
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 AppVariableQueryImpl()
AppVariableQueryImpl(CommandContext commandContext)
AppVariableQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppVariableQueryImpl
appKey(String appKey)
Query for app variables with the given app key.protected void
ensureVariableInitialized(CommandContext commandContext)
long
executeCount(CommandContext commandContext)
List<AppVariable>
executeList(CommandContext commandContext)
String
getAppKey()
String
getId()
QueryVariableValue
getQueryVariableValue()
String
getTenantId()
String
getTenantIdLike()
String
getVariableName()
String
getVariableNameLike()
AppVariableQueryImpl
id(String id)
Query for the app variable with the given id.boolean
isWithoutTenantId()
AppVariableQuery
orderByVariableName()
Order the result by variable name.AppVariableQueryImpl
tenantId(String tenantId)
Query for app variables with the given tenant id.AppVariableQueryImpl
tenantIdLike(String tenantIdLike)
Query for app variables like the given tenant id.AppVariableQueryImpl
variableName(String variableName)
Query for app variables with the given variable name.AppVariableQueryImpl
variableNameLike(String variableNameLike)
Query for app variables like the given variable name.AppVariableQueryImpl
variableValueEquals(String variableName, Object variableValue)
Query for app variables with the given name and valueAppVariableQueryImpl
variableValueLike(String variableName, String variableValue)
Query for app variables like the given name and valueAppVariableQueryImpl
variableValueLikeIgnoreCase(String variableName, String variableValue)
Query for app variables like the given name and value (case insensitive)AppVariableQueryImpl
variableValueNotEquals(String variableName, Object variableValue)
Query for app variables that don't have the given name and valueAppVariableQueryImpl
withoutTenantId()
Query for app variables without a tenant id.-
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
-
-
-
-
Field Detail
-
id
protected String id
-
appKey
protected String appKey
-
variableName
protected String variableName
-
variableNameLike
protected String variableNameLike
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
queryVariableValue
protected QueryVariableValue queryVariableValue
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Detail
-
AppVariableQueryImpl
public AppVariableQueryImpl()
-
AppVariableQueryImpl
public AppVariableQueryImpl(CommandContext commandContext)
-
AppVariableQueryImpl
public AppVariableQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public AppVariableQueryImpl id(String id)
Description copied from interface:AppVariableQuery
Query for the app variable with the given id.- Specified by:
id
in interfaceAppVariableQuery
-
appKey
public AppVariableQueryImpl appKey(String appKey)
Description copied from interface:AppVariableQuery
Query for app variables with the given app key.- Specified by:
appKey
in interfaceAppVariableQuery
-
variableName
public AppVariableQueryImpl variableName(String variableName)
Description copied from interface:AppVariableQuery
Query for app variables with the given variable name.- Specified by:
variableName
in interfaceAppVariableQuery
-
variableNameLike
public AppVariableQueryImpl variableNameLike(String variableNameLike)
Description copied from interface:AppVariableQuery
Query for app variables like the given variable name.- Specified by:
variableNameLike
in interfaceAppVariableQuery
-
variableValueEquals
public AppVariableQueryImpl variableValueEquals(String variableName, Object variableValue)
Description copied from interface:AppVariableQuery
Query for app variables with the given name and value- Specified by:
variableValueEquals
in interfaceAppVariableQuery
-
variableValueNotEquals
public AppVariableQueryImpl variableValueNotEquals(String variableName, Object variableValue)
Description copied from interface:AppVariableQuery
Query for app variables that don't have the given name and value- Specified by:
variableValueNotEquals
in interfaceAppVariableQuery
-
variableValueLike
public AppVariableQueryImpl variableValueLike(String variableName, String variableValue)
Description copied from interface:AppVariableQuery
Query for app variables like the given name and value- Specified by:
variableValueLike
in interfaceAppVariableQuery
-
variableValueLikeIgnoreCase
public AppVariableQueryImpl variableValueLikeIgnoreCase(String variableName, String variableValue)
Description copied from interface:AppVariableQuery
Query for app variables like the given name and value (case insensitive)- Specified by:
variableValueLikeIgnoreCase
in interfaceAppVariableQuery
-
tenantId
public AppVariableQueryImpl tenantId(String tenantId)
Description copied from interface:AppVariableQuery
Query for app variables with the given tenant id.- Specified by:
tenantId
in interfaceAppVariableQuery
-
tenantIdLike
public AppVariableQueryImpl tenantIdLike(String tenantIdLike)
Description copied from interface:AppVariableQuery
Query for app variables like the given tenant id.- Specified by:
tenantIdLike
in interfaceAppVariableQuery
-
withoutTenantId
public AppVariableQueryImpl withoutTenantId()
Description copied from interface:AppVariableQuery
Query for app variables without a tenant id.- Specified by:
withoutTenantId
in interfaceAppVariableQuery
-
orderByVariableName
public AppVariableQuery orderByVariableName()
Description copied from interface:AppVariableQuery
Order the result by variable name.- Specified by:
orderByVariableName
in interfaceAppVariableQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<AppVariableQuery,AppVariable>
-
executeList
public List<AppVariable> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<AppVariableQuery,AppVariable>
-
ensureVariableInitialized
protected void ensureVariableInitialized(CommandContext commandContext)
-
getId
public String getId()
-
getAppKey
public String getAppKey()
-
getVariableName
public String getVariableName()
-
getVariableNameLike
public String getVariableNameLike()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
getQueryVariableValue
public QueryVariableValue getQueryVariableValue()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
-