Class CommentQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<CommentQuery,Comment>
-
- com.flowable.platform.engine.impl.comment.CommentQueryImpl
-
- All Implemented Interfaces:
CommentQuery,Serializable,CacheAwareQuery<CommentEntity>,Query<CommentQuery,Comment>,Command<Object>
public class CommentQueryImpl extends AbstractQuery<CommentQuery,Comment> implements CommentQuery, CacheAwareQuery<CommentEntity>
- See Also:
- Serialized Form
-
-
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
Fields Modifier and Type Field Description protected Stringcontentprotected StringcontentLikeprotected Datecreatedprotected DatecreatedAfterprotected DatecreatedBeforeprotected Stringidprotected StringscopeIdprotected StringscopeTypeprotected Dateupdatedprotected DateupdatedAfterprotected DateupdatedBeforeprotected StringuserId-
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
Constructors Constructor Description CommentQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentQuerycontent(String content)CommentQuerycontentLike(String contentLike)CommentQuerycreated(Date created)CommentQuerycreatedAfter(Date createdAfter)CommentQuerycreatedBefore(Date createdBefore)longexecuteCount(CommandContext commandContext)List<Comment>executeList(CommandContext commandContext)StringgetContent()StringgetContentLike()DategetCreated()DategetCreatedAfter()DategetCreatedBefore()StringgetId()StringgetScopeId()StringgetScopeType()DategetUpdated()DategetUpdatedAfter()DategetUpdatedBefore()StringgetUserId()CommentQueryid(String id)CommentQueryorderByCreatedTime()CommentQueryorderByUpdatedTime()CommentQueryscopeId(String scopeId)CommentQueryscopeType(String scopeType)CommentQueryupdated(Date updated)CommentQueryupdatedAfter(Date updatedAfter)CommentQueryupdatedBefore(Date updatedBefore)CommentQueryuserId(String userId)-
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 Detail
-
id
protected String id
-
scopeId
protected String scopeId
-
scopeType
protected String scopeType
-
userId
protected String userId
-
content
protected String content
-
contentLike
protected String contentLike
-
created
protected Date created
-
updated
protected Date updated
-
createdBefore
protected Date createdBefore
-
createdAfter
protected Date createdAfter
-
updatedBefore
protected Date updatedBefore
-
updatedAfter
protected Date updatedAfter
-
-
Constructor Detail
-
CommentQueryImpl
public CommentQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<CommentQuery,Comment>
-
executeList
public List<Comment> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<CommentQuery,Comment>
-
id
public CommentQuery id(String id)
- Specified by:
idin interfaceCommentQuery
-
scopeId
public CommentQuery scopeId(String scopeId)
- Specified by:
scopeIdin interfaceCommentQuery
-
scopeType
public CommentQuery scopeType(String scopeType)
- Specified by:
scopeTypein interfaceCommentQuery
-
userId
public CommentQuery userId(String userId)
- Specified by:
userIdin interfaceCommentQuery
-
content
public CommentQuery content(String content)
- Specified by:
contentin interfaceCommentQuery
-
contentLike
public CommentQuery contentLike(String contentLike)
- Specified by:
contentLikein interfaceCommentQuery
-
created
public CommentQuery created(Date created)
- Specified by:
createdin interfaceCommentQuery
-
updated
public CommentQuery updated(Date updated)
- Specified by:
updatedin interfaceCommentQuery
-
createdBefore
public CommentQuery createdBefore(Date createdBefore)
- Specified by:
createdBeforein interfaceCommentQuery
-
updatedBefore
public CommentQuery updatedBefore(Date updatedBefore)
- Specified by:
updatedBeforein interfaceCommentQuery
-
createdAfter
public CommentQuery createdAfter(Date createdAfter)
- Specified by:
createdAfterin interfaceCommentQuery
-
updatedAfter
public CommentQuery updatedAfter(Date updatedAfter)
- Specified by:
updatedAfterin interfaceCommentQuery
-
orderByUpdatedTime
public CommentQuery orderByUpdatedTime()
- Specified by:
orderByUpdatedTimein interfaceCommentQuery
-
orderByCreatedTime
public CommentQuery orderByCreatedTime()
- Specified by:
orderByCreatedTimein interfaceCommentQuery
-
getId
public String getId()
- Specified by:
getIdin interfaceCacheAwareQuery<CommentEntity>
-
getScopeId
public String getScopeId()
-
getScopeType
public String getScopeType()
-
getUserId
public String getUserId()
-
getContent
public String getContent()
-
getContentLike
public String getContentLike()
-
getCreated
public Date getCreated()
-
getUpdated
public Date getUpdated()
-
getCreatedBefore
public Date getCreatedBefore()
-
getCreatedAfter
public Date getCreatedAfter()
-
getUpdatedBefore
public Date getUpdatedBefore()
-
getUpdatedAfter
public Date getUpdatedAfter()
-
-