public class PlatformGroupQueryImpl extends AbstractQuery<PlatformGroupQuery,PlatformGroup> implements PlatformGroupQuery, CacheAwareQuery<PlatformGroupEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.NullHandlingOnOrder
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected List<String> |
ids |
protected String |
key |
protected List<String> |
keys |
protected String |
name |
protected String |
nameLike |
protected String |
nameLikeIgnoreCase |
protected String |
tenantId |
protected String |
type |
protected String |
userId |
protected List<String> |
userIds |
protected boolean |
withoutTenantId |
commandContext, commandExecutor
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
Constructor and Description |
---|
PlatformGroupQueryImpl() |
PlatformGroupQueryImpl(CommandContext commandContext) |
PlatformGroupQueryImpl(CommandExecutor commandExecutor) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
enhanceCachedValue
protected String id
protected String name
protected String nameLike
protected String nameLikeIgnoreCase
protected String type
protected String key
protected String tenantId
protected boolean withoutTenantId
protected String userId
public PlatformGroupQueryImpl()
public PlatformGroupQueryImpl(CommandContext commandContext)
public PlatformGroupQueryImpl(CommandExecutor commandExecutor)
public PlatformGroupQuery groupId(String id)
PlatformGroupQuery
PlatformGroup
s with the given id.groupId
in interface PlatformGroupQuery
public PlatformGroupQuery groupIds(List<String> ids)
PlatformGroupQuery
PlatformGroup
s with the given ids.groupIds
in interface PlatformGroupQuery
public PlatformGroupQuery groupName(String name)
PlatformGroupQuery
PlatformGroup
s with the given name.groupName
in interface PlatformGroupQuery
public PlatformGroupQuery groupNameLike(String nameLike)
PlatformGroupQuery
PlatformGroup
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %test%.groupNameLike
in interface PlatformGroupQuery
public PlatformGroupQuery groupNameLikeIgnoreCase(String nameLikeIgnoreCase)
PlatformGroupQuery
PlatformGroup
s where the name matches the given parameter (ignoring case). The syntax to use is that of SQL, eg. %test%.groupNameLikeIgnoreCase
in interface PlatformGroupQuery
public PlatformGroupQuery groupType(String type)
PlatformGroupQuery
PlatformGroup
s which have the given type.groupType
in interface PlatformGroupQuery
public PlatformGroupQuery groupKey(String groupKey)
PlatformGroupQuery
PlatformGroup
s which have the given key.groupKey
in interface PlatformGroupQuery
public PlatformGroupQuery groupKeys(List<String> groupKeys)
PlatformGroupQuery
PlatformGroup
s which have the given keys.groupKeys
in interface PlatformGroupQuery
public PlatformGroupQuery groupTenantId(String tenantId)
PlatformGroupQuery
PlatformGroup
s which have the given tenant id.groupTenantId
in interface PlatformGroupQuery
public PlatformGroupQuery withoutTenantId()
PlatformGroupQuery
PlatformGroup
s which have no tenant id.withoutTenantId
in interface PlatformGroupQuery
public PlatformGroupQuery groupMember(String userId)
PlatformGroupQuery
PlatformGroup
s where the given user is a member of.groupMember
in interface PlatformGroupQuery
public PlatformGroupQuery groupMembers(List<String> userIds)
PlatformGroupQuery
PlatformGroup
s where the given users are a member of.groupMembers
in interface PlatformGroupQuery
public PlatformGroupQuery orderByGroupId()
PlatformGroupQuery
Query.asc()
or Query.desc()
).orderByGroupId
in interface PlatformGroupQuery
public PlatformGroupQuery orderByGroupName()
PlatformGroupQuery
Query.asc()
or Query.desc()
).orderByGroupName
in interface PlatformGroupQuery
public PlatformGroupQuery orderByGroupType()
PlatformGroupQuery
Query.asc()
or Query.desc()
).orderByGroupType
in interface PlatformGroupQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<PlatformGroupQuery,PlatformGroup>
public List<PlatformGroup> executeList(CommandContext commandContext)
executeList
in class AbstractQuery<PlatformGroupQuery,PlatformGroup>
public String getId()
getId
in interface CacheAwareQuery<PlatformGroupEntity>
public String getName()
public String getNameLike()
public String getNameLikeIgnoreCase()
public String getType()
public String getKey()
public String getTenantId()
public boolean isWithoutTenantId()
public String getUserId()