Interface ExtensionRepository

    • Method Detail

      • resolveVersions

        IterableResult<Version> resolveVersions​(String id,
                                                int offset,
                                                int nb)
                                         throws ResolveException
        Return ordered (ascendent) versions for the provided extension id.
        Parameters:
        id - the id of the extensions for which to return versions
        offset - the offset from where to start returning versions
        nb - the maximum number of versions to return
        Returns:
        the versions of the provided extension id
        Throws:
        ExtensionNotFoundException - when the extension does not exist in the repository
        ResolveException - fail to find extension for provided id
      • exists

        boolean exists​(ExtensionId extensionId)
        Parameters:
        extensionId - the extension identifier
        Returns:
        true if the extension exists in the repository