Interface ConnectorResource

  • All Superinterfaces:
    Adaptable, Resource

    public interface ConnectorResource
    extends Resource
    ConnectorResource provides unified access to content exposed by various JCR connector implementations.
    • Method Detail

      • executeQuery

        java.lang.Iterable<ConnectorResource> executeQuery​(java.lang.String fulltext)
        Executes a fulltext query on this resource. The scope of the query is limitted to the descendants of this resource.
        Parameters:
        fulltext - the fulltext query statement.
        Returns:
        an iterator over result set.
      • isContainer

        boolean isContainer()
        Returns:
        true if this resource is a container that contains other resources; false otherwise.
      • getLastModified

        java.util.Calendar getLastModified()
        Returns:
        the date when this resource was last modified.
      • getMimeType

        java.lang.String getMimeType()
        Returns:
        the mime type of this resource.