public class PrivilegeQueryImpl extends AbstractQuery<PrivilegeQuery,Privilege> implements PrivilegeQuery, CacheAwareQuery<PrivilegeEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
groupId |
protected List<String> |
groupIds |
protected String |
id |
protected String |
name |
protected String |
userId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
PrivilegeQueryImpl() |
PrivilegeQueryImpl(CommandContext commandContext) |
PrivilegeQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
long |
executeCount(CommandContext commandContext) |
List<Privilege> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
String |
getGroupId() |
List<String> |
getGroupIds() |
String |
getId() |
String |
getName() |
String |
getUserId() |
PrivilegeQuery |
groupId(String groupId)
Only select
Privileges with the given group id. |
PrivilegeQuery |
groupIds(List<String> groupIds)
Only select
Privileges with the given group ids. |
PrivilegeQuery |
privilegeId(String id)
Only select
Privileges with the given id/ |
PrivilegeQuery |
privilegeName(String name)
Only select
Privileges with the given 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)
Only select
Privileges with the given user id. |
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected String id
protected String name
protected String userId
protected String groupId
public PrivilegeQueryImpl()
public PrivilegeQueryImpl(CommandContext commandContext)
public PrivilegeQueryImpl(CommandExecutor commandExecutor)
public PrivilegeQuery privilegeId(String id)
PrivilegeQueryPrivileges with the given id/privilegeId in interface PrivilegeQuerypublic PrivilegeQuery privilegeName(String name)
PrivilegeQueryPrivileges with the given nameprivilegeName in interface PrivilegeQuerypublic PrivilegeQuery userId(String userId)
PrivilegeQueryPrivileges with the given user id.userId in interface PrivilegeQuerypublic PrivilegeQuery groupId(String groupId)
PrivilegeQueryPrivileges with the given group id.groupId in interface PrivilegeQuerypublic PrivilegeQuery groupIds(List<String> groupIds)
PrivilegeQueryPrivileges with the given group ids.groupIds in interface PrivilegeQuerypublic String getId()
getId in interface CacheAwareQuery<PrivilegeEntity>public void setId(String id)
public String getName()
public void setName(String name)
public String getUserId()
public void setUserId(String userId)
public String getGroupId()
public void setGroupId(String groupId)
public long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<PrivilegeQuery,Privilege>public List<Privilege> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractQuery<PrivilegeQuery,Privilege>Copyright © 2023 Flowable. All rights reserved.