org.qi4j.api.query
Interface QueryExpressionsProvider


public interface QueryExpressionsProvider

SPI interface for QueryExpressionsProviders


Method Summary
 AssociationIsNotNullPredicate newAssociationIsNotNullPredicate(AssociationReference associationRef)
           
 AssociationIsNullPredicate newAssociationIsNullPredicate(AssociationReference associationReference)
           
 Conjunction newConjunction(BooleanExpression left, BooleanExpression right)
           
<T,C extends Collection<T>>
ContainsAllPredicate<T,C>
newContainsAllPredicate(PropertyReference<C> propertyRef, SingleValueExpression<C> collectionValues)
           
<T,C extends Collection<T>>
ContainsPredicate<T,C>
newContainsPredicate(PropertyReference<C> propertyRef, SingleValueExpression<T> singleValueExpression)
           
 Disjunction newDisjunction(BooleanExpression left, BooleanExpression right)
           
<T> EqualsPredicate<String>
newEqualsPredicate(AssociationReference associationRef, SingleValueExpression<T> staticValueExpr)
           
<T> EqualsPredicate<String>
newEqualsPredicate(AssociationReference associationRef, VariableValueExpression<T> variableValueExpr)
           
<T> EqualsPredicate<T>
newEqualsPredicate(PropertyReference<T> propertyRef, SingleValueExpression<T> staticValueExpr)
           
<T> EqualsPredicate<T>
newEqualsPredicate(PropertyReference<T> propertyRef, VariableValueExpression<T> variableValueExpr)
           
<T> GreaterOrEqualPredicate<T>
newGreaterOrEqualPredicate(PropertyReference<T> propertyRef, SingleValueExpression<T> staticValueExpr)
           
<T> GreaterOrEqualPredicate<T>
newGreaterOrEqualPredicate(PropertyReference<T> propertyRef, VariableValueExpression<T> variableValueExpr)
           
<T> GreaterThanPredicate<T>
newGreaterThanPredicate(PropertyReference<T> propertyRef, SingleValueExpression<T> staticValueExpr)
           
<T> GreaterThanPredicate<T>
newGreaterThanPredicate(PropertyReference<T> propertyRef, VariableValueExpression<T> variableValueExpr)
           
<T> LessOrEqualPredicate<T>
newLessOrEqualPredicate(PropertyReference<T> propertyRef, SingleValueExpression<T> staticValueExpr)
           
<T> LessOrEqualPredicate<T>
newLessOrEqualPredicate(PropertyReference<T> propertyRef, VariableValueExpression<T> variableValueExpr)
           
<T> LessThanPredicate<T>
newLessThanPredicate(PropertyReference<T> propertyRef, SingleValueExpression<T> staticValueExpr)
           
<T> LessThanPredicate<T>
newLessThanPredicate(PropertyReference<T> propertyRef, VariableValueExpression<T> variableValueExpr)
           
<T> ManyAssociationContainsPredicate<T>
newManyAssociationContainsPredicate(ManyAssociationReference associationRef, SingleValueExpression<T> singleValueExpression)
           
 MatchesPredicate newMatchesPredicate(PropertyReference<String> stringPropertyReference, SingleValueExpression<String> stringSingleValueExpression)
           
 Negation newNegation(BooleanExpression expression)
           
<T> NotEqualsPredicate<T>
newNotEqualsPredicate(PropertyReference<T> propertyRef, SingleValueExpression<T> staticValueExpr)
           
<T> NotEqualsPredicate<T>
newNotEqualsPredicate(PropertyReference<T> propertyRef, VariableValueExpression<T> variableValueExpr)
           
 OrderBy newOrderBy(PropertyReference<?> propertyRef, OrderBy.Order order)
           
<T> PropertyIsNotNullPredicate<T>
newPropertyIsNotNullPredicate(PropertyReference<T> propertyRef)
           
<T> PropertyIsNullPredicate<T>
newPropertyIsNullPredicate(PropertyReference<T> propertyRef)
           
<T> SingleValueExpression<T>
newSingleValueExpression(T value)
           
<T> VariableValueExpression<T>
newVariableValueExpression(String name)
           
<T> T
oneOf(ManyAssociation<T> association)
           
<T> T
templateFor(Class<T> mixinType)
           
<T> T
templateFor(Class<T> mixinType, Object associatedEntity)
           
 

Method Detail

templateFor

<T> T templateFor(Class<T> mixinType)

templateFor

<T> T templateFor(Class<T> mixinType,
                  Object associatedEntity)

newVariableValueExpression

<T> VariableValueExpression<T> newVariableValueExpression(String name)

newPropertyIsNullPredicate

