SearchService.searchImmediateChildren() Method No Longer Available In Sites (BP1)

(Doc ID 1530780.1)

Last updated on DECEMBER 15, 2015

Applies to:

Oracle WebCenter Sites - Version and later
Information in this document applies to any platform.


Documented Sites SearchService.searchImmediateChildren() method is no longer available in Sites  For example, this jsp code executes fine in Sites


   Session ses = SessionFactory.getSession();
   ServicesManager servicesManager = (ServicesManager)
   SearchService searchService = servicesManager.getSearchService();
   List<ResultRow> searchResults = searchService.searchImmediateChildren(new
   AssetIdImpl("Page", NumberUtils.toLong("123")), 123, 10, null);


However when executed in Sites, this error is thrown in the log:

"The method searchImmediateChildren(AssetIdImpl, int, int, null) is undefined for the type SearchService"


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms