public class TokenQueryImpl extends AbstractQuery<TokenQuery,Token> implements TokenQuery, CacheAwareQuery<TokenEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected List<String> |
ids |
protected String |
ipAddress |
protected String |
ipAddressLike |
protected String |
tokenData |
protected String |
tokenDataLike |
protected Date |
tokenDate |
protected Date |
tokenDateAfter |
protected Date |
tokenDateBefore |
protected String |
tokenValue |
protected String |
userAgent |
protected String |
userAgentLike |
protected String |
userId |
protected String |
userIdLike |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
TokenQueryImpl() |
TokenQueryImpl(CommandContext commandContext) |
TokenQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
long |
executeCount(CommandContext commandContext) |
List<Token> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
String |
getId() |
List<String> |
getIds() |
String |
getIpAddress() |
String |
getIpAddressLike() |
String |
getTokenData() |
String |
getTokenDataLike() |
Date |
getTokenDate() |
Date |
getTokenDateAfter() |
Date |
getTokenDateBefore() |
String |
getTokenValue() |
String |
getUserAgent() |
String |
getUserAgentLike() |
String |
getUserId() |
String |
getUserIdLike() |
TokenQuery |
ipAddress(String ipAddress)
Only select
Tokens with the given ip address. |
TokenQuery |
ipAddressLike(String ipAddressLike)
Only select
Tokens where the ip address matches the given parameter. |
TokenQuery |
orderByTokenDate()
Order by token date (needs to be followed by
Query.asc() or Query.desc()). |
TokenQuery |
orderByTokenId()
Order by token id (needs to be followed by
Query.asc() or Query.desc()). |
TokenQuery |
tokenData(String tokenData)
Only select
Tokens with the given token data. |
TokenQuery |
tokenDataLike(String tokenDataLike)
Only select
Tokens where the token data matches the given parameter. |
TokenQuery |
tokenDate(Date tokenDate)
Only select
Tokens that have a token date on the given date. |
TokenQuery |
tokenDateAfter(Date tokenDateAfter)
Only select
Tokens that have a token date after the given date. |
TokenQuery |
tokenDateBefore(Date tokenDateBefore)
Only select
Tokens that have a token date before the given date. |
TokenQuery |
tokenId(String id)
Only select
Tokens with the given id/ |
TokenQuery |
tokenIds(List<String> ids)
Only select
Tokens with the given ids/ |
TokenQuery |
tokenValue(String tokenValue)
Only select
Tokens with the given token value. |
TokenQuery |
userAgent(String userAgent)
Only select
Tokens with the given user agent. |
TokenQuery |
userAgentLike(String userAgentLike)
Only select
Tokens where the user agent matches the given parameter. |
TokenQuery |
userId(String userId)
Only select
Tokens with the given user id. |
TokenQuery |
userIdLike(String userIdLike)
Only select
Tokens where the user id matches the given parameter. |
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected String id
protected String tokenValue
protected Date tokenDate
protected Date tokenDateBefore
protected Date tokenDateAfter
protected String ipAddress
protected String ipAddressLike
protected String userAgent
protected String userAgentLike
protected String userId
protected String userIdLike
protected String tokenData
protected String tokenDataLike
public TokenQueryImpl()
public TokenQueryImpl(CommandContext commandContext)
public TokenQueryImpl(CommandExecutor commandExecutor)
public TokenQuery tokenId(String id)
TokenQueryTokens with the given id/tokenId in interface TokenQuerypublic TokenQuery tokenIds(List<String> ids)
TokenQueryTokens with the given ids/tokenIds in interface TokenQuerypublic TokenQuery tokenValue(String tokenValue)
TokenQueryTokens with the given token value.tokenValue in interface TokenQuerypublic TokenQuery tokenDate(Date tokenDate)
TokenQueryTokens that have a token date on the given date.tokenDate in interface TokenQuerypublic TokenQuery tokenDateBefore(Date tokenDateBefore)
TokenQueryTokens that have a token date before the given date.tokenDateBefore in interface TokenQuerypublic TokenQuery tokenDateAfter(Date tokenDateAfter)
TokenQueryTokens that have a token date after the given date.tokenDateAfter in interface TokenQuerypublic TokenQuery ipAddress(String ipAddress)
TokenQueryTokens with the given ip address.ipAddress in interface TokenQuerypublic TokenQuery ipAddressLike(String ipAddressLike)
TokenQueryTokens where the ip address matches the given parameter. The syntax is that of SQL, eg. %127%.ipAddressLike in interface TokenQuerypublic TokenQuery userAgent(String userAgent)
TokenQueryTokens with the given user agent.userAgent in interface TokenQuerypublic TokenQuery userAgentLike(String userAgentLike)
TokenQueryTokens where the user agent matches the given parameter. The syntax is that of SQL, eg. %chrome%.userAgentLike in interface TokenQuerypublic TokenQuery userId(String userId)
TokenQueryTokens with the given user id.userId in interface TokenQuerypublic TokenQuery userIdLike(String userIdLike)
TokenQueryTokens where the user id matches the given parameter. The syntax is that of SQL, eg. %test%.userIdLike in interface TokenQuerypublic TokenQuery tokenData(String tokenData)
TokenQueryTokens with the given token data.tokenData in interface TokenQuerypublic TokenQuery tokenDataLike(String tokenDataLike)
TokenQueryTokens where the token data matches the given parameter. The syntax is that of SQL, eg. %test%.tokenDataLike in interface TokenQuerypublic TokenQuery orderByTokenId()
TokenQueryQuery.asc() or Query.desc()).orderByTokenId in interface TokenQuerypublic TokenQuery orderByTokenDate()
TokenQueryQuery.asc() or Query.desc()).orderByTokenDate in interface TokenQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<TokenQuery,Token>public List<Token> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractQuery<TokenQuery,Token>public String getId()
getId in interface CacheAwareQuery<TokenEntity>public String getTokenValue()
public Date getTokenDate()
public Date getTokenDateBefore()
public Date getTokenDateAfter()
public String getIpAddress()
public String getIpAddressLike()
public String getUserAgent()
public String getUserAgentLike()
public String getUserId()
public String getUserIdLike()
public String getTokenData()
public String getTokenDataLike()
Copyright © 2023 Flowable. All rights reserved.