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 StringgroupIdprotected List<String>groupIdsprotected Stringidprotected Stringnameprotected StringuserId-
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 longexecuteCount(CommandContext commandContext)List<Privilege>executeList(CommandContext commandContext)StringgetGroupId()List<String>getGroupIds()StringgetId()StringgetName()StringgetUserId()PrivilegeQuerygroupId(String groupId)PrivilegeQuerygroupIds(List<String> groupIds)PrivilegeQueryprivilegeId(String id)PrivilegeQueryprivilegeName(String name)voidsetGroupId(String groupId)voidsetGroupIds(List<String> groupIds)voidsetId(String id)voidsetName(String name)voidsetUserId(String userId)PrivilegeQueryuserId(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:
privilegeIdin interfacePrivilegeQuery
-
privilegeName
public PrivilegeQuery privilegeName(String name)
- Specified by:
privilegeNamein interfacePrivilegeQuery
-
userId
public PrivilegeQuery userId(String userId)
- Specified by:
userIdin interfacePrivilegeQuery
-
groupId
public PrivilegeQuery groupId(String groupId)
- Specified by:
groupIdin interfacePrivilegeQuery
-
groupIds
public PrivilegeQuery groupIds(List<String> groupIds)
- Specified by:
groupIdsin 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:
executeCountin classAbstractQuery<PrivilegeQuery,Privilege>
-
executeList
public List<Privilege> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<PrivilegeQuery,Privilege>
-
-