|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<GroupQuery,Group>
org.activiti.engine.impl.GroupQueryImpl
public class GroupQueryImpl
字段摘要 | |
---|---|
protected String |
id
|
protected String |
name
|
protected String |
nameLike
|
protected String |
procDefId
|
protected String |
type
|
protected String |
userId
|
从类 org.activiti.engine.impl.AbstractQuery 继承的字段 |
---|
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC |
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的字段 |
---|
databaseType, firstResult, maxResults, parameter |
构造方法摘要 | |
---|---|
GroupQueryImpl()
|
|
GroupQueryImpl(CommandContext commandContext)
|
|
GroupQueryImpl(CommandExecutor commandExecutor)
|
方法摘要 | |
---|---|
long |
executeCount(CommandContext commandContext)
|
List<Group> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
String |
getId()
|
String |
getName()
|
String |
getNameLike()
|
String |
getType()
|
String |
getUserId()
|
GroupQuery |
groupId(String id)
Only select Group s with the given id. |
GroupQuery |
groupMember(String userId)
Only selects Group s where the given user is a member of. |
GroupQuery |
groupName(String name)
Only select Group s with the given name. |
GroupQuery |
groupNameLike(String nameLike)
Only select Group s where the name matches the given parameter. |
GroupQuery |
groupType(String type)
Only select Group s 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() ). |
GroupQuery |
potentialStarter(String procDefId)
Only select Group S that are potential starter for the given process definition. |
从类 org.activiti.engine.impl.AbstractQuery 继承的方法 |
---|
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult |
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的方法 |
---|
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParameter |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
从接口 org.activiti.engine.query.Query 继承的方法 |
---|
asc, count, desc, list, listPage, singleResult |
字段详细信息 |
---|
protected String id
protected String name
protected String nameLike
protected String type
protected String userId
protected String procDefId
构造方法详细信息 |
---|
public GroupQueryImpl()
public GroupQueryImpl(CommandContext commandContext)
public GroupQueryImpl(CommandExecutor commandExecutor)
方法详细信息 |
---|
public GroupQuery groupId(String id)
GroupQuery
复制的描述Group
s with the given id.
GroupQuery
中的 groupId
public GroupQuery groupName(String name)
GroupQuery
复制的描述Group
s with the given name.
GroupQuery
中的 groupName
public GroupQuery groupNameLike(String nameLike)
GroupQuery
复制的描述Group
s where the name matches the given parameter.
The syntax to use is that of SQL, eg. %activiti%.
GroupQuery
中的 groupNameLike
public GroupQuery groupType(String type)
GroupQuery
复制的描述Group
s which have the given type.
GroupQuery
中的 groupType
public GroupQuery groupMember(String userId)
GroupQuery
复制的描述Group
s where the given user is a member of.
GroupQuery
中的 groupMember
public GroupQuery potentialStarter(String procDefId)
GroupQuery
复制的描述Group
S that are potential starter for the given process definition.
GroupQuery
中的 potentialStarter
public GroupQuery orderByGroupId()
GroupQuery
复制的描述Query.asc()
or Query.desc()
).
GroupQuery
中的 orderByGroupId
public GroupQuery orderByGroupName()
GroupQuery
复制的描述Query.asc()
or Query.desc()
).
GroupQuery
中的 orderByGroupName
public GroupQuery orderByGroupType()
GroupQuery
复制的描述Query.asc()
or Query.desc()
).
GroupQuery
中的 orderByGroupType
public long executeCount(CommandContext commandContext)
AbstractQuery<GroupQuery,Group>
中的 executeCount
public List<Group> executeList(CommandContext commandContext, Page page)
AbstractQuery
复制的描述
AbstractQuery<GroupQuery,Group>
中的 executeList
page
- used if the results must be paged. If null, no paging will be applied.public String getId()
public String getName()
public String getNameLike()
public String getType()
public String getUserId()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |