Package com.priint.pubserverapi.role
Interface RoleQuery
- All Superinterfaces:
QueryBuilder<Role>
Interface for building queries to retrieve
Role entities.
This interface extends QueryBuilder and provides methods to construct queries
based on attributes of a Role, such as login, roleName, and other role-related fields.
It supports method chaining for constructing complex queries.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSets the login in the query.Sets the role label of theRolein the query.roleLabelLike(String roleLabelLike) Restrict to roles that have a label that has the parameter value as a substring.Sets the role name of theRolein the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
login
Sets the login in the query.- Parameters:
login- the login identifier used to get assigned roles for user- Returns:
- the current
RoleQueryinstance for method chaining
-
roleName
Sets the role name of theRolein the query.- Parameters:
roleName- the name of the role- Returns:
- the current
RoleQueryinstance for method chaining
-
roleLabel
Sets the role label of theRolein the query.- Parameters:
roleLabel- the label of the role- Returns:
- the current
RoleQueryinstance for method chaining
-
roleLabelLike
Restrict to roles that have a label that has the parameter value as a substring.- Parameters:
roleLabelLike- the substring of the label of the role- Returns:
- the current
RoleQueryinstance for method chaining
-