Package org.flowable.idm.engine.impl
Class TokenQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<TokenQuery,Token>
org.flowable.idm.engine.impl.TokenQueryImpl
- All Implemented Interfaces:
Serializable
,CacheAwareQuery<TokenEntity>
,Query<TokenQuery,
,Token> Command<Object>
,TokenQuery
public class TokenQueryImpl
extends AbstractQuery<TokenQuery,Token>
implements TokenQuery, CacheAwareQuery<TokenEntity>
- Author:
- Tijs Rademakers
- See Also:
-
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
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected Date
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
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
ConstructorsConstructorDescriptionTokenQueryImpl
(CommandContext commandContext) TokenQueryImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlong
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()
getIds()
Only selectToken
s with the given ip address.ipAddressLike
(String ipAddressLike) Only selectToken
s where the ip address matches the given parameter.Order by token date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by token id (needs to be followed byQuery.asc()
orQuery.desc()
).Only selectToken
s with the given token data.tokenDataLike
(String tokenDataLike) Only selectToken
s where the token data matches the given parameter.Only selectToken
s that have a token date on the given date.tokenDateAfter
(Date tokenDateAfter) Only selectToken
s that have a token date after the given date.tokenDateBefore
(Date tokenDateBefore) Only selectToken
s that have a token date before the given date.Only selectToken
s with the given id/Only selectToken
s with the given ids/tokenValue
(String tokenValue) Only selectToken
s with the given token value.Only selectToken
s with the given user agent.userAgentLike
(String userAgentLike) Only selectToken
s where the user agent matches the given parameter.Only selectToken
s with the given user id.userIdLike
(String userIdLike) Only selectToken
s where the user id matches the given parameter.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
-
Field Details
-
id
-
ids
-
tokenValue
-
tokenDate
-
tokenDateBefore
-
tokenDateAfter
-
ipAddress
-
ipAddressLike
-
userAgent
-
userAgentLike
-
userId
-
userIdLike
-
tokenData
-
tokenDataLike
-
-
Constructor Details
-
TokenQueryImpl
public TokenQueryImpl() -
TokenQueryImpl
-
TokenQueryImpl
-
-
Method Details
-
tokenId
Description copied from interface:TokenQuery
Only selectToken
s with the given id/- Specified by:
tokenId
in interfaceTokenQuery
-
tokenIds
Description copied from interface:TokenQuery
Only selectToken
s with the given ids/- Specified by:
tokenIds
in interfaceTokenQuery
-
tokenValue
Description copied from interface:TokenQuery
Only selectToken
s with the given token value.- Specified by:
tokenValue
in interfaceTokenQuery
-
tokenDate
Description copied from interface:TokenQuery
Only selectToken
s that have a token date on the given date.- Specified by:
tokenDate
in interfaceTokenQuery
-
tokenDateBefore
Description copied from interface:TokenQuery
Only selectToken
s that have a token date before the given date.- Specified by:
tokenDateBefore
in interfaceTokenQuery
-
tokenDateAfter
Description copied from interface:TokenQuery
Only selectToken
s that have a token date after the given date.- Specified by:
tokenDateAfter
in interfaceTokenQuery
-
ipAddress
Description copied from interface:TokenQuery
Only selectToken
s with the given ip address.- Specified by:
ipAddress
in interfaceTokenQuery
-
ipAddressLike
Description copied from interface:TokenQuery
Only selectToken
s where the ip address matches the given parameter. The syntax is that of SQL, eg. %127%.- Specified by:
ipAddressLike
in interfaceTokenQuery
-
userAgent
Description copied from interface:TokenQuery
Only selectToken
s with the given user agent.- Specified by:
userAgent
in interfaceTokenQuery
-
userAgentLike
Description copied from interface:TokenQuery
Only selectToken
s where the user agent matches the given parameter. The syntax is that of SQL, eg. %chrome%.- Specified by:
userAgentLike
in interfaceTokenQuery
-
userId
Description copied from interface:TokenQuery
Only selectToken
s with the given user id.- Specified by:
userId
in interfaceTokenQuery
-
userIdLike
Description copied from interface:TokenQuery
Only selectToken
s where the user id matches the given parameter. The syntax is that of SQL, eg. %test%.- Specified by:
userIdLike
in interfaceTokenQuery
-
tokenData
Description copied from interface:TokenQuery
Only selectToken
s with the given token data.- Specified by:
tokenData
in interfaceTokenQuery
-
tokenDataLike
Description copied from interface:TokenQuery
Only selectToken
s where the token data matches the given parameter. The syntax is that of SQL, eg. %test%.- Specified by:
tokenDataLike
in interfaceTokenQuery
-
orderByTokenId
Description copied from interface:TokenQuery
Order by token id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTokenId
in interfaceTokenQuery
-
orderByTokenDate
Description copied from interface:TokenQuery
Order by token date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTokenDate
in interfaceTokenQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<TokenQuery,
Token>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<TokenQuery,
Token>
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<TokenEntity>
-
getIds
-
getTokenValue
-
getTokenDate
-
getTokenDateBefore
-
getTokenDateAfter
-
getIpAddress
-
getIpAddressLike
-
getUserAgent
-
getUserAgentLike
-
getUserId
-
getUserIdLike
-
getTokenData
-
getTokenDataLike
-