public class AppSearchResultSupplier extends Object implements info.magnolia.periscope.search.SearchResultSupplier
Search result supplier
that looks for a matching app name in the
App descriptor registry
.Modifier and Type | Field and Description |
---|---|
static String |
APPS_SUPPLIER_NAME |
Constructor and Description |
---|
AppSearchResultSupplier(AppSearchResultSupplierDefinition definition,
info.magnolia.ui.api.app.registry.AppDescriptorRegistry appDescriptorRegistry,
info.magnolia.ui.api.app.launcherlayout.AppLauncherLayoutManager appLauncherLayoutManager) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Stream<info.magnolia.periscope.search.SearchResult> |
search(info.magnolia.periscope.search.SearchQuery query) |
public static final String APPS_SUPPLIER_NAME
public AppSearchResultSupplier(AppSearchResultSupplierDefinition definition, info.magnolia.ui.api.app.registry.AppDescriptorRegistry appDescriptorRegistry, info.magnolia.ui.api.app.launcherlayout.AppLauncherLayoutManager appLauncherLayoutManager)
public String getName()
getName
in interface info.magnolia.periscope.search.SearchResultSupplier
public Stream<info.magnolia.periscope.search.SearchResult> search(info.magnolia.periscope.search.SearchQuery query) throws info.magnolia.periscope.search.SearchException
search
in interface info.magnolia.periscope.search.SearchResultSupplier
info.magnolia.periscope.search.SearchException
Copyright © 2018 Magnolia International Ltd.. All rights reserved.