Package com.flowable.core.content.api
Interface CoreContentItemQuery
- All Superinterfaces:
ContentItemBaseQuery<CoreContentItemQuery,
,CoreContentItem> Query<CoreContentItemQuery,
CoreContentItem>
- All Known Implementing Classes:
CoreContentItemQueryImpl
public interface CoreContentItemQuery
extends ContentItemBaseQuery<CoreContentItemQuery,CoreContentItem>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptionaccessibleByUserOrGroups
(String userId, Collection<String> groupKeys) Only select content items that are accessible by the givenuserId
orgroupKeys
.baseFolderId
(String baseFolderId) Only select content items with the given folder base id.definitionId
(String definitionId) Only select content items with the given definition id.Include cached content items, only implemented for queries with mimetype = folder, a filled parent folder id and a process instance id, task id, or scope id.Only select folder content items which are on the root level.latest()
Only select content items with the latest version.metadataExists
(String name) metadataNotExists
(String name) metadataValueEquals
(Object value) metadataValueEquals
(String name, Object value) metadataValueEqualsIgnoreCase
(String name, String value) metadataValueGreaterThan
(String name, Object value) metadataValueGreaterThanOrEqual
(String name, Object value) metadataValueLessThan
(String name, Object value) metadataValueLessThanOrEqual
(String name, Object value) metadataValueLike
(String name, String value) metadataValueLikeIgnoreCase
(String name, String value) metadataValueNotEquals
(String name, Object value) metadataValueNotEqualsIgnoreCase
(String name, String value) mimeTypeNotEquals
(String mimeTypeNotEquals) Only select content items with a mime type that is not equal to the given mime type.nameIgnoreCase
(String nameIgnoreCase) Only select content items with the given name ignoring case.nameLikeIgnoreCase
(String nameLikeIgnoreCase) Only select content items with a name like the given value ignoring case.parentFolderId
(String parentFolderId) Only select content items with the given folder parent id.Only select content items with the given state.Only select content items with the given sub state.Only select content items with the given sub type.Only select content items with the given type.Only select content items with the given version.versionInfo
(String versionInfo) Only select content items with the given version info.versionInfoLike
(String versionInfoLike) Only select content items with a version info like the given string.versionParentId
(String versionParentId) Only select content items with the given version parent id.Methods inherited from interface org.flowable.content.api.ContentItemBaseQuery
contentAvailable, contentSize, contentStoreId, contentStoreIdLike, contentStoreName, contentStoreNameLike, createdBy, createdByLike, createdDate, createdDateAfter, createdDateBefore, field, fieldLike, id, ids, lastModifiedBy, lastModifiedByLike, lastModifiedDate, lastModifiedDateAfter, lastModifiedDateBefore, maxContentSize, mimeType, mimeTypeLike, minContentSize, name, nameLike, orderByCreatedDate, orderByTenantId, processInstanceId, processInstanceIdLike, scopeId, scopeIdLike, scopeType, scopeTypeLike, taskId, taskIdLike, tenantId, tenantIdLike, withoutTenantId
-
Method Details
-
nameIgnoreCase
Only select content items with the given name ignoring case. -
nameLikeIgnoreCase
Only select content items with a name like the given value ignoring case. -
version
Only select content items with the given version. -
versionInfo
Only select content items with the given version info. -
versionInfoLike
Only select content items with a version info like the given string. -
versionParentId
Only select content items with the given version parent id. -
definitionId
Only select content items with the given definition id. -
type
Only select content items with the given type. -
subType
Only select content items with the given sub type. -
state
Only select content items with the given state. -
subState
Only select content items with the given sub state. -
parentFolderId
Only select content items with the given folder parent id. -
baseFolderId
Only select content items with the given folder base id. -
mimeTypeNotEquals
Only select content items with a mime type that is not equal to the given mime type. -
isRootFolder
CoreContentItemQuery isRootFolder()Only select folder content items which are on the root level. -
latest
CoreContentItemQuery latest()Only select content items with the latest version. -
includeCachedItems
CoreContentItemQuery includeCachedItems()Include cached content items, only implemented for queries with mimetype = folder, a filled parent folder id and a process instance id, task id, or scope id. This is to prevent folders from getting created multiple times -
accessibleByUserOrGroups
Only select content items that are accessible by the givenuserId
orgroupKeys
. This will check accessibility to the references of a content item. e.g. if a ContentItem is linked to a process instance it will check the process instance identity links. -
orderByName
CoreContentItemQuery orderByName() -
orderByLastModified
CoreContentItemQuery orderByLastModified() -
orderBySize
CoreContentItemQuery orderBySize() -
metadataValueEquals
-
metadataValueEquals
-
metadataValueEqualsIgnoreCase
-
metadataValueNotEqualsIgnoreCase
-
metadataValueNotEquals
-
metadataValueGreaterThan
-
metadataValueGreaterThanOrEqual
-
metadataValueLessThan
-
metadataValueLessThanOrEqual
-
metadataValueLike
-
metadataValueLikeIgnoreCase
-
metadataExists
-
metadataNotExists
-
includeMetadataValues
CoreContentItemQuery includeMetadataValues() -
includeRenditions
CoreContentItemQuery includeRenditions()
-