Class UserQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<UserQuery>
-
- org.camunda.bpm.engine.rest.dto.identity.UserQueryDto
-
public class UserQueryDto extends AbstractQueryDto<UserQuery>
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
email
protected java.lang.String
emailLike
protected java.lang.String
firstName
protected java.lang.String
firstNameLike
protected java.lang.String
id
protected java.lang.String[]
idIn
protected java.lang.String
lastName
protected java.lang.String
lastNameLike
protected java.lang.String
memberOfGroup
protected java.lang.String
potentialStarter
protected java.lang.String
tenantId
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
objectMapper
-
-
Constructor Summary
Constructors Constructor Description UserQueryDto()
UserQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(UserQuery query)
protected void
applySortBy(UserQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected UserQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setEmail(java.lang.String userEmail)
void
setEmailLike(java.lang.String userEmailLike)
void
setFirstName(java.lang.String userFirstName)
void
setFirstNameLike(java.lang.String userFirstNameLike)
void
setId(java.lang.String userId)
void
setIdIn(java.lang.String[] ids)
void
setLastName(java.lang.String userLastName)
void
setLastNameLike(java.lang.String userLastNameLike)
void
setMemberOfGroup(java.lang.String memberOfGroup)
void
setMemberOfTenant(java.lang.String tenantId)
void
setPotentialStarter(java.lang.String potentialStarter)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
setObjectMapper, setValueBasedOnAnnotation
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
idIn
protected java.lang.String[] idIn
-
firstName
protected java.lang.String firstName
-
firstNameLike
protected java.lang.String firstNameLike
-
lastName
protected java.lang.String lastName
-
lastNameLike
protected java.lang.String lastNameLike
-
email
protected java.lang.String email
-
emailLike
protected java.lang.String emailLike
-
memberOfGroup
protected java.lang.String memberOfGroup
-
potentialStarter
protected java.lang.String potentialStarter
-
tenantId
protected java.lang.String tenantId
-
-
Method Detail
-
setId
public void setId(java.lang.String userId)
-
setIdIn
public void setIdIn(java.lang.String[] ids)
-
setFirstName
public void setFirstName(java.lang.String userFirstName)
-
setFirstNameLike
public void setFirstNameLike(java.lang.String userFirstNameLike)
-
setLastName
public void setLastName(java.lang.String userLastName)
-
setLastNameLike
public void setLastNameLike(java.lang.String userLastNameLike)
-
setEmail
public void setEmail(java.lang.String userEmail)
-
setEmailLike
public void setEmailLike(java.lang.String userEmailLike)
-
setMemberOfGroup
public void setMemberOfGroup(java.lang.String memberOfGroup)
-
setPotentialStarter
public void setPotentialStarter(java.lang.String potentialStarter)
-
setMemberOfTenant
public void setMemberOfTenant(java.lang.String tenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<UserQuery>
-
createNewQuery
protected UserQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<UserQuery>
-
applyFilters
protected void applyFilters(UserQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<UserQuery>
-
applySortBy
protected void applySortBy(UserQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<UserQuery>
-
-