public class PrivilegeQueryImpl extends AbstractQuery<PrivilegeQuery,Privilege> implements PrivilegeQuery
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) |
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) |
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, setParameterprotected 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)
privilegeId in interface PrivilegeQuerypublic PrivilegeQuery privilegeName(String name)
privilegeName in interface PrivilegeQuerypublic PrivilegeQuery userId(String userId)
userId in interface PrivilegeQuerypublic PrivilegeQuery groupId(String groupId)
groupId in interface PrivilegeQuerypublic PrivilegeQuery groupIds(List<String> groupIds)
groupIds in interface PrivilegeQuerypublic String getId()
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)
executeList in class AbstractQuery<PrivilegeQuery,Privilege>