Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Package oracle.wcps.property.filter

Provides interfaces and classes to create filter contexts to filter property service entities.

See:
          Description

Interface Summary
IFilterContext<E extends IBinaryExpression,D extends IAttribute> A filter context for searching property service entities.

 

Class Summary
AbstractFilterContext<E extends IBinaryExpression,D extends IAttribute>  
NamespaceFilterContext The namespace filter context encapsulates NamespaceExpression, and used for searching namespaces.
PropertyDefinitionFilterContext The propertydefinition filter context encapsulates PropertyDefinitionExpression, and used for searching propertydefinitions.
PropertySetDefinitionFilterContext The propertysetdefinition filter context encapsulates PropertySetDefinitionExpression, and used for searching propertysetdefinitions.
PropertySetFilterContext The propertyset filter context encapsulates PropertySetExpression, and used for searching propertysets.

 

Package oracle.wcps.property.filter Description

Provides interfaces and classes to create filter contexts to filter property service entities.

Example for filtering propertysets

Note: The following code uses variables created in the oracle.wcps.property package documentation.

      // To filter propertysets where CEOName property value contains letter J and return property sets populated with only
      // CEOName property.
       PropertySetExpression expression =
               PropertySetExpression.builder()
                       .propertyName("CEOName").contains("J").build();
       List<PropertySetAttribute> dataFields = new ArrayList<PropertySetAttribute>();
       dataFields.add(PropertySetAttribute.propertyName("CEOName"));
       PropertySetFilterContext filterContext = new PropertySetFilterContext(expression, dataFields);
       IPagedList<IPropertySet> propertySets = propertyService.filter(remoteContext, propertySetDefinition.getName(), filterContext);
 

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.