Class JpaScopeModelCriteriaBuilder

java.lang.Object
org.keycloak.models.map.storage.jpa.JpaModelCriteriaBuilder<JpaScopeEntity,Scope,JpaScopeModelCriteriaBuilder>
org.keycloak.models.map.storage.jpa.authorization.scope.JpaScopeModelCriteriaBuilder
All Implemented Interfaces:
ModelCriteriaBuilder<Scope,JpaScopeModelCriteriaBuilder>

public class JpaScopeModelCriteriaBuilder extends JpaModelCriteriaBuilder<JpaScopeEntity,Scope,JpaScopeModelCriteriaBuilder>
  • Constructor Details

    • JpaScopeModelCriteriaBuilder

      public JpaScopeModelCriteriaBuilder()
  • Method Details

    • compare

      public JpaScopeModelCriteriaBuilder compare(SearchableModelField<? super Scope> modelField, ModelCriteriaBuilder.Operator op, Object... value)
      Description copied from interface: ModelCriteriaBuilder
      Adds a constraint for the given model field to this criteria builder and returns a criteria builder that is combined with the the new constraint. The resulting constraint is a logical conjunction (i.e. AND) of the original constraint present in this ModelCriteriaBuilder and the given operator.
      Parameters:
      modelField - Field on the logical model to be constrained
      op - Operator
      value - Additional operands of the operator.
      Returns: