Package com.priint.pubserverapi.user
Interface UserQuery
- All Superinterfaces:
QueryBuilder<User>
Interface for building queries to retrieve
User entities.
This interface extends QueryBuilder and provides methods to construct queries
based on attributes of a User, such as login, email, surname, and other user-related fields.
It supports method chaining for constructing complex queries.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSets the active status of theUserin the query.dataSourceId(String dataSourceId) Sets the data source ID associated with theUserin the query.Sets the email of theUserin the query.Sets the given name of theUserin the query.Sets the login of theUserin the query.Sets the person ID of theUserin the query.Sets the role ID associated with theUserin the query.Sets the surname of theUserin the query.Sets the team ID associated with theUserin the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
login
Sets the login of theUserin the query.- Parameters:
login- the login identifier of the user- Returns:
- the current
UserQueryinstance for method chaining
-
email
Sets the email of theUserin the query.- Parameters:
email- the email address of the user- Returns:
- the current
UserQueryinstance for method chaining
-
surname
Sets the surname of theUserin the query.- Parameters:
surname- the surname of the user- Returns:
- the current
UserQueryinstance for method chaining
-
givenName
Sets the given name of theUserin the query.- Parameters:
givenName- the given name (first name) of the user- Returns:
- the current
UserQueryinstance for method chaining
-
active
Sets the active status of theUserin the query.- Parameters:
active- the active status of the user- Returns:
- the current
UserQueryinstance for method chaining
-
personId
Sets the person ID of theUserin the query.- Parameters:
personId- the unique identifier of the person- Returns:
- the current
UserQueryinstance for method chaining
-
teamId
Sets the team ID associated with theUserin the query.- Parameters:
teamId- the unique identifier of the team- Returns:
- the current
UserQueryinstance for method chaining
-
roleId
Sets the role ID associated with theUserin the query.- Parameters:
roleId- the unique identifier of the role- Returns:
- the current
UserQueryinstance for method chaining
-
dataSourceId
Sets the data source ID associated with theUserin the query.- Parameters:
dataSourceId- the unique identifier of the data source- Returns:
- the current
UserQueryinstance for method chaining
-