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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreContentItemQuery
accessibleByUserOrGroups(String userId, Collection<String> groupKeys)
Only select content items that are accessible by the givenuserId
orgroupKeys
.CoreContentItemQuery
baseFolderId(String baseFolderId)
Only select content items with the given folder base id.CoreContentItemQuery
definitionId(String definitionId)
Only select content items with the given definition id.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.CoreContentItemQuery
isRootFolder()
Only select folder content items which are on the root level.CoreContentItemQuery
latest()
Only select content items with the latest version.CoreContentItemQuery
mimeTypeNotEquals(String mimeTypeNotEquals)
Only select content items with a mime type that is not equal to the given mime type.CoreContentItemQuery
nameIgnoreCase(String nameIgnoreCase)
Only select content items with the given name ignoring case.CoreContentItemQuery
nameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select content items with a name like the given value ignoring case.CoreContentItemQuery
parentFolderId(String parentFolderId)
Only select content items with the given folder parent id.CoreContentItemQuery
state(String state)
Only select content items with the given state.CoreContentItemQuery
subState(String subState)
Only select content items with the given sub state.CoreContentItemQuery
subType(String subType)
Only select content items with the given sub type.CoreContentItemQuery
type(String type)
Only select content items with the given type.CoreContentItemQuery
version(Integer version)
Only select content items with the given version.CoreContentItemQuery
versionInfo(String versionInfo)
Only select content items with the given version info.CoreContentItemQuery
versionInfoLike(String versionInfoLike)
Only select content items with a version info like the given string.CoreContentItemQuery
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 Detail
-
nameIgnoreCase
CoreContentItemQuery nameIgnoreCase(String nameIgnoreCase)
Only select content items with the given name ignoring case.
-
nameLikeIgnoreCase
CoreContentItemQuery nameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select content items with a name like the given value ignoring case.
-
version
CoreContentItemQuery version(Integer version)
Only select content items with the given version.
-
versionInfo
CoreContentItemQuery versionInfo(String versionInfo)
Only select content items with the given version info.
-
versionInfoLike
CoreContentItemQuery versionInfoLike(String versionInfoLike)
Only select content items with a version info like the given string.
-
versionParentId
CoreContentItemQuery versionParentId(String versionParentId)
Only select content items with the given version parent id.
-
definitionId
CoreContentItemQuery definitionId(String definitionId)
Only select content items with the given definition id.
-
type
CoreContentItemQuery type(String type)
Only select content items with the given type.
-
subType
CoreContentItemQuery subType(String subType)
Only select content items with the given sub type.
-
state
CoreContentItemQuery state(String state)
Only select content items with the given state.
-
subState
CoreContentItemQuery subState(String subState)
Only select content items with the given sub state.
-
parentFolderId
CoreContentItemQuery parentFolderId(String parentFolderId)
Only select content items with the given folder parent id.
-
baseFolderId
CoreContentItemQuery baseFolderId(String baseFolderId)
Only select content items with the given folder base id.
-
mimeTypeNotEquals
CoreContentItemQuery mimeTypeNotEquals(String 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
CoreContentItemQuery accessibleByUserOrGroups(String userId, Collection<String> groupKeys)
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.
-
-