Package com.flowable.idm.engine.impl
Class PrivilegeQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<org.flowable.idm.api.PrivilegeQuery,org.flowable.idm.api.Privilege>
com.flowable.idm.engine.impl.PrivilegeQueryImpl
- All Implemented Interfaces:
java.io.Serializable
,org.flowable.common.engine.api.query.Query<org.flowable.idm.api.PrivilegeQuery,org.flowable.idm.api.Privilege>
,org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>
,org.flowable.idm.api.PrivilegeQuery
public class PrivilegeQueryImpl
extends org.flowable.common.engine.impl.query.AbstractQuery<org.flowable.idm.api.PrivilegeQuery,org.flowable.idm.api.Privilege>
implements org.flowable.idm.api.PrivilegeQuery
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
groupId
protected java.util.List<java.lang.String>
groupIds
protected java.lang.String
id
protected java.lang.String
name
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description PrivilegeQueryImpl()
PrivilegeQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
PrivilegeQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
Modifier and Type Method Description long
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.List<org.flowable.idm.api.Privilege>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.lang.String
getGroupId()
java.util.List<java.lang.String>
getGroupIds()
java.lang.String
getId()
java.lang.String
getName()
java.lang.String
getUserId()
org.flowable.idm.api.PrivilegeQuery
groupId(java.lang.String groupId)
org.flowable.idm.api.PrivilegeQuery
groupIds(java.util.List<java.lang.String> groupIds)
org.flowable.idm.api.PrivilegeQuery
privilegeId(java.lang.String id)
org.flowable.idm.api.PrivilegeQuery
privilegeName(java.lang.String name)
void
setGroupId(java.lang.String groupId)
void
setGroupIds(java.util.List<java.lang.String> groupIds)
void
setId(java.lang.String id)
void
setName(java.lang.String name)
void
setUserId(java.lang.String userId)
org.flowable.idm.api.PrivilegeQuery
userId(java.lang.String userId)
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameter
-
Field Details
-
Constructor Details
-
PrivilegeQueryImpl
public PrivilegeQueryImpl() -
PrivilegeQueryImpl
public PrivilegeQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
PrivilegeQueryImpl
public PrivilegeQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
privilegeId
public org.flowable.idm.api.PrivilegeQuery privilegeId(java.lang.String id)- Specified by:
privilegeId
in interfaceorg.flowable.idm.api.PrivilegeQuery
-
privilegeName
public org.flowable.idm.api.PrivilegeQuery privilegeName(java.lang.String name)- Specified by:
privilegeName
in interfaceorg.flowable.idm.api.PrivilegeQuery
-
userId
public org.flowable.idm.api.PrivilegeQuery userId(java.lang.String userId)- Specified by:
userId
in interfaceorg.flowable.idm.api.PrivilegeQuery
-
groupId
public org.flowable.idm.api.PrivilegeQuery groupId(java.lang.String groupId)- Specified by:
groupId
in interfaceorg.flowable.idm.api.PrivilegeQuery
-
groupIds
public org.flowable.idm.api.PrivilegeQuery groupIds(java.util.List<java.lang.String> groupIds)- Specified by:
groupIds
in interfaceorg.flowable.idm.api.PrivilegeQuery
-
getId
public java.lang.String getId() -
setId
public void setId(java.lang.String id) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getUserId
public java.lang.String getUserId() -
setUserId
public void setUserId(java.lang.String userId) -
getGroupId
public java.lang.String getGroupId() -
setGroupId
public void setGroupId(java.lang.String groupId) -
getGroupIds
public java.util.List<java.lang.String> getGroupIds() -
setGroupIds
public void setGroupIds(java.util.List<java.lang.String> groupIds) -
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeCount
in classorg.flowable.common.engine.impl.query.AbstractQuery<org.flowable.idm.api.PrivilegeQuery,org.flowable.idm.api.Privilege>
-
executeList
public java.util.List<org.flowable.idm.api.Privilege> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<org.flowable.idm.api.PrivilegeQuery,org.flowable.idm.api.Privilege>
-