Package com.flowable.idm.engine.impl
Class UserDefinitionQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<UserDefinitionQuery,UserDefinition>
-
- com.flowable.idm.engine.impl.UserDefinitionQueryImpl
-
- All Implemented Interfaces:
UserDefinitionQuery
,Serializable
,Query<UserDefinitionQuery,UserDefinition>
,Command<Object>
public class UserDefinitionQueryImpl extends AbstractQuery<UserDefinitionQuery,UserDefinition> implements UserDefinitionQuery
- Author:
- Tijs Rademakers
- 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
accessibleByGroup
protected String
accessibleByUser
protected String
id
protected boolean
includeDefaultTenant
protected String
key
protected String
name
protected String
nameLike
protected String
nameLikeIgnoreCase
protected String
tenantId
-
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 UserDefinitionQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDefinitionQuery
accessibleByGroup(String groupId)
UserDefinitionQuery
accessibleByUser(String userId)
long
executeCount(CommandContext commandContext)
List<UserDefinition>
executeList(CommandContext commandContext)
String
getAccessibleByGroup()
String
getAccessibleByUser()
String
getId()
String
getKey()
String
getNameLikeIgnoreCase()
UserDefinitionQuery
id(String id)
UserDefinitionQuery
includeDefaultTenantId()
UserDefinitionQuery
key(String key)
UserDefinitionQuery
name(String name)
UserDefinitionQuery
nameLike(String nameLike)
UserDefinitionQuery
nameLikeIgnoreCase(String nameLikeIgnoreCase)
UserDefinitionQuery
orderByUserDefinitionId()
UserDefinitionQuery
orderByUserDefinitionKey()
UserDefinitionQuery
orderByUserDefinitionName()
UserDefinitionQuery
tenantId(String tenantId)
-
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
-
key
protected String key
-
name
protected String name
-
nameLike
protected String nameLike
-
nameLikeIgnoreCase
protected String nameLikeIgnoreCase
-
accessibleByUser
protected String accessibleByUser
-
accessibleByGroup
protected String accessibleByGroup
-
tenantId
protected String tenantId
-
includeDefaultTenant
protected boolean includeDefaultTenant
-
-
Constructor Detail
-
UserDefinitionQueryImpl
public UserDefinitionQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public UserDefinitionQuery id(String id)
- Specified by:
id
in interfaceUserDefinitionQuery
-
key
public UserDefinitionQuery key(String key)
- Specified by:
key
in interfaceUserDefinitionQuery
-
name
public UserDefinitionQuery name(String name)
- Specified by:
name
in interfaceUserDefinitionQuery
-
nameLike
public UserDefinitionQuery nameLike(String nameLike)
- Specified by:
nameLike
in interfaceUserDefinitionQuery
-
nameLikeIgnoreCase
public UserDefinitionQuery nameLikeIgnoreCase(String nameLikeIgnoreCase)
- Specified by:
nameLikeIgnoreCase
in interfaceUserDefinitionQuery
-
accessibleByUser
public UserDefinitionQuery accessibleByUser(String userId)
- Specified by:
accessibleByUser
in interfaceUserDefinitionQuery
-
accessibleByGroup
public UserDefinitionQuery accessibleByGroup(String groupId)
- Specified by:
accessibleByGroup
in interfaceUserDefinitionQuery
-
tenantId
public UserDefinitionQuery tenantId(String tenantId)
- Specified by:
tenantId
in interfaceUserDefinitionQuery
-
includeDefaultTenantId
public UserDefinitionQuery includeDefaultTenantId()
- Specified by:
includeDefaultTenantId
in interfaceUserDefinitionQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<UserDefinitionQuery,UserDefinition>
-
executeList
public List<UserDefinition> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<UserDefinitionQuery,UserDefinition>
-
orderByUserDefinitionKey
public UserDefinitionQuery orderByUserDefinitionKey()
- Specified by:
orderByUserDefinitionKey
in interfaceUserDefinitionQuery
-
orderByUserDefinitionId
public UserDefinitionQuery orderByUserDefinitionId()
- Specified by:
orderByUserDefinitionId
in interfaceUserDefinitionQuery
-
orderByUserDefinitionName
public UserDefinitionQuery orderByUserDefinitionName()
- Specified by:
orderByUserDefinitionName
in interfaceUserDefinitionQuery
-
getId
public String getId()
-
getKey
public String getKey()
-
getNameLikeIgnoreCase
public String getNameLikeIgnoreCase()
-
getAccessibleByUser
public String getAccessibleByUser()
-
getAccessibleByGroup
public String getAccessibleByGroup()
-
-