Class ServiceDefinitionQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<ServiceDefinitionQuery,ServiceDefinition>
-
- com.flowable.serviceregistry.engine.impl.repository.ServiceDefinitionQueryImpl
-
- All Implemented Interfaces:
ServiceDefinitionQuery
,Serializable
,Query<ServiceDefinitionQuery,ServiceDefinition>
,Command<Object>
public class ServiceDefinitionQueryImpl extends AbstractQuery<ServiceDefinitionQuery,ServiceDefinition> implements ServiceDefinitionQuery
- 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 String
deploymentId
protected String
id
protected Collection<String>
ids
protected String
key
protected String
keyLike
protected boolean
latest
protected String
name
protected String
nameLike
protected String
nameLikeIgnoreCase
protected String
tenantId
protected String
type
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 ServiceDefinitionQueryImpl()
ServiceDefinitionQueryImpl(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
-
-
-
-
Field Detail
-
id
protected String id
-
ids
protected Collection<String> ids
-
key
protected String key
-
keyLike
protected String keyLike
-
name
protected String name
-
nameLike
protected String nameLike
-
nameLikeIgnoreCase
protected String nameLikeIgnoreCase
-
type
protected String type
-
version
protected Integer version
-
latest
protected boolean latest
-
deploymentId
protected String deploymentId
-
tenantId
protected String tenantId
-
-
Constructor Detail
-
ServiceDefinitionQueryImpl
public ServiceDefinitionQueryImpl()
-
ServiceDefinitionQueryImpl
public ServiceDefinitionQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public ServiceDefinitionQuery id(String id)
- Specified by:
id
in interfaceServiceDefinitionQuery
-
ids
public ServiceDefinitionQuery ids(Collection<String> ids)
- Specified by:
ids
in interfaceServiceDefinitionQuery
-
key
public ServiceDefinitionQuery key(String key)
- Specified by:
key
in interfaceServiceDefinitionQuery
-
keyLike
public ServiceDefinitionQuery keyLike(String keyLike)
- Specified by:
keyLike
in interfaceServiceDefinitionQuery
-
deploymentId
public ServiceDefinitionQuery deploymentId(String deploymentId)
- Specified by:
deploymentId
in interfaceServiceDefinitionQuery
-
name
public ServiceDefinitionQuery name(String name)
- Specified by:
name
in interfaceServiceDefinitionQuery
-
nameLike
public ServiceDefinitionQuery nameLike(String nameLike)
- Specified by:
nameLike
in interfaceServiceDefinitionQuery
-
nameLikeIgnoreCase
public ServiceDefinitionQuery nameLikeIgnoreCase(String nameLikeIgnoreCase)
- Specified by:
nameLikeIgnoreCase
in interfaceServiceDefinitionQuery
-
type
public ServiceDefinitionQuery type(String type)
- Specified by:
type
in interfaceServiceDefinitionQuery
-
version
public ServiceDefinitionQuery version(Integer version)
- Specified by:
version
in interfaceServiceDefinitionQuery
-
latestVersion
public ServiceDefinitionQuery latestVersion()
- Specified by:
latestVersion
in interfaceServiceDefinitionQuery
-
anyVersion
public ServiceDefinitionQuery anyVersion()
- Specified by:
anyVersion
in interfaceServiceDefinitionQuery
-
tenantId
public ServiceDefinitionQuery tenantId(String tenantId)
- Specified by:
tenantId
in interfaceServiceDefinitionQuery
-
orderByDefinitionId
public ServiceDefinitionQuery orderByDefinitionId()
- Specified by:
orderByDefinitionId
in interfaceServiceDefinitionQuery
-
orderByDefinitionName
public ServiceDefinitionQuery orderByDefinitionName()
- Specified by:
orderByDefinitionName
in interfaceServiceDefinitionQuery
-
orderByTenantId
public ServiceDefinitionQuery orderByTenantId()
- Specified by:
orderByTenantId
in interfaceServiceDefinitionQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<ServiceDefinitionQuery,ServiceDefinition>
-
executeList
public List<ServiceDefinition> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<ServiceDefinitionQuery,ServiceDefinition>
-
getId
public String getId()
-
getIds
public Collection<String> getIds()
-
getKey
public String getKey()
-
getKeyLike
public String getKeyLike()
-
getDeploymentId
public String getDeploymentId()
-
getNameLikeIgnoreCase
public String getNameLikeIgnoreCase()
-
getType
public String getType()
-
-