<T> PropertyIsNullPredicate<T> newPropertyIsNullPredicate(PropertyReference<T> propertyRef)

newAssociationIsNullPredicate

AssociationIsNullPredicate newAssociationIsNullPredicate(AssociationReference associationReference)

newPropertyIsNotNullPredicate

<T> PropertyIsNotNullPredicate<T> newPropertyIsNotNullPredicate(PropertyReference<T> propertyRef)

newAssociationIsNotNullPredicate

AssociationIsNotNullPredicate newAssociationIsNotNullPredicate(AssociationReference associationRef)

newEqualsPredicate

<T> EqualsPredicate<T> newEqualsPredicate(PropertyReference<T> propertyRef,
                                          SingleValueExpression<T> staticValueExpr)

newEqualsPredicate

<T> EqualsPredicate<T> newEqualsPredicate(PropertyReference<T> propertyRef,
                                          VariableValueExpression<T> variableValueExpr)

newEqualsPredicate

<T> EqualsPredicate<String> newEqualsPredicate(AssociationReference associationRef,
                                               SingleValueExpression<T> staticValueExpr)

newEqualsPredicate

<T> EqualsPredicate<String> newEqualsPredicate(AssociationReference associationRef,
                                               VariableValueExpression<T> variableValueExpr)

newNotEqualsPredicate

<T> NotEqualsPredicate<T> newNotEqualsPredicate(PropertyReference<T> propertyRef,
                                                SingleValueExpression<T> staticValueExpr)

newNotEqualsPredicate

<T> NotEqualsPredicate<T> newNotEqualsPredicate(PropertyReference<T> propertyRef,
                                                VariableValueExpression<T> variableValueExpr)

newLessThanPredicate

<T> LessThanPredicate<T> newLessThanPredicate(PropertyReference<T> propertyRef,
                                              SingleValueExpression<T> staticValueExpr)

newLessThanPredicate

<T> LessThanPredicate<T> newLessThanPredicate(PropertyReference<T> propertyRef,
                                              VariableValueExpression<T> variableValueExpr)

newLessOrEqualPredicate

<T> LessOrEqualPredicate<T> newLessOrEqualPredicate(PropertyReference<T> propertyRef,
                                                    SingleValueExpression<T> staticValueExpr)

newLessOrEqualPredicate

<T> LessOrEqualPredicate<T> newLessOrEqualPredicate(PropertyReference<T> propertyRef,
                                                    VariableValueExpression<T> variableValueExpr)

newGreaterThanPredicate

<T> GreaterThanPredicate<T> newGreaterThanPredicate(PropertyReference<T> propertyRef,
                                                    SingleValueExpression<T> staticValueExpr)

newGreaterThanPredicate

<T> GreaterThanPredicate<T> newGreaterThanPredicate(PropertyReference<T> propertyRef,
                                                    VariableValueExpression<T> variableValueExpr)

newGreaterOrEqualPredicate

<T> GreaterOrEqualPredicate<T> newGreaterOrEqualPredicate(PropertyReference<T> propertyRef,
                                                          SingleValueExpression<T> staticValueExpr)

newGreaterOrEqualPredicate

<T> GreaterOrEqualPredicate<T> newGreaterOrEqualPredicate(PropertyReference<T> propertyRef,
                                                          VariableValueExpression<T> variableValueExpr)

newMatchesPredicate

MatchesPredicate newMatchesPredicate(PropertyReference<String> stringPropertyReference,
                                     SingleValueExpression<String> stringSingleValueExpression)

newConjunction

Conjunction newConjunction(BooleanExpression left,
                           BooleanExpression right)

newDisjunction

Disjunction newDisjunction(BooleanExpression left,
                           BooleanExpression right)

newNegation

Negation newNegation(BooleanExpression expression)

newOrderBy

OrderBy newOrderBy(PropertyReference<?> propertyRef,
                   OrderBy.Order order)

newSingleValueExpression

<T> SingleValueExpression<T> newSingleValueExpression(T value)

oneOf

<T> T oneOf(ManyAssociation<T> association)

newContainsAllPredicate

<T,C extends Collection<T>> ContainsAllPredicate<T,C> newContainsAllPredicate(PropertyReference<C> propertyRef,
                                                                              SingleValueExpression<C> collectionValues)

newContainsPredicate

<T,C extends Collection<T>> ContainsPredicate<T,C> newContainsPredicate(PropertyReference<C> propertyRef,
                                                                        SingleValueExpression<T> singleValueExpression)

newManyAssociationContainsPredicate

<T> ManyAssociationContainsPredicate<T> newManyAssociationContainsPredicate(ManyAssociationReference associationRef,
                                                                            SingleValueExpression<T> singleValueExpression)