org.activiti.engine.impl
类 GroupQueryImpl

java.lang.Object
  继承者 org.activiti.engine.impl.db.ListQueryParameterObject
      继承者 org.activiti.engine.impl.AbstractQuery<GroupQuery,Group>
          继承者 org.activiti.engine.impl.GroupQueryImpl
所有已实现的接口:
Serializable, GroupQuery, Command<Object>, Query<GroupQuery,Group>

public class GroupQueryImpl
extends AbstractQuery<GroupQuery,Group>
implements GroupQuery

作者:
Joram Barrez
另请参见:
序列化表格

字段摘要
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 Groups with the given id.
 GroupQuery groupMember(String userId)
          Only selects Groups where the given user is 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 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()).
 GroupQuery potentialStarter(String procDefId)
          Only select GroupS 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
 

字段详细信息

id

protected String id

name

protected String name

nameLike

protected String nameLike

type

protected String type

userId

protected String userId

procDefId

protected String procDefId
构造方法详细信息

GroupQueryImpl

public GroupQueryImpl()

GroupQueryImpl

public GroupQueryImpl(CommandContext commandContext)

GroupQueryImpl

public GroupQueryImpl(CommandExecutor commandExecutor)
方法详细信息

groupId

public GroupQuery groupId(String id)
从接口 GroupQuery 复制的描述
Only select Groups with the given id.

指定者:
接口 GroupQuery 中的 groupId

groupName

public GroupQuery groupName(String name)
从接口 GroupQuery 复制的描述
Only select Groups with the given name.

指定者:
接口 GroupQuery 中的 groupName

groupNameLike

public GroupQuery groupNameLike(String nameLike)
从接口 GroupQuery 复制的描述
Only select Groups where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%.

指定者:
接口 GroupQuery 中的 groupNameLike

groupType

public GroupQuery groupType(String type)
从接口 GroupQuery 复制的描述
Only select Groups which have the given type.

指定者:
接口 GroupQuery 中的 groupType

groupMember

public GroupQuery groupMember(String userId)
从接口 GroupQuery 复制的描述
Only selects Groups where the given user is a member of.

指定者:
接口 GroupQuery 中的 groupMember

potentialStarter

public GroupQuery potentialStarter(String procDefId)
从接口 GroupQuery 复制的描述
Only select GroupS that are potential starter for the given process definition.

指定者:
接口 GroupQuery 中的 potentialStarter

orderByGroupId

public GroupQuery orderByGroupId()
从接口 GroupQuery 复制的描述
Order by group id (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 GroupQuery 中的 orderByGroupId

orderByGroupName

public GroupQuery orderByGroupName()
从接口 GroupQuery 复制的描述
Order by group name (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 GroupQuery 中的 orderByGroupName

orderByGroupType

public GroupQuery orderByGroupType()
从接口 GroupQuery 复制的描述
Order by group type (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 GroupQuery 中的 orderByGroupType

executeCount

public long executeCount(CommandContext commandContext)
指定者:
AbstractQuery<GroupQuery,Group> 中的 executeCount

executeList

public List<Group> executeList(CommandContext commandContext,
                               Page page)
从类 AbstractQuery 复制的描述
Executes the actual query to retrieve the list of results.

指定者:
AbstractQuery<GroupQuery,Group> 中的 executeList
page - used if the results must be paged. If null, no paging will be applied.

getId

public String getId()

getName

public String getName()

getNameLike

public String getNameLike()

getType

public String getType()

getUserId

public String getUserId()


Copyright © 2013 Alfresco. All rights reserved.