LPS-35037 Remove unused method
LPS-35037 Move logic from the service to the indexer because otherwise there is no way to distinguish in the indexer if the user is trying to search in the root organization or everywhere. Add logic to calculate the parentOrganizationId considering filterOrganizations.
LPS-35037 If filterManageableOrganizations == true and we are in the root organization we don't need to search because the results are obtained directly from user.getOrganizations(true).
LPS-35037 Source formatting
LPS-35037 SF