Class RepositoryObject

All Implemented Interfaces:
Resource, Adaptable

public class RepositoryObject extends DefaultObject
Holds all methods bound to a repository
Since:
5.7.3
  • Constructor Details

    • RepositoryObject

      public RepositoryObject()
  • Method Details

    • getRootPathAdapter

      @Path("path/@{adapterName}") public Object getRootPathAdapter(@PathParam("adapterName") String adapterName)
      The regex of getDocsByPath doesn't catch the case of the root document.
      Since:
      5.8
    • getDocsByPath

      @Path("path{docPath:(/(?:(?!/@).)*)}") public Object getDocsByPath(@PathParam("docPath") String docPath)
    • getDocsById

      @Path("id/{id}") public Object getDocsById(@PathParam("id") String id)
    • getEmptyDocumentModel

      @Path("@emptyWithDefault") public Object getEmptyDocumentModel()
    • route

      @Path("{otherPath}") public Object route(@PathParam("otherPath") String otherPath)
      Since:
      7.2