public class TokenQueryImpl extends AbstractQuery<TokenQuery,Token> implements TokenQuery, CacheAwareQuery<TokenEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.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, commandExecutor
databaseType, 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) |
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
enhanceCachedValue
protected 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)
tokenId
in interface TokenQuery
public TokenQuery tokenIds(List<String> ids)
tokenIds
in interface TokenQuery
public TokenQuery tokenValue(String tokenValue)
tokenValue
in interface TokenQuery
public TokenQuery tokenDate(Date tokenDate)
tokenDate
in interface TokenQuery
public TokenQuery tokenDateBefore(Date tokenDateBefore)
tokenDateBefore
in interface TokenQuery
public TokenQuery tokenDateAfter(Date tokenDateAfter)
tokenDateAfter
in interface TokenQuery
public TokenQuery ipAddress(String ipAddress)
ipAddress
in interface TokenQuery
public TokenQuery ipAddressLike(String ipAddressLike)
ipAddressLike
in interface TokenQuery
public TokenQuery userAgent(String userAgent)
userAgent
in interface TokenQuery
public TokenQuery userAgentLike(String userAgentLike)
userAgentLike
in interface TokenQuery
public TokenQuery userId(String userId)
userId
in interface TokenQuery
public TokenQuery userIdLike(String userIdLike)
userIdLike
in interface TokenQuery
public TokenQuery tokenData(String tokenData)
tokenData
in interface TokenQuery
public TokenQuery tokenDataLike(String tokenDataLike)
tokenDataLike
in interface TokenQuery
public TokenQuery orderByTokenId()
orderByTokenId
in interface TokenQuery
public TokenQuery orderByTokenDate()
orderByTokenDate
in interface TokenQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<TokenQuery,Token>
public List<Token> executeList(CommandContext commandContext)
executeList
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()