Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6)

E21908-03

oracle.ecsf.impl.facet
Class FacetManager

java.lang.Object
  extended by oracle.ecsf.impl.facet.FacetManager

public class FacetManager
extends java.lang.Object

Used during query to set filters and get applicable facets for a query.


Constructor Summary
FacetManager()
           
 
Method Summary
 Facet[] getEntrylessFacets(SearchableObject so, FacetPath[] facetPaths)
          Get the empty Facets (no entries) for a given SearchableObject based on selected FacetPaths.
 Facet[] getFacets(SearchableObject so, FacetPath[] facetPaths)
          Get the Facets for a given SearchableObject based on selected FacetPaths.
 FieldFilter[] getFilters(SearchableObject so, FacetPath[] paths)
          Construct query Filters from Facet Paths.
 Facet[] getGroupFacet(SearchableGroup group)
          Get a single Facet representing a group and its objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetManager

public FacetManager()
Method Detail

getFilters

public FieldFilter[] getFilters(SearchableObject so,
                                FacetPath[] paths)
Construct query Filters from Facet Paths.

Parameters:
so - - searchable object which has facet def.
paths - - the facet paths containing facet selections for the searchable object.
Returns:
Filter[]

getGroupFacet

public Facet[] getGroupFacet(SearchableGroup group)
Get a single Facet representing a group and its objects.

Parameters:
group - - the group being queried.
facetPaths - - the facet paths relative to the group.
Returns:
Facet[]

getFacets

public Facet[] getFacets(SearchableObject so,
                         FacetPath[] facetPaths)
Get the Facets for a given SearchableObject based on selected FacetPaths.

Parameters:
so -
facetPaths -
Returns:
Facet[]

getEntrylessFacets

public Facet[] getEntrylessFacets(SearchableObject so,
                                  FacetPath[] facetPaths)
Get the empty Facets (no entries) for a given SearchableObject based on selected FacetPaths. Use this when entries are not needed, in order to avoid loading full facet defs.

Parameters:
so -
facetPaths -
Returns:
Facet[]

Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6)

E21908-03

Copyright © 2012 Oracle. All rights reserved.