Class DocumentDefinitionQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<DocumentDefinitionQuery,DocumentDefinition>
-
- com.flowable.content.engine.impl.repository.DocumentDefinitionQueryImpl
-
- All Implemented Interfaces:
DocumentDefinitionQuery
,Serializable
,Query<DocumentDefinitionQuery,DocumentDefinition>
,Command<Object>
public class DocumentDefinitionQueryImpl extends AbstractQuery<DocumentDefinitionQuery,DocumentDefinition> implements DocumentDefinitionQuery
- 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 Collection<String>
accessibleByGroups
protected String
accessibleByUser
protected String
category
protected String
categoryLike
protected String
deploymentId
protected String
id
protected Collection<String>
ids
protected String
key
protected String
keyLike
protected Collection<String>
keys
protected boolean
latest
protected String
name
protected String
nameLike
protected String
nameLikeIgnoreCase
protected String
tenantId
protected String
tenantIdLike
protected Integer
version
-
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 DocumentDefinitionQueryImpl()
DocumentDefinitionQueryImpl(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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.flowable.core.content.api.DocumentDefinitionQuery
accessibleByUser
-
-
-
-
Field Detail
-
id
protected String id
-
ids
protected Collection<String> ids
-
key
protected String key
-
keyLike
protected String keyLike
-
keys
protected Collection<String> keys
-
name
protected String name
-
nameLike
protected String nameLike
-
nameLikeIgnoreCase
protected String nameLikeIgnoreCase
-
category
protected String category
-
categoryLike
protected String categoryLike
-
version
protected Integer version
-
latest
protected boolean latest
-
deploymentId
protected String deploymentId
-
accessibleByUser
protected String accessibleByUser
-
accessibleByGroups
protected Collection<String> accessibleByGroups
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
-
Constructor Detail
-
DocumentDefinitionQueryImpl
public DocumentDefinitionQueryImpl()
-
DocumentDefinitionQueryImpl
public DocumentDefinitionQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public DocumentDefinitionQuery id(String id)
- Specified by:
id
in interfaceDocumentDefinitionQuery
-
ids
public DocumentDefinitionQuery ids(Collection<String> ids)
- Specified by:
ids
in interfaceDocumentDefinitionQuery
-
key
public DocumentDefinitionQuery key(String key)
- Specified by:
key
in interfaceDocumentDefinitionQuery
-
keyLike
public DocumentDefinitionQuery keyLike(String keyLike)
- Specified by:
keyLike
in interfaceDocumentDefinitionQuery
-
keys
public DocumentDefinitionQuery keys(Collection<String> keys)
- Specified by:
keys
in interfaceDocumentDefinitionQuery
-
deploymentId
public DocumentDefinitionQuery deploymentId(String deploymentId)
- Specified by:
deploymentId
in interfaceDocumentDefinitionQuery
-
name
public DocumentDefinitionQuery name(String name)
- Specified by:
name
in interfaceDocumentDefinitionQuery
-
nameLike
public DocumentDefinitionQuery nameLike(String nameLike)
- Specified by:
nameLike
in interfaceDocumentDefinitionQuery
-
nameLikeIgnoreCase
public DocumentDefinitionQuery nameLikeIgnoreCase(String nameLikeIgnoreCase)
- Specified by:
nameLikeIgnoreCase
in interfaceDocumentDefinitionQuery
-
category
public DocumentDefinitionQuery category(String category)
- Specified by:
category
in interfaceDocumentDefinitionQuery
-
categoryLike
public DocumentDefinitionQuery categoryLike(String categoryLike)
- Specified by:
categoryLike
in interfaceDocumentDefinitionQuery
-
version
public DocumentDefinitionQuery version(Integer version)
- Specified by:
version
in interfaceDocumentDefinitionQuery
-
latestVersion
public DocumentDefinitionQuery latestVersion()
- Specified by:
latestVersion
in interfaceDocumentDefinitionQuery
-
anyVersion
public DocumentDefinitionQuery anyVersion()
- Specified by:
anyVersion
in interfaceDocumentDefinitionQuery
-
accessibleByUserOrGroups
public DocumentDefinitionQuery accessibleByUserOrGroups(String userId, Collection<String> groupKeys)
- Specified by:
accessibleByUserOrGroups
in interfaceDocumentDefinitionQuery
-
tenantId
public DocumentDefinitionQuery tenantId(String tenantId)
- Specified by:
tenantId
in interfaceDocumentDefinitionQuery
-
tenantIdLike
public DocumentDefinitionQuery tenantIdLike(String tenantIdLike)
- Specified by:
tenantIdLike
in interfaceDocumentDefinitionQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<DocumentDefinitionQuery,DocumentDefinition>
-
executeList
public List<DocumentDefinition> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<DocumentDefinitionQuery,DocumentDefinition>
-
getId
public String getId()
-
getIds
public Collection<String> getIds()
-
getKey
public String getKey()
-
getKeyLike
public String getKeyLike()
-
getKeys
public Collection<String> getKeys()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getCategory
public String getCategory()
-
getCategoryLike
public String getCategoryLike()
-
getVersion
public Integer getVersion()
-
isLatest
public boolean isLatest()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
getDeploymentId
public String getDeploymentId()
-
getNameLikeIgnoreCase
public String getNameLikeIgnoreCase()
-
getAccessibleByUser
public String getAccessibleByUser()
-
getAccessibleByGroups
public Collection<String> getAccessibleByGroups()
-
-