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
,java.io.Serializable
,org.flowable.common.engine.api.query.CacheAwareQuery<CommentEntity>
,org.flowable.common.engine.api.query.Query<CommentQuery,Comment>
,org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>
public class CommentQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<CommentQuery,Comment> implements CommentQuery, org.flowable.common.engine.api.query.CacheAwareQuery<CommentEntity>
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
content
protected java.lang.String
contentLike
protected java.util.Date
created
protected java.util.Date
createdAfter
protected java.util.Date
createdBefore
protected java.lang.String
id
protected java.lang.String
scopeId
protected java.lang.String
scopeType
protected java.util.Date
updated
protected java.util.Date
updatedAfter
protected java.util.Date
updatedBefore
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description CommentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
Modifier and Type Method Description CommentQuery
content(java.lang.String content)
CommentQuery
contentLike(java.lang.String contentLike)
CommentQuery
created(java.util.Date created)
CommentQuery
createdAfter(java.util.Date createdAfter)
CommentQuery
createdBefore(java.util.Date createdBefore)
long
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.List<Comment>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.lang.String
getContent()
java.lang.String
getContentLike()
java.util.Date
getCreated()
java.util.Date
getCreatedAfter()
java.util.Date
getCreatedBefore()
java.lang.String
getId()
java.lang.String
getScopeId()
java.lang.String
getScopeType()
java.util.Date
getUpdated()
java.util.Date
getUpdatedAfter()
java.util.Date
getUpdatedBefore()
java.lang.String
getUserId()
CommentQuery
id(java.lang.String id)
CommentQuery
orderByCreatedTime()
CommentQuery
orderByUpdatedTime()
CommentQuery
scopeId(java.lang.String scopeId)
CommentQuery
scopeType(java.lang.String scopeType)
CommentQuery
updated(java.util.Date updated)
CommentQuery
updatedAfter(java.util.Date updatedAfter)
CommentQuery
updatedBefore(java.util.Date updatedBefore)
CommentQuery
userId(java.lang.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, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
protected java.lang.String id -
scopeId
protected java.lang.String scopeId -
scopeType
protected java.lang.String scopeType -
userId
protected java.lang.String userId -
content
protected java.lang.String content -
contentLike
protected java.lang.String contentLike -
created
protected java.util.Date created -
updated
protected java.util.Date updated -
createdBefore
protected java.util.Date createdBefore -
createdAfter
protected java.util.Date createdAfter -
updatedBefore
protected java.util.Date updatedBefore -
updatedAfter
protected java.util.Date updatedAfter
-
-
Constructor Details
-
CommentQueryImpl
public CommentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeCount
in classorg.flowable.common.engine.impl.query.AbstractQuery<CommentQuery,Comment>
-
executeList
public java.util.List<Comment> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<CommentQuery,Comment>
-
id
- Specified by:
id
in interfaceCommentQuery
-
scopeId
- Specified by:
scopeId
in interfaceCommentQuery
-
scopeType
- Specified by:
scopeType
in interfaceCommentQuery
-
userId
- Specified by:
userId
in interfaceCommentQuery
-
content
- Specified by:
content
in interfaceCommentQuery
-
contentLike
- Specified by:
contentLike
in interfaceCommentQuery
-
created
- Specified by:
created
in interfaceCommentQuery
-
updated
- Specified by:
updated
in interfaceCommentQuery
-
createdBefore
- Specified by:
createdBefore
in interfaceCommentQuery
-
updatedBefore
- Specified by:
updatedBefore
in interfaceCommentQuery
-
createdAfter
- Specified by:
createdAfter
in interfaceCommentQuery
-
updatedAfter
- Specified by:
updatedAfter
in interfaceCommentQuery
-
orderByUpdatedTime
- Specified by:
orderByUpdatedTime
in interfaceCommentQuery
-
orderByCreatedTime
- Specified by:
orderByCreatedTime
in interfaceCommentQuery
-
getId
public java.lang.String getId()- Specified by:
getId
in interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<CommentEntity>
-
getScopeId
public java.lang.String getScopeId() -
getScopeType
public java.lang.String getScopeType() -
getUserId
public java.lang.String getUserId() -
getContent
public java.lang.String getContent() -
getContentLike
public java.lang.String getContentLike() -
getCreated
public java.util.Date getCreated() -
getUpdated
public java.util.Date getUpdated() -
getCreatedBefore
public java.util.Date getCreatedBefore() -
getCreatedAfter
public java.util.Date getCreatedAfter() -
getUpdatedBefore
public java.util.Date getUpdatedBefore() -
getUpdatedAfter
public java.util.Date getUpdatedAfter()
-