move activeFqn to new method (#19263)

This commit is contained in:
sonika-shah 2025-01-07 16:20:59 +05:30 committed by sonikashah
parent 40d48ba072
commit dabcf4fbc3

View File

@ -214,6 +214,15 @@ public interface SearchClient {
Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD);
}
/*
Used for listing knowledge page hierarchy for a given active Page and page type, used in Elastic/Open SearchClientExtension
*/
default ResultList listPageHierarchyForActivePage(
String activeFqn, String pageType, int offset, int limit) {
throw new CustomExceptionMessage(
Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD);
}
@SuppressWarnings("unused")
default ResultList searchPageHierarchy(String query, String pageType, int offset, int limit) {
throw new CustomExceptionMessage(