Interface IRepositoryReader

All Known Subinterfaces:
IMasterRepository, IRepository

public interface IRepositoryReader
This interface represents a READ ONLY Repository. It allows for navigating through collections and resources.
  • Method Summary

    Modifier and Type Method Description
    List<String> getAllResourcePaths()
    Returns a list of all the paths pointing to a resource.
    ICollection getCollection​(String path)
    Returns an ICollection instance representing the resource at the specified path.
    IResource getResource​(String path)
    Returns an instance of IResource which represents the resource located at the specified path.
    ICollection getRoot()
    Returns an instance of ICollection which represents the root collection of the repository.
    boolean hasCollection​(String path)
    Returns whether a collection with the specified path exists in the repository.
    boolean hasResource​(String path)
    Returns whether a resource with the specified path exists in the repository.
    void initialize()
    Performs initialization tasks.