public class UserQueryDto extends AbstractQueryDto<UserQuery>
Modifier and Type | Field and Description |
---|---|
protected String |
email |
protected String |
emailLike |
protected String |
firstName |
protected String |
firstNameLike |
protected String |
id |
protected String[] |
idIn |
protected String |
lastName |
protected String |
lastNameLike |
protected String |
memberOfGroup |
protected String |
potentialStarter |
protected String |
tenantId |
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
UserQueryDto() |
UserQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(UserQuery query) |
protected void |
applySortBy(UserQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
protected UserQuery |
createNewQuery(ProcessEngine engine) |
protected boolean |
isValidSortByValue(String value) |
void |
setEmail(String userEmail) |
void |
setEmailLike(String userEmailLike) |
void |
setFirstName(String userFirstName) |
void |
setFirstNameLike(String userFirstNameLike) |
void |
setId(String userId) |
void |
setIdIn(String[] ids) |
void |
setLastName(String userLastName) |
void |
setLastNameLike(String userLastNameLike) |
void |
setMemberOfGroup(String memberOfGroup) |
void |
setMemberOfTenant(String tenantId) |
void |
setPotentialStarter(String potentialStarter) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
protected String id
protected String[] idIn
protected String firstName
protected String firstNameLike
protected String lastName
protected String lastNameLike
protected String email
protected String emailLike
protected String memberOfGroup
protected String potentialStarter
protected String tenantId
public void setId(String userId)
public void setIdIn(String[] ids)
public void setFirstName(String userFirstName)
public void setFirstNameLike(String userFirstNameLike)
public void setLastName(String userLastName)
public void setLastNameLike(String userLastNameLike)
public void setEmail(String userEmail)
public void setEmailLike(String userEmailLike)
public void setMemberOfGroup(String memberOfGroup)
public void setPotentialStarter(String potentialStarter)
public void setMemberOfTenant(String tenantId)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<UserQuery>
protected UserQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<UserQuery>
protected void applyFilters(UserQuery query)
applyFilters
in class AbstractQueryDto<UserQuery>
protected void applySortBy(UserQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<UserQuery>
Copyright © 2020. All rights reserved.