Class AbstractAdvancedSearchableExtensionRepository

    • Constructor Detail

      • AbstractAdvancedSearchableExtensionRepository

        public AbstractAdvancedSearchableExtensionRepository()
    • Method Detail

      • search

        public IterableResult<Extension> search​(String pattern,
                                                int offset,
                                                int nb)
                                         throws SearchException
        Description copied from interface: Searchable
        Search extension based of the provided pattern.

        The pattern is a simple character chain.

        Specified by:
        search in interface Searchable
        Parameters:
        pattern - the pattern to search
        offset - the offset from where to start returning search results
        nb - the maximum number of search results to return
        Returns:
        the found extensions descriptors, empty list if nothing could be found
        Throws:
        SearchException - error when trying to search provided pattern