Interface SearchProvider

    • Field Detail

      • SELECTED_OBJECT_TEMPLATE

        static final java.lang.String SELECTED_OBJECT_TEMPLATE
        See Also:
        Constant Field Values
    • Method Detail

      • getDefaultRootType

        SearchType getDefaultRootType()
        Gets the default root type - search result will contain items of this type.
        Returns:
        the default root type of the provider
      • setDefaultRootType

        void setDefaultRootType​(SearchType defaultRootType)
        Sets the default root type. We will expect items of this type in the search result.
        Parameters:
        defaultRootType - the new default root type
      • search

        ExtendedSearchResult search​(Query query)
        Performs search for the given Query object.
        Parameters:
        query - the query object. This object contains all required information to perform search in the system.
        Returns:
        the extended search result which is a simple POJO that contains result set and some additional information.