Class JpaRootAuthenticationSessionModelCriteriaBuilder
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaModelCriteriaBuilder<JpaRootAuthenticationSessionEntity,RootAuthenticationSessionModel,JpaRootAuthenticationSessionModelCriteriaBuilder>
org.keycloak.models.map.storage.jpa.authSession.JpaRootAuthenticationSessionModelCriteriaBuilder
- All Implemented Interfaces:
ModelCriteriaBuilder<RootAuthenticationSessionModel,JpaRootAuthenticationSessionModelCriteriaBuilder>
public class JpaRootAuthenticationSessionModelCriteriaBuilder
extends JpaModelCriteriaBuilder<JpaRootAuthenticationSessionEntity,RootAuthenticationSessionModel,JpaRootAuthenticationSessionModelCriteriaBuilder>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.storage.ModelCriteriaBuilder
ModelCriteriaBuilder.Operator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompare(SearchableModelField<? super RootAuthenticationSessionModel> modelField, ModelCriteriaBuilder.Operator op, Object... value) 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.Methods inherited from class org.keycloak.models.map.storage.jpa.JpaModelCriteriaBuilder
and, convertToJson, getPredicateFunc, getUuidsForInOperator, getValuesForInOperator, hashExpression, isDistinct, not, or, validateValue
-
Constructor Details
-
JpaRootAuthenticationSessionModelCriteriaBuilder
public JpaRootAuthenticationSessionModelCriteriaBuilder()
-
-
Method Details
-
compare
public JpaRootAuthenticationSessionModelCriteriaBuilder compare(SearchableModelField<? super RootAuthenticationSessionModel> modelField, ModelCriteriaBuilder.Operator op, Object... value) Description copied from interface:ModelCriteriaBuilderAdds 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 thisModelCriteriaBuilderand the given operator.- Parameters:
modelField- Field on the logical model to be constrainedop- Operatorvalue- Additional operands of the operator.- Returns:
-