Hierarchy Developer's Guide for Oracle Self-Service E-Billing > APIs for Customizing Oracle Self-Service E-Billing Hierarchy Manager >

IExpression Interface


The IExpression interface represents different filter operations you can have on a query, especially for searching name-value pairs such as hierarchy node attributes. Use IHierarchyService.createExpression() to get an instance of this object. Table 4 describes the methods available for the IExpression API.

Table 4. IExpression Methods
Method
Description

IFilter and(IFilter c1, IFilter c2)

Creates a filter which performs the AND logic operation on the two passed-in filters.

IFilter between(java.lang.String propertyName, java.lang.Object lo, java.lang.Object hi)

Creates a filter which performs the BETWEEN operation.

IFilter eq(java.lang.String propertyName, java.lang.Object value)

Creates a filter which performs the EQUAL logic operation.

IFilter ge(java.lang.String propertyName, java.lang.Object value)

Creates a filter which performs the GREATER THAN OR EQUAL (>=) operation.

IFilter gt(java.lang.String propertyName, java.lang.Object value)

Creates a filter which performs the GREATER THAN (>) operation.

IFilter in(java.lang.String propertyName, java.util.Collection values)

Creates a filter which performs the IN operation.

IFilter isNotNull(java.lang.String propertyName)

Creates a filter which performs the IS NOT NULL operation.

IFilter isNull(java.lang.String propertyName)

Creates a filter which performs the IS NULL operation.

Filter le(java.lang.String propertyName, java.lang.Object value)

Creates a filter which performs the LESS THAN OR EQUAL (<=) operation.

IFilter like(java.lang.String propertyName, java.lang.Object value)

Creates a filter which performs the SQL LIKE operation.

IFilter lt(java.lang.String propertyName, java.lang.Object value)

Creates a filter which performs the LESS THAN (<) operation.

IFilter not(IFilter expression)

Creates a filter which performs the NOT operation on the passed in filter.

IFilter or(IFilter c1, IFilter c2)

Creates a filter which performs the OR logic operation on the two passed-in filters.

IFilter sql(java.lang.String sql)

Creates a filter using the passed in SQL expression.

Hierarchy Developer's Guide for Oracle Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.