Interface RoleQuery

All Superinterfaces:
QueryBuilder<Role>

public interface RoleQuery extends 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 Details

    • login

      RoleQuery login(String login)
      Sets the login in the query.
      Parameters:
      login - the login identifier used to get assigned roles for user
      Returns:
      the current RoleQuery instance for method chaining
    • roleName

      RoleQuery roleName(String roleName)
      Sets the role name of the Role in the query.
      Parameters:
      roleName - the name of the role
      Returns:
      the current RoleQuery instance for method chaining
    • roleLabel

      RoleQuery roleLabel(String roleLabel)
      Sets the role label of the Role in the query.
      Parameters:
      roleLabel - the label of the role
      Returns:
      the current RoleQuery instance for method chaining
    • roleLabelLike

      RoleQuery roleLabelLike(String 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 RoleQuery instance for method chaining