public class CommentQueryImpl extends AbstractQuery<CommentQuery,Comment> implements CommentQuery, CacheAwareQuery<CommentEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected String |
contentLike |
protected Date |
created |
protected Date |
createdAfter |
protected Date |
createdBefore |
protected String |
id |
protected String |
scopeId |
protected String |
scopeType |
protected Date |
updated |
protected Date |
updatedAfter |
protected Date |
updatedBefore |
protected String |
userId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
CommentQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
CommentQuery |
content(String content) |
CommentQuery |
contentLike(String contentLike) |
CommentQuery |
created(Date created) |
CommentQuery |
createdAfter(Date createdAfter) |
CommentQuery |
createdBefore(Date createdBefore) |
long |
executeCount(CommandContext commandContext) |
List<Comment> |
executeList(CommandContext commandContext) |
String |
getContent() |
String |
getContentLike() |
Date |
getCreated() |
Date |
getCreatedAfter() |
Date |
getCreatedBefore() |
String |
getId() |
String |
getScopeId() |
String |
getScopeType() |
Date |
getUpdated() |
Date |
getUpdatedAfter() |
Date |
getUpdatedBefore() |
String |
getUserId() |
CommentQuery |
id(String id) |
CommentQuery |
orderByCreatedTime() |
CommentQuery |
orderByUpdatedTime() |
CommentQuery |
scopeId(String scopeId) |
CommentQuery |
scopeType(String scopeType) |
CommentQuery |
updated(Date updated) |
CommentQuery |
updatedAfter(Date updatedAfter) |
CommentQuery |
updatedBefore(Date updatedBefore) |
CommentQuery |
userId(String userId) |
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 scopeId
protected String scopeType
protected String userId
protected String content
protected String contentLike
protected Date created
protected Date updated
protected Date createdBefore
protected Date createdAfter
protected Date updatedBefore
protected Date updatedAfter
public CommentQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<CommentQuery,Comment>public List<Comment> executeList(CommandContext commandContext)
executeList in class AbstractQuery<CommentQuery,Comment>public CommentQuery id(String id)
id in interface CommentQuerypublic CommentQuery scopeId(String scopeId)
scopeId in interface CommentQuerypublic CommentQuery scopeType(String scopeType)
scopeType in interface CommentQuerypublic CommentQuery userId(String userId)
userId in interface CommentQuerypublic CommentQuery content(String content)
content in interface CommentQuerypublic CommentQuery contentLike(String contentLike)
contentLike in interface CommentQuerypublic CommentQuery created(Date created)
created in interface CommentQuerypublic CommentQuery updated(Date updated)
updated in interface CommentQuerypublic CommentQuery createdBefore(Date createdBefore)
createdBefore in interface CommentQuerypublic CommentQuery updatedBefore(Date updatedBefore)
updatedBefore in interface CommentQuerypublic CommentQuery createdAfter(Date createdAfter)
createdAfter in interface CommentQuerypublic CommentQuery updatedAfter(Date updatedAfter)
updatedAfter in interface CommentQuerypublic CommentQuery orderByUpdatedTime()
orderByUpdatedTime in interface CommentQuerypublic CommentQuery orderByCreatedTime()
orderByCreatedTime in interface CommentQuerypublic String getId()
getId in interface CacheAwareQuery<CommentEntity>public String getScopeId()
public String getScopeType()
public String getUserId()
public String getContent()
public String getContentLike()
public Date getCreated()
public Date getUpdated()
public Date getCreatedBefore()
public Date getCreatedAfter()
public Date getUpdatedBefore()
public Date getUpdatedAfter()