Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.globalSearch.ui
Class PerCategorySplitter

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.AbstractCategorySplitter
      extended by oracle.apps.fnd.applcore.globalSearch.ui.PerCategorySplitter
All Implemented Interfaces:
CategorySplitter

public class PerCategorySplitter
extends AbstractCategorySplitter

A Category splitter that will split the set of categories into one category per group. Primarily for testing.

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
PerCategorySplitter()
           
 
Method Summary
 java.util.List<CategoryGroup> split(java.util.List<SearchCategory> searchCategories, java.util.List<SearchCategory> allSearchableCategories)
          Split the categories.
 
Methods inherited from class oracle.apps.fnd.applcore.globalSearch.ui.AbstractCategorySplitter
getCategorySplitter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerCategorySplitter

public PerCategorySplitter()
Method Detail

split

public java.util.List<CategoryGroup> split(java.util.List<SearchCategory> searchCategories,
                                           java.util.List<SearchCategory> allSearchableCategories)
Split the categories. Both args are assumed non-null and non-empty, furthermore searchCategories should be a subset of allSearchableCategories. The same splitting algorithm should be used on both args.

Parameters:
searchCategories - list of search categories to split.
allSearchableCategories - list of all search categories to split.
Returns:
List of groups.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.