|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.camunda.bpm.engine.impl.db.AuthorizationCheck
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<UserQuery,User>
org.camunda.bpm.engine.impl.UserQueryImpl
public abstract class UserQueryImpl
Field Summary | |
---|---|
protected String |
email
|
protected String |
emailLike
|
protected String |
firstName
|
protected String |
firstNameLike
|
protected String |
groupId
|
protected String |
id
|
protected String |
lastName
|
protected String |
lastNameLike
|
protected String |
procDefId
|
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC |
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
databaseType, firstResult, maxResults, parameter |
Fields inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
---|
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled |
Constructor Summary | |
---|---|
UserQueryImpl()
|
|
UserQueryImpl(CommandContext commandContext)
|
|
UserQueryImpl(CommandExecutor commandExecutor)
|
Method Summary | |
---|---|
String |
getEmail()
|
String |
getEmailLike()
|
String |
getFirstName()
|
String |
getFirstNameLike()
|
String |
getGroupId()
|
String |
getId()
|
String |
getLastName()
|
String |
getLastNameLike()
|
UserQuery |
memberOfGroup(String groupId)
Only select User s 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 User S that are potential starter for the given process definition. |
UserQuery |
userEmail(String email)
Only those User s with the given email addres. |
UserQuery |
userEmailLike(String emailLike)
Only select User s where the email matches the given parameter. |
UserQuery |
userFirstName(String firstName)
Only select User s with the given firstName. |
UserQuery |
userFirstNameLike(String firstNameLike)
Only select User s where the first name matches the given parameter. |
UserQuery |
userId(String id)
Only select User s with the given id/ |
UserQuery |
userLastName(String lastName)
Only select User s with the given lastName. |
UserQuery |
userLastNameLike(String lastNameLike)
Only select User s where the last name matches the given parameter. |
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeCount, executeList, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult |
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter |
Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
---|
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.camunda.bpm.engine.query.Query |
---|
asc, count, desc, list, listPage, singleResult |
Field Detail |
---|
protected String id
protected String firstName
protected String firstNameLike
protected String lastName
protected String lastNameLike
protected String email
protected String emailLike
protected String groupId
protected String procDefId
Constructor Detail |
---|
public UserQueryImpl()
public UserQueryImpl(CommandContext commandContext)
public UserQueryImpl(CommandExecutor commandExecutor)
Method Detail |
---|
public UserQuery userId(String id)
UserQuery
User
s with the given id/
userId
in interface UserQuery
public UserQuery userFirstName(String firstName)
UserQuery
User
s with the given firstName.
userFirstName
in interface UserQuery
public UserQuery userFirstNameLike(String firstNameLike)
UserQuery
User
s where the first name matches the given parameter.
The syntax is that of SQL, eg. %activivi%.
userFirstNameLike
in interface UserQuery
public UserQuery userLastName(String lastName)
UserQuery
User
s with the given lastName.
userLastName
in interface UserQuery
public UserQuery userLastNameLike(String lastNameLike)
UserQuery
User
s where the last name matches the given parameter.
The syntax is that of SQL, eg. %activivi%.
userLastNameLike
in interface UserQuery
public UserQuery userEmail(String email)
UserQuery
User
s with the given email addres.
userEmail
in interface UserQuery
public UserQuery userEmailLike(String emailLike)
UserQuery
User
s where the email matches the given parameter.
The syntax is that of SQL, eg. %activivi%.
userEmailLike
in interface UserQuery
public UserQuery memberOfGroup(String groupId)
UserQuery
User
s that belong to the given group.
memberOfGroup
in interface UserQuery
public UserQuery potentialStarter(String procDefId)
UserQuery
User
S that are potential starter for the given process definition.
potentialStarter
in interface UserQuery
public UserQuery orderByUserId()
UserQuery
Query.asc()
or Query.desc()
).
orderByUserId
in interface UserQuery
public UserQuery orderByUserEmail()
UserQuery
Query.asc()
or Query.desc()
).
orderByUserEmail
in interface UserQuery
public UserQuery orderByUserFirstName()
UserQuery
Query.asc()
or Query.desc()
).
orderByUserFirstName
in interface UserQuery
public UserQuery orderByUserLastName()
UserQuery
Query.asc()
or Query.desc()
).
orderByUserLastName
in interface UserQuery
public String getId()
public String getFirstName()
public String getFirstNameLike()
public String getLastName()
public String getLastNameLike()
public String getEmail()
public String getEmailLike()
public String getGroupId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |