public class PrivilegeQueryImpl extends AbstractQuery<PrivilegeQuery,Privilege> implements PrivilegeQuery
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.NullHandlingOnOrder
Modifier and Type | Field and Description |
---|---|
protected String |
groupId |
protected List<String> |
groupIds |
protected String |
id |
protected String |
name |
protected String |
userId |
commandContext, commandExecutor
databaseType, 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, singleResult
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
protected 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 PrivilegeQuery
public PrivilegeQuery privilegeName(String name)
privilegeName
in interface PrivilegeQuery
public PrivilegeQuery userId(String userId)
userId
in interface PrivilegeQuery
public PrivilegeQuery groupId(String groupId)
groupId
in interface PrivilegeQuery
public PrivilegeQuery groupIds(List<String> groupIds)
groupIds
in interface PrivilegeQuery
public 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>