Package com.flowable.content.engine.impl
Class ContentItemBaseQueryImpl<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<T,C>
-
- com.flowable.content.engine.impl.ContentItemBaseQueryImpl<T,C>
-
- All Implemented Interfaces:
Serializable
,Query<T,C>
,Command<Object>
,ContentItemBaseQuery<T,C>
- Direct Known Subclasses:
CoreContentItemQueryImpl
public abstract class ContentItemBaseQueryImpl<T extends ContentItemBaseQuery<T,C>,C extends ContentItem> extends AbstractQuery<T,C> implements ContentItemBaseQuery<T,C>
- Author:
- Tijs Rademakers, Joram Barrez
- 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 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 ContentItemBaseQueryImpl(CommandContext commandContext)
ContentItemBaseQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
nameLike
protected String nameLike
-
mimeType
protected String mimeType
-
mimeTypeLike
protected String mimeTypeLike
-
taskId
protected String taskId
-
taskIdLike
protected String taskIdLike
-
processInstanceId
protected String processInstanceId
-
processInstanceIdLike
protected String processInstanceIdLike
-
scopeId
protected String scopeId
-
scopeIdLike
protected String scopeIdLike
-
scopeType
protected String scopeType
-
scopeTypeLike
protected String scopeTypeLike
-
contentStoreId
protected String contentStoreId
-
contentStoreIdLike
protected String contentStoreIdLike
-
contentStoreName
protected String contentStoreName
-
contentStoreNameLike
protected String contentStoreNameLike
-
contentAvailable
protected Boolean contentAvailable
-
contentSize
protected Long contentSize
-
minContentSize
protected Long minContentSize
-
maxContentSize
protected Long maxContentSize
-
createdDate
protected Date createdDate
-
createdDateBefore
protected Date createdDateBefore
-
createdDateAfter
protected Date createdDateAfter
-
createdBy
protected String createdBy
-
createdByLike
protected String createdByLike
-
lastModifiedDate
protected Date lastModifiedDate
-
lastModifiedDateBefore
protected Date lastModifiedDateBefore
-
lastModifiedDateAfter
protected Date lastModifiedDateAfter
-
lastModifiedBy
protected String lastModifiedBy
-
lastModifiedByLike
protected String lastModifiedByLike
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
parentFolderId
protected String parentFolderId
-
baseFolderId
protected String baseFolderId
-
isRootFolder
protected boolean isRootFolder
-
-
Constructor Detail
-
ContentItemBaseQueryImpl
public ContentItemBaseQueryImpl(CommandContext commandContext)
-
ContentItemBaseQueryImpl
public ContentItemBaseQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public T id(String id)
- Specified by:
id
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
ids
public T ids(Set<String> ids)
- Specified by:
ids
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
name
public T name(String name)
- Specified by:
name
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
nameLike
public T nameLike(String nameLike)
- Specified by:
nameLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
mimeType
public T mimeType(String mimeType)
- Specified by:
mimeType
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
mimeTypeLike
public T mimeTypeLike(String mimeTypeLike)
- Specified by:
mimeTypeLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
taskId
public T taskId(String taskId)
- Specified by:
taskId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
taskIdLike
public T taskIdLike(String taskIdLike)
- Specified by:
taskIdLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
processInstanceId
public T processInstanceId(String processInstanceId)
- Specified by:
processInstanceId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
processInstanceIdLike
public T processInstanceIdLike(String processInstanceIdLike)
- Specified by:
processInstanceIdLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
scopeId
public T scopeId(String scopeId)
- Specified by:
scopeId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
scopeIdLike
public T scopeIdLike(String scopeIdLike)
- Specified by:
scopeIdLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
scopeType
public T scopeType(String scopeType)
- Specified by:
scopeType
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
scopeTypeLike
public T scopeTypeLike(String scopeTypeLike)
- Specified by:
scopeTypeLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
field
public T field(String field)
- Specified by:
field
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
fieldLike
public T fieldLike(String fieldLike)
- Specified by:
fieldLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
contentStoreId
public T contentStoreId(String contentStoreId)
- Specified by:
contentStoreId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
contentStoreIdLike
public T contentStoreIdLike(String contentStoreIdLike)
- Specified by:
contentStoreIdLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
contentStoreName
public T contentStoreName(String contentStoreName)
- Specified by:
contentStoreName
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
contentStoreNameLike
public T contentStoreNameLike(String contentStoreNameLike)
- Specified by:
contentStoreNameLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
contentAvailable
public T contentAvailable(Boolean contentAvailable)
- Specified by:
contentAvailable
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
contentSize
public T contentSize(Long contentSize)
- Specified by:
contentSize
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
minContentSize
public T minContentSize(Long minContentSize)
- Specified by:
minContentSize
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
maxContentSize
public T maxContentSize(Long maxContentSize)
- Specified by:
maxContentSize
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
createdDate
public T createdDate(Date createdDate)
- Specified by:
createdDate
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
createdDateBefore
public T createdDateBefore(Date createdDateBefore)
- Specified by:
createdDateBefore
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
createdDateAfter
public T createdDateAfter(Date createdDateAfter)
- Specified by:
createdDateAfter
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
createdBy
public T createdBy(String createdBy)
- Specified by:
createdBy
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
createdByLike
public T createdByLike(String createdByLike)
- Specified by:
createdByLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
lastModifiedDate
public T lastModifiedDate(Date lastModifiedDate)
- Specified by:
lastModifiedDate
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
lastModifiedDateBefore
public T lastModifiedDateBefore(Date lastModifiedDateBefore)
- Specified by:
lastModifiedDateBefore
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
lastModifiedDateAfter
public T lastModifiedDateAfter(Date lastModifiedDateAfter)
- Specified by:
lastModifiedDateAfter
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
lastModifiedBy
public T lastModifiedBy(String lastModifiedBy)
- Specified by:
lastModifiedBy
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
lastModifiedByLike
public T lastModifiedByLike(String lastModifiedByLike)
- Specified by:
lastModifiedByLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
tenantId
public T tenantId(String tenantId)
- Specified by:
tenantId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
tenantIdLike
public T tenantIdLike(String tenantIdLike)
- Specified by:
tenantIdLike
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
withoutTenantId
public T withoutTenantId()
- Specified by:
withoutTenantId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
isRootFolder
public T isRootFolder()
-
orderByCreatedDate
public T orderByCreatedDate()
- Specified by:
orderByCreatedDate
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
orderByTenantId
public T orderByTenantId()
- Specified by:
orderByTenantId
in interfaceContentItemBaseQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
executeFindContentItemCount
protected abstract long executeFindContentItemCount(CommandContext commandContext)
-
executeList
public List<C> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<T extends ContentItemBaseQuery<T,C>,C extends ContentItem>
-
executeFindContentItemList
protected abstract List<C> executeFindContentItemList(CommandContext commandContext)
-
getId
public String getId()
-
getTaskId
public String getTaskId()
-
getTaskIdLike
public String getTaskIdLike()
-
getProcessInstanceId
public String getProcessInstanceId()
-
getProcessInstanceIdLike
public String getProcessInstanceIdLike()
-
getScopeId
public String getScopeId()
-
getScopeIdLike
public String getScopeIdLike()
-
getScopeType
public String getScopeType()
-
getScopeTypeLike
public String getScopeTypeLike()
-
getContentStoreId
public String getContentStoreId()
-
getContentStoreIdLike
public String getContentStoreIdLike()
-
getContentStoreName
public String getContentStoreName()
-
getContentStoreNameLike
public String getContentStoreNameLike()
-
getMimeType
public String getMimeType()
-
getMimeTypeLike
public String getMimeTypeLike()
-
getContentAvailable
public Boolean getContentAvailable()
-
getContentSize
public Long getContentSize()
-
getMinContentSize
public Long getMinContentSize()
-
getMaxContentSize
public Long getMaxContentSize()
-
getCreatedDate
public Date getCreatedDate()
-
getCreatedDateBefore
public Date getCreatedDateBefore()
-
getCreatedDateAfter
public Date getCreatedDateAfter()
-
getCreatedBy
public String getCreatedBy()
-
getCreatedByLike
public String getCreatedByLike()
-
getLastModifiedDate
public Date getLastModifiedDate()
-
getLastModifiedDateBefore
public Date getLastModifiedDateBefore()
-
getLastModifiedDateAfter
public Date getLastModifiedDateAfter()
-
getLastModifiedBy
public String getLastModifiedBy()
-
getLastModifiedByLike
public String getLastModifiedByLike()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getVersion
public Integer getVersion()
-
getVersionInfo
public String getVersionInfo()
-
getVersionInfoLike
public String getVersionInfoLike()
-
getVersionParentId
public String getVersionParentId()
-
getDefinitionId
public String getDefinitionId()
-
getType
public String getType()
-
getSubType
public String getSubType()
-
getState
public String getState()
-
getSubState
public String getSubState()
-
getMimeTypeNotEquals
public String getMimeTypeNotEquals()
-
isLatest
public boolean isLatest()
-
isIncludeCachedItems
public boolean isIncludeCachedItems()
-
getAccessibleByUser
public String getAccessibleByUser()
-
getAccessibleByGroups
public Collection<String> getAccessibleByGroups()
-
getParentFolderId
public String getParentFolderId()
-
getBaseFolderId
public String getBaseFolderId()
-
-