public interface DataObjectInstanceQuery<T extends DataObjectInstanceQuery<T,U>,U extends DataObjectInstance>
extends org.flowable.common.engine.api.query.Query<T,U>
DataObjectDataSource
which might also be extended with own, type-safe implementations.
For a data object instance query, at least the definition id, key or external id must be present in order to map it to the data source for executing the query
later on.
If the query object is retrieved by DataObjectRuntimeService.createDataObjectInstanceQueryByDefinitionKey(String)
, the definition key
is already be set in the returned query object.Modifier and Type | Method and Description |
---|---|
T |
definitionExternalId(String externalId) |
T |
definitionId(String id) |
T |
definitionKey(String key) |
T |
fieldValueEquals(String fieldName,
Object value)
Adds an equals predicate for the specified field name and value provided.
|
T |
fieldValueLike(String fieldName,
String value)
Adds a like predicate for the specified field name and value provided.
|
T |
id(String id) |
T |
lookupId(String lookupId) |
T |
lookupIdLike(String lookupIdLike) |
T |
tenantId(String tenantId) |
T fieldValueEquals(String fieldName, Object value)
fieldName
- the name of the field to create a predicate forvalue
- the value the field needs to be equal toT fieldValueLike(String fieldName, String value)
fieldName
- the name of the field to create a predicate forvalue
- the value the field needs to be likeCopyright © 2019. All rights reserved.