public class GroupQueryImpl extends AbstractQuery<GroupQuery,Group> implements GroupQuery, CacheAwareQuery<GroupEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected List<String> |
ids |
protected String |
name |
protected String |
nameLike |
protected String |
nameLikeIgnoreCase |
protected String |
type |
protected String |
userId |
protected List<String> |
userIds |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
GroupQueryImpl() |
GroupQueryImpl(CommandContext commandContext) |
GroupQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
long |
executeCount(CommandContext commandContext) |
List<Group> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
String |
getId() |
List<String> |
getIds() |
String |
getName() |
String |
getNameLike() |
String |
getNameLikeIgnoreCase() |
String |
getType() |
String |
getUserId() |
List<String> |
getUserIds() |
GroupQuery |
groupId(String id)
Only select
Groups with the given id. |
GroupQuery |
groupIds(List<String> ids)
Only select
Groups with the given ids. |
GroupQuery |
groupMember(String userId)
Only selects
Groups where the given user is a member of. |
GroupQuery |
groupMembers(List<String> userIds)
Only selects
Groups where the given users are a member of. |
GroupQuery |
groupName(String name)
Only select
Groups with the given name. |
GroupQuery |
groupNameLike(String nameLike)
Only select
Groups where the name matches the given parameter. |
GroupQuery |
groupNameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select
Groups where the name matches the given parameter (ignoring case). |
GroupQuery |
groupType(String type)
Only select
Groups which have the given type. |
GroupQuery |
orderByGroupId()
Order by group id (needs to be followed by
Query.asc() or Query.desc()). |
GroupQuery |
orderByGroupName()
Order by group name (needs to be followed by
Query.asc() or Query.desc()). |
GroupQuery |
orderByGroupType()
Order by group type (needs to be followed by
Query.asc() or Query.desc()). |
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 nameLike
protected String nameLikeIgnoreCase
protected String type
protected String userId
public GroupQueryImpl()
public GroupQueryImpl(CommandContext commandContext)
public GroupQueryImpl(CommandExecutor commandExecutor)
public GroupQuery groupId(String id)
GroupQueryGroups with the given id.groupId in interface GroupQuerypublic GroupQuery groupIds(List<String> ids)
GroupQueryGroups with the given ids.groupIds in interface GroupQuerypublic GroupQuery groupName(String name)
GroupQueryGroups with the given name.groupName in interface GroupQuerypublic GroupQuery groupNameLike(String nameLike)
GroupQueryGroups where the name matches the given parameter. The syntax to use is that of SQL, eg. %test%.groupNameLike in interface GroupQuerypublic GroupQuery groupNameLikeIgnoreCase(String nameLikeIgnoreCase)
GroupQueryGroups where the name matches the given parameter (ignoring case). The syntax to use is that of SQL, eg. %test%.groupNameLikeIgnoreCase in interface GroupQuerypublic GroupQuery groupType(String type)
GroupQueryGroups which have the given type.groupType in interface GroupQuerypublic GroupQuery groupMember(String userId)
GroupQueryGroups where the given user is a member of.groupMember in interface GroupQuerypublic GroupQuery groupMembers(List<String> userIds)
GroupQueryGroups where the given users are a member of.groupMembers in interface GroupQuerypublic GroupQuery orderByGroupId()
GroupQueryQuery.asc() or Query.desc()).orderByGroupId in interface GroupQuerypublic GroupQuery orderByGroupName()
GroupQueryQuery.asc() or Query.desc()).orderByGroupName in interface GroupQuerypublic GroupQuery orderByGroupType()
GroupQueryQuery.asc() or Query.desc()).orderByGroupType in interface GroupQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<GroupQuery,Group>public List<Group> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractQuery<GroupQuery,Group>public String getId()
getId in interface CacheAwareQuery<GroupEntity>public String getName()
public String getNameLike()
public String getNameLikeIgnoreCase()
public String getType()
public String getUserId()
Copyright © 2023 Flowable. All rights reserved.