public interface IQueryBuilder
IQueryExpression
s for later use with the corresponding
property search manager. A IQueryBuilder constructs and combines IQueryExpressions, creating new IQueryExpressions, which finally are executed against the property search manager. Construction is done in the following way
builder.equ(x, y).and(builder.eq(z, "name")).or(builder.like(y, "%jpg")) builder.not(builder.greaterThan(x, new Integer(7)))
Copyright (c) SAP AG 2001-2002
Modifier and Type | Method and Description |
---|---|
IQueryExpression |
constFalse() |
IQueryExpression |
constTrue() |
IQueryExpression |
eq(IName name,
Object value)
Returns a new expression which tests property == value.
|
IQueryExpression |
eq(IName name,
String value)
Returns a new expression which tests property == value.
|
IQueryExpression |
eqIgnoreCase(IName name,
String value)
Returns a new expression which tests property == value, ignoring case.
|
IQueryExpression |
greater(IName name,
Object value)
Returns a new expression which tests property value.
|
IQueryExpression |
greater(IName name,
String value)
Returns a new expression which tests property value.
|
IQueryExpression |
greaterEq(IName name,
Object value)
Returns a new expression which tests property value.
|
IQueryExpression |
greaterEq(IName name,
String value)
Returns a new expression which tests property value.
|
IQueryExpression |
greaterEqIgnoreCase(IName name,
String value)
Returns a new expression which tests property value, ignoring case.
|
IQueryExpression |
greaterIgnoreCase(IName name,
String value)
Returns a new expression which tests property value, ignoring case.
|
IQueryExpression |
isCollection()
Returns a new expression which tests if the resource is a collection
|
IQueryExpression |
isDefined(IName name)
Returns a new expression which tests for the properties existence.
|
IQueryExpression |
less(IName name,
Object value)
Returns a new expression which tests property value.
|
IQueryExpression |
less(IName name,
String value)
Returns a new expression which tests property value.
|
IQueryExpression |
lessEq(IName name,
Object value)
Returns a new expression which tests property value.
|
IQueryExpression |
lessEq(IName name,
String value)
Returns a new expression which tests property value.
|
IQueryExpression |
lessEqIgnoreCase(IName name,
String value)
Returns a new expression which tests property value, ignoring case.
|
IQueryExpression |
lessIgnoreCase(IName name,
String value)
Returns a new expression which tests property value, ignoring case.
|
IQueryExpression |
like(IName name,
String value)
Returns a new expression which tests property is like value, where value is
a wildcard expression.
|
IQueryExpression |
likeIgnoreCase(IName name,
String value)
Returns a new expression which tests property is like value, where value is
a wildcard expression.
|
IQueryExpression |
not(IQueryExpression expression)
Returns a new expression which is the complement of the given expression.
|
IQueryExpression |
notEq(IName name,
Object value)
Returns a new expression which tests property !
|
IQueryExpression |
notEq(IName name,
String value)
Returns a new expression which tests property !
|
IQueryExpression |
notEqIgnoreCase(IName name,
String value)
Returns a new expression which tests property !
|
IQueryExpression eq(IName name, Object value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression eq(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression eqIgnoreCase(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression notEq(IName name, Object value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression notEq(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression notEqIgnoreCase(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression less(IName name, Object value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression less(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression lessIgnoreCase(IName name, String value)
name
- the name3 of the propertyvalue
- to compare againstIQueryExpression lessEq(IName name, Object value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression lessEq(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression lessEqIgnoreCase(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression greater(IName name, Object value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression greater(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression greaterIgnoreCase(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression greaterEq(IName name, Object value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression greaterEq(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression greaterEqIgnoreCase(IName name, String value)
name
- the name of the propertyvalue
- to compare againstIQueryExpression not(IQueryExpression expression)
expression
- to return complement ofIQueryExpression like(IName name, String value)
name
- the name of the propertyvalue
- the wildcard expressionIQueryExpression likeIgnoreCase(IName name, String value)
name
- the name of the propertyvalue
- the wildcard expressionIQueryExpression isDefined(IName name)
name
- the name of the propertyIQueryExpression isCollection()
IQueryExpression constFalse()
IQueryExpression constTrue()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice