Interface ConnectorResource

All Superinterfaces:
Adaptable, Resource

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

    • executeQuery

      Iterable<ConnectorResource> executeQuery(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.
    • getChildren

      Iterable<ConnectorResource> getChildren()
      Lists the children of this resource.
      Specified by:
      getChildren in interface Resource
      Returns:
      the children of this resource.
      See Also:
    • isContainer

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

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

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