move activeFqn to new method (#19263)

This commit is contained in:
sonika-shah 2025-01-07 16:20:59 +05:30 committed by GitHub
parent 34f34ee90a
commit 53e93fe377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,8 +209,16 @@ public interface SearchClient {
Used for listing knowledge page hierarchy for a given parent and page type, used in Elastic/Open SearchClientExtension
*/
@SuppressWarnings("unused")
default ResultList listPageHierarchy(
String parent, String activeFqn, String pageType, int offset, int limit) {
default ResultList listPageHierarchy(String parent, String pageType, int offset, int limit) {
throw new CustomExceptionMessage(
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);
}