org.camunda.bpm.engine.impl
Class TenantQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<TenantQuery,Tenant>
          extended by org.camunda.bpm.engine.impl.TenantQueryImpl
All Implemented Interfaces:
Serializable, TenantQuery, Command<Object>, Query<TenantQuery,Tenant>
Direct Known Subclasses:
DbTenantQueryImpl

public abstract class TenantQueryImpl
extends AbstractQuery<TenantQuery,Tenant>
implements TenantQuery

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
 
Field Summary
protected  String id
           
protected  String[] ids
           
protected  String name
           
protected  String nameLike
           
 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck
 
Constructor Summary
TenantQueryImpl()
           
TenantQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 String getId()
           
 String[] getIds()
           
 String getName()
           
 String getNameLike()
           
 TenantQuery orderByTenantId()
          Order by tenant id (needs to be followed by Query.asc() or Query.desc()).
 TenantQuery orderByTenantName()
          Order by tenant name (needs to be followed by Query.asc() or Query.desc()).
 TenantQuery tenantId(String id)
          Only select Tenants with the given id.
 TenantQuery tenantIdIn(String... ids)
          Only select Tenants with the given ids
 TenantQuery tenantName(String name)
          Only select Tenants with the given name.
 TenantQuery tenantNameLike(String nameLike)
          Only select Tenants where the name matches the given parameter.
 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeCount, executeList, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter, setTenantCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Field Detail

id

protected String id

ids

protected String[] ids

name

protected String name

nameLike

protected String nameLike
Constructor Detail

TenantQueryImpl

public TenantQueryImpl()

TenantQueryImpl

public TenantQueryImpl(CommandExecutor commandExecutor)
Method Detail

tenantId

public TenantQuery tenantId(String id)
Description copied from interface: TenantQuery
Only select Tenants with the given id.

Specified by:
tenantId in interface TenantQuery

tenantIdIn

public TenantQuery tenantIdIn(String... ids)
Description copied from interface: TenantQuery
Only select Tenants with the given ids

Specified by:
tenantIdIn in interface TenantQuery

tenantName

public TenantQuery tenantName(String name)
Description copied from interface: TenantQuery
Only select Tenants with the given name.

Specified by:
tenantName in interface TenantQuery

tenantNameLike

public TenantQuery tenantNameLike(String nameLike)
Description copied from interface: TenantQuery
Only select Tenants where the name matches the given parameter. The syntax to use is that of SQL, eg. %tenant%.

Specified by:
tenantNameLike in interface TenantQuery

orderByTenantId

public TenantQuery orderByTenantId()
Description copied from interface: TenantQuery
Order by tenant id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTenantId in interface TenantQuery

orderByTenantName

public TenantQuery orderByTenantName()
Description copied from interface: TenantQuery
Order by tenant name (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByTenantName in interface TenantQuery

getId

public String getId()

getName

public String getName()

getNameLike

public String getNameLike()

getIds

public String[] getIds()


Copyright © 2016 camunda services GmbH. All rights reserved.