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 CoreContentItemQueryaccessibleByUserOrGroups(String userId, Collection<String> groupKeys)Only select content items that are accessible by the givenuserIdorgroupKeys.CoreContentItemQuerybaseFolderId(String baseFolderId)Only select content items with the given folder base id.CoreContentItemQuerydefinitionId(String definitionId)Only select content items with the given definition id.CoreContentItemQueryincludeCachedItems()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.CoreContentItemQueryisRootFolder()Only select folder content items which are on the root level.CoreContentItemQuerylatest()Only select content items with the latest version.CoreContentItemQuerymimeTypeNotEquals(String mimeTypeNotEquals)Only select content items with a mime type that is not equal to the given mime type.CoreContentItemQuerynameIgnoreCase(String nameIgnoreCase)Only select content items with the given name ignoring case.CoreContentItemQuerynameLikeIgnoreCase(String nameLikeIgnoreCase)Only select content items with a name like the given value ignoring case.CoreContentItemQueryparentFolderId(String parentFolderId)Only select content items with the given folder parent id.CoreContentItemQuerystate(String state)Only select content items with the given state.CoreContentItemQuerysubState(String subState)Only select content items with the given sub state.CoreContentItemQuerysubType(String subType)Only select content items with the given sub type.CoreContentItemQuerytype(String type)Only select content items with the given type.CoreContentItemQueryversion(Integer version)Only select content items with the given version.CoreContentItemQueryversionInfo(String versionInfo)Only select content items with the given version info.CoreContentItemQueryversionInfoLike(String versionInfoLike)Only select content items with a version info like the given string.CoreContentItemQueryversionParentId(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 givenuserIdorgroupKeys. 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.
-
-