SearchService.searchImmediateChildren() Method No Longer Available In Sites 11.1.1.6.1 (BP1) (Doc ID 1530780.1)

Last updated on DECEMBER 15, 2015

Applies to:

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

Symptoms

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

<%

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

%>

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

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

Cause

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