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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionTokenQueryImpl(CommandContext commandContext) TokenQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()getIds()Only selectTokens with the given ip address.ipAddressLike(String ipAddressLike) Only selectTokens 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 selectTokens with the given token data.tokenDataLike(String tokenDataLike) Only selectTokens where the token data matches the given parameter.Only selectTokens that have a token date on the given date.tokenDateAfter(Date tokenDateAfter) Only selectTokens that have a token date after the given date.tokenDateBefore(Date tokenDateBefore) Only selectTokens that have a token date before the given date.Only selectTokens with the given id/Only selectTokens with the given ids/tokenValue(String tokenValue) Only selectTokens with the given token value.Only selectTokens with the given user agent.userAgentLike(String userAgentLike) Only selectTokens where the user agent matches the given parameter.Only selectTokens with the given user id.userIdLike(String userIdLike) Only selectTokens 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, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:TokenQueryOnly selectTokens with the given id/- Specified by:
tokenIdin interfaceTokenQuery
-
tokenIds
Description copied from interface:TokenQueryOnly selectTokens with the given ids/- Specified by:
tokenIdsin interfaceTokenQuery
-
tokenValue
Description copied from interface:TokenQueryOnly selectTokens with the given token value.- Specified by:
tokenValuein interfaceTokenQuery
-
tokenDate
Description copied from interface:TokenQueryOnly selectTokens that have a token date on the given date.- Specified by:
tokenDatein interfaceTokenQuery
-
tokenDateBefore
Description copied from interface:TokenQueryOnly selectTokens that have a token date before the given date.- Specified by:
tokenDateBeforein interfaceTokenQuery
-
tokenDateAfter
Description copied from interface:TokenQueryOnly selectTokens that have a token date after the given date.- Specified by:
tokenDateAfterin interfaceTokenQuery
-
ipAddress
Description copied from interface:TokenQueryOnly selectTokens with the given ip address.- Specified by:
ipAddressin interfaceTokenQuery
-
ipAddressLike
Description copied from interface:TokenQueryOnly selectTokens where the ip address matches the given parameter. The syntax is that of SQL, eg. %127%.- Specified by:
ipAddressLikein interfaceTokenQuery
-
userAgent
Description copied from interface:TokenQueryOnly selectTokens with the given user agent.- Specified by:
userAgentin interfaceTokenQuery
-
userAgentLike
Description copied from interface:TokenQueryOnly selectTokens where the user agent matches the given parameter. The syntax is that of SQL, eg. %chrome%.- Specified by:
userAgentLikein interfaceTokenQuery
-
userId
Description copied from interface:TokenQueryOnly selectTokens with the given user id.- Specified by:
userIdin interfaceTokenQuery
-
userIdLike
Description copied from interface:TokenQueryOnly selectTokens where the user id matches the given parameter. The syntax is that of SQL, eg. %test%.- Specified by:
userIdLikein interfaceTokenQuery
-
tokenData
Description copied from interface:TokenQueryOnly selectTokens with the given token data.- Specified by:
tokenDatain interfaceTokenQuery
-
tokenDataLike
Description copied from interface:TokenQueryOnly selectTokens where the token data matches the given parameter. The syntax is that of SQL, eg. %test%.- Specified by:
tokenDataLikein interfaceTokenQuery
-
orderByTokenId
Description copied from interface:TokenQueryOrder by token id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTokenIdin interfaceTokenQuery
-
orderByTokenDate
Description copied from interface:TokenQueryOrder by token date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTokenDatein interfaceTokenQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<TokenQuery,Token>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<TokenQuery,Token>
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<TokenEntity>
-
getIds
-
getTokenValue
-
getTokenDate
-
getTokenDateBefore
-
getTokenDateAfter
-
getIpAddress
-
getIpAddressLike
-
getUserAgent
-
getUserAgentLike
-
getUserId
-
getUserIdLike
-
getTokenData
-
getTokenDataLike
-