Class ComponentSearchManagerImpl
java.lang.Object
ru.cg.webbpm.studio.subsystems.page_designer.designer.impl.search.ComponentSearchManagerImpl
- All Implemented Interfaces:
ComponentSearchManager
- Author:
- krylov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComponentSearchManagerImpl
(List<ComponentHierarchyFilterProvider> searchProviders) -
Method Summary
Modifier and TypeMethodDescriptionfindInObject
(PageObjectContext rootObject, ComponentHierarchyFilterProvider provider, String search) Find all objects matching given search query (represented as a provider and query string) inside the given object (the object itself included)findInObject
(PageObjectParentContext pageContext, String prefix, String search) Find all objects matching given search query (represented as a provider prefix and a query string) in a page contextgetProvider
(String prefix) Get search provider for a given prefix
-
Field Details
-
searchProviders
-
-
Constructor Details
-
ComponentSearchManagerImpl
@Autowired public ComponentSearchManagerImpl(List<ComponentHierarchyFilterProvider> searchProviders)
-
-
Method Details
-
getSearchProviders
- Specified by:
getSearchProviders
in interfaceComponentSearchManager
-
getProvider
Description copied from interface:ComponentSearchManager
Get search provider for a given prefix- Specified by:
getProvider
in interfaceComponentSearchManager
-
findInObject
public List<PageObjectContext> findInObject(PageObjectParentContext pageContext, String prefix, String search) Description copied from interface:ComponentSearchManager
Find all objects matching given search query (represented as a provider prefix and a query string) in a page context- Specified by:
findInObject
in interfaceComponentSearchManager
- Parameters:
pageContext
- page contextprefix
- provider prefixsearch
- query string- Returns:
- list (possibly empty) of all page objects matching the query
-
findInObject
public List<PageObjectContext> findInObject(PageObjectContext rootObject, ComponentHierarchyFilterProvider provider, String search) Description copied from interface:ComponentSearchManager
Find all objects matching given search query (represented as a provider and query string) inside the given object (the object itself included)- Specified by:
findInObject
in interfaceComponentSearchManager
- Parameters:
rootObject
- root object to search insideprovider
- filter providersearch
- query string- Returns:
- list (possibly empty) of all page objects matching the query
-