public class DeviceQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<DeviceQuery,Device> implements DeviceQuery, org.flowable.common.engine.api.query.QueryCacheValues
| Modifier and Type | Field and Description | 
|---|---|
| protected String | applicationId | 
| protected String | deviceOS | 
| protected String | id | 
| protected boolean | onlyEnabled | 
| protected String | tenantId | 
| protected String | token | 
| protected String | userId | 
| Constructor and Description | 
|---|
| DeviceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) | 
| Modifier and Type | Method and Description | 
|---|---|
| DeviceQuery | applicationId(String applicationId)Query for devices for the given application. | 
| DeviceQuery | deviceOS(String deviceOS)Query devices only with the given OS. | 
| long | executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| List<Device> | executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| String | getApplicationId() | 
| String | getDeviceOS() | 
| String | getId() | 
| String | getTenantId() | 
| String | getToken() | 
| String | getUserId() | 
| DeviceQuery | id(String id)Query for devices for the given id. | 
| boolean | isOnlyEnabled() | 
| DeviceQuery | onlyEnabled()Query only for enabled devices. | 
| DeviceQuery | tenantId(String tenantId)Query for devices within the given tenant. | 
| DeviceQuery | token(String token)Query for devices for the given token. | 
| DeviceQuery | userId(String userId)Query for devices for the given user. | 
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameterprotected String id
protected String token
protected String userId
protected String tenantId
protected String applicationId
protected String deviceOS
protected boolean onlyEnabled
public DeviceQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
public DeviceQuery id(String id)
DeviceQueryid in interface DeviceQueryid - the id for which to querypublic DeviceQuery token(String token)
DeviceQuerytoken in interface DeviceQuerytoken - the token for which to querypublic DeviceQuery userId(String userId)
DeviceQueryuserId in interface DeviceQueryuserId - the id of the user for which to querypublic DeviceQuery tenantId(String tenantId)
DeviceQuerytenantId in interface DeviceQuerytenantId - the tenant id for which to querypublic DeviceQuery applicationId(String applicationId)
DeviceQueryapplicationId in interface DeviceQueryapplicationId - the id of the application for which to querypublic DeviceQuery deviceOS(String deviceOS)
DeviceQuerydeviceOS in interface DeviceQuerydeviceOS - the type of the os for which to queryDeviceOSpublic DeviceQuery onlyEnabled()
DeviceQueryonlyEnabled in interface DeviceQuerypublic long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
executeCount in class org.flowable.common.engine.impl.query.AbstractQuery<DeviceQuery,Device>public List<Device> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
executeList in class org.flowable.common.engine.impl.query.AbstractQuery<DeviceQuery,Device>public String getId()
getId in interface org.flowable.common.engine.api.query.QueryCacheValuespublic String getToken()
public String getUserId()
public String getTenantId()
public String getApplicationId()
public String getDeviceOS()
public boolean isOnlyEnabled()
Copyright © 2019. All rights reserved.