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 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
-
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 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)
-
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:
executeCount
in classAbstractQuery<CommentQuery,Comment>
-
executeList
public List<Comment> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<CommentQuery,Comment>
-
id
public CommentQuery id(String id)
- Specified by:
id
in interfaceCommentQuery
-
scopeId
public CommentQuery scopeId(String scopeId)
- Specified by:
scopeId
in interfaceCommentQuery
-
scopeType
public CommentQuery scopeType(String scopeType)
- Specified by:
scopeType
in interfaceCommentQuery
-
userId
public CommentQuery userId(String userId)
- Specified by:
userId
in interfaceCommentQuery
-
content
public CommentQuery content(String content)
- Specified by:
content
in interfaceCommentQuery
-
contentLike
public CommentQuery contentLike(String contentLike)
- Specified by:
contentLike
in interfaceCommentQuery
-
created
public CommentQuery created(Date created)
- Specified by:
created
in interfaceCommentQuery
-
updated
public CommentQuery updated(Date updated)
- Specified by:
updated
in interfaceCommentQuery
-
createdBefore
public CommentQuery createdBefore(Date createdBefore)
- Specified by:
createdBefore
in interfaceCommentQuery
-
updatedBefore
public CommentQuery updatedBefore(Date updatedBefore)
- Specified by:
updatedBefore
in interfaceCommentQuery
-
createdAfter
public CommentQuery createdAfter(Date createdAfter)
- Specified by:
createdAfter
in interfaceCommentQuery
-
updatedAfter
public CommentQuery updatedAfter(Date updatedAfter)
- Specified by:
updatedAfter
in interfaceCommentQuery
-
orderByUpdatedTime
public CommentQuery orderByUpdatedTime()
- Specified by:
orderByUpdatedTime
in interfaceCommentQuery
-
orderByCreatedTime
public CommentQuery orderByCreatedTime()
- Specified by:
orderByCreatedTime
in interfaceCommentQuery
-
getId
public String getId()
- Specified by:
getId
in 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()
-
-