Package com.flowable.idm.engine.impl
Class PrivilegeQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<PrivilegeQuery,Privilege>
-
- com.flowable.idm.engine.impl.PrivilegeQueryImpl
-
- All Implemented Interfaces:
Serializable
,Query<PrivilegeQuery,Privilege>
,Command<Object>
,PrivilegeQuery
public class PrivilegeQueryImpl extends AbstractQuery<PrivilegeQuery,Privilege> implements PrivilegeQuery
- Author:
- Joram Barrez
- 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
groupId
protected List<String>
groupIds
protected String
id
protected String
name
protected String
userId
-
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 PrivilegeQueryImpl()
PrivilegeQueryImpl(CommandContext commandContext)
PrivilegeQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
executeCount(CommandContext commandContext)
List<Privilege>
executeList(CommandContext commandContext)
String
getGroupId()
List<String>
getGroupIds()
String
getId()
String
getName()
String
getUserId()
PrivilegeQuery
groupId(String groupId)
PrivilegeQuery
groupIds(List<String> groupIds)
PrivilegeQuery
privilegeId(String id)
PrivilegeQuery
privilegeName(String name)
void
setGroupId(String groupId)
void
setGroupIds(List<String> groupIds)
void
setId(String id)
void
setName(String name)
void
setUserId(String userId)
PrivilegeQuery
userId(String userId)
-
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
-
-
-
-
Constructor Detail
-
PrivilegeQueryImpl
public PrivilegeQueryImpl()
-
PrivilegeQueryImpl
public PrivilegeQueryImpl(CommandContext commandContext)
-
PrivilegeQueryImpl
public PrivilegeQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
privilegeId
public PrivilegeQuery privilegeId(String id)
- Specified by:
privilegeId
in interfacePrivilegeQuery
-
privilegeName
public PrivilegeQuery privilegeName(String name)
- Specified by:
privilegeName
in interfacePrivilegeQuery
-
userId
public PrivilegeQuery userId(String userId)
- Specified by:
userId
in interfacePrivilegeQuery
-
groupId
public PrivilegeQuery groupId(String groupId)
- Specified by:
groupId
in interfacePrivilegeQuery
-
groupIds
public PrivilegeQuery groupIds(List<String> groupIds)
- Specified by:
groupIds
in interfacePrivilegeQuery
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getGroupId
public String getGroupId()
-
setGroupId
public void setGroupId(String groupId)
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<PrivilegeQuery,Privilege>
-
executeList
public List<Privilege> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<PrivilegeQuery,Privilege>
-
-