org.activiti.engine.impl
类 UserQueryImpl

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

public class UserQueryImpl
extends AbstractQuery<UserQuery,User>
implements UserQuery

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

字段摘要
protected  String email
           
protected  String emailLike
           
protected  String firstName
           
protected  String firstNameLike
           
protected  String fullNameLike
           
protected  String groupId
           
protected  String id
           
protected  String lastName
           
protected  String lastNameLike
           
protected  String procDefId
           
 
从类 org.activiti.engine.impl.AbstractQuery 继承的字段
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
 
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的字段
databaseType, firstResult, maxResults, parameter
 
构造方法摘要
UserQueryImpl()
           
UserQueryImpl(CommandContext commandContext)
           
UserQueryImpl(CommandExecutor commandExecutor)
           
 
方法摘要
 long executeCount(CommandContext commandContext)
           
 List<User> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 String getEmail()
           
 String getEmailLike()
           
 String getFirstName()
           
 String getFirstNameLike()
           
 String getFullNameLike()
           
 String getGroupId()
           
 String getId()
           
 String getLastName()
           
 String getLastNameLike()
           
 UserQuery memberOfGroup(String groupId)
          Only select Users that belong to the given group.
 UserQuery orderByUserEmail()
          Order by user email (needs to be followed by Query.asc() or Query.desc()).
 UserQuery orderByUserFirstName()
          Order by user first name (needs to be followed by Query.asc() or Query.desc()).
 UserQuery orderByUserId()
          Order by user id (needs to be followed by Query.asc() or Query.desc()).
 UserQuery orderByUserLastName()
          Order by user last name (needs to be followed by Query.asc() or Query.desc()).
 UserQuery potentialStarter(String procDefId)
          Only select UserS that are potential starter for the given process definition.
 UserQuery userEmail(String email)
          Only those Users with the given email addres.
 UserQuery userEmailLike(String emailLike)
          Only select Users where the email matches the given parameter.
 UserQuery userFirstName(String firstName)
          Only select Users with the given firstName.
 UserQuery userFirstNameLike(String firstNameLike)
          Only select Users where the first name matches the given parameter.
 UserQuery userFullNameLike(String fullNameLike)
          Only select Users where the full name matches the given parameters.
 UserQuery userId(String id)
          Only select Users with the given id/
 UserQuery userLastName(String lastName)
          Only select Users with the given lastName.
 UserQuery userLastNameLike(String lastNameLike)
          Only select Users where the last name matches the given parameter.
 
从类 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

firstName

protected String firstName

firstNameLike

protected String firstNameLike

lastName

protected String lastName

lastNameLike

protected String lastNameLike

fullNameLike

protected String fullNameLike

email

protected String email

emailLike

protected String emailLike

groupId

protected String groupId

procDefId

protected String procDefId
构造方法详细信息

UserQueryImpl

public UserQueryImpl()

UserQueryImpl

public UserQueryImpl(CommandContext commandContext)

UserQueryImpl

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

userId

public UserQuery userId(String id)
从接口 UserQuery 复制的描述
Only select Users with the given id/

指定者:
接口 UserQuery 中的 userId

userFirstName

public UserQuery userFirstName(String firstName)
从接口 UserQuery 复制的描述
Only select Users with the given firstName.

指定者:
接口 UserQuery 中的 userFirstName

userFirstNameLike

public UserQuery userFirstNameLike(String firstNameLike)
从接口 UserQuery 复制的描述
Only select Users where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.

指定者:
接口 UserQuery 中的 userFirstNameLike

userLastName

public UserQuery userLastName(String lastName)
从接口 UserQuery 复制的描述
Only select Users with the given lastName.

指定者:
接口 UserQuery 中的 userLastName

userLastNameLike

public UserQuery userLastNameLike(String lastNameLike)
从接口 UserQuery 复制的描述
Only select Users where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.

指定者:
接口 UserQuery 中的 userLastNameLike

userFullNameLike

public UserQuery userFullNameLike(String fullNameLike)
从接口 UserQuery 复制的描述
Only select Users where the full name matches the given parameters. Both the first name and last name will be tried, ie in semi-sql: where firstName like xxx or lastname like xxx

指定者:
接口 UserQuery 中的 userFullNameLike

userEmail

public UserQuery userEmail(String email)
从接口 UserQuery 复制的描述
Only those Users with the given email addres.

指定者:
接口 UserQuery 中的 userEmail

userEmailLike

public UserQuery userEmailLike(String emailLike)
从接口 UserQuery 复制的描述
Only select Users where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.

指定者:
接口 UserQuery 中的 userEmailLike

memberOfGroup

public UserQuery memberOfGroup(String groupId)
从接口 UserQuery 复制的描述
Only select Users that belong to the given group.

指定者:
接口 UserQuery 中的 memberOfGroup

potentialStarter

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

指定者:
接口 UserQuery 中的 potentialStarter

orderByUserId

public UserQuery orderByUserId()
从接口 UserQuery 复制的描述
Order by user id (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 UserQuery 中的 orderByUserId

orderByUserEmail

public UserQuery orderByUserEmail()
从接口 UserQuery 复制的描述
Order by user email (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 UserQuery 中的 orderByUserEmail

orderByUserFirstName

public UserQuery orderByUserFirstName()
从接口 UserQuery 复制的描述
Order by user first name (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 UserQuery 中的 orderByUserFirstName

orderByUserLastName

public UserQuery orderByUserLastName()
从接口 UserQuery 复制的描述
Order by user last name (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 UserQuery 中的 orderByUserLastName

executeCount

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

executeList

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

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

getId

public String getId()

getFirstName

public String getFirstName()

getFirstNameLike

public String getFirstNameLike()

getLastName

public String getLastName()

getLastNameLike

public String getLastNameLike()

getEmail

public String getEmail()

getEmailLike

public String getEmailLike()

getGroupId

public String getGroupId()

getFullNameLike

public String getFullNameLike()


Copyright © 2013 Alfresco. All rights reserved.