Interface RootItemSearchService
- All Known Implementing Classes:
DefaultRootItemSearchService
public interface RootItemSearchService
A service that provides methods for retrieving root items
defined within the
IntegrationObjectModel.-
Method Summary
Modifier and TypeMethodDescription@NotNull RootItemSearchResultfindRoots(ItemModel item, IntegrationObjectModel io) Searches for a root item within the providedItemModelusing theIntegrationObjectModeldefinition.@NotNull RootItemSearchResultfindRoots(ItemModel item, TypeDescriptor typeDescriptor) Searches for a root item within the providedItemModelusing theTypeDescriptordefinition.
-
Method Details
-
findRoots
Searches for a root item within the providedItemModelusing theIntegrationObjectModeldefinition. Root item may be the itself.- Parameters:
item- the item to navigate to the root item fromio- integration object definition- Returns:
RootItemSearchResultresult of the search
-
findRoots
Searches for a root item within the providedItemModelusing theTypeDescriptordefinition. Root item may be the itself.- Parameters:
item- the item to navigate to the root item fromtypeDescriptor- integration object item descriptor- Returns:
RootItemSearchResultresult of the search
-