Interface ResourceStatusProvider


  • public interface ResourceStatusProvider
    Deprecated.
    This is not used anymore and replaced by com.day.cq.wcm.api.PageInfoProvider
    A ResourceStatusProvider is used to provide status information for a resource, usually a page or an aggregate root node.
    • Method Detail

      • writeStatus

        void writeStatus​(SlingHttpServletRequest request,
                         JSONWriter writer,
                         Resource resource)
                  throws JSONException
        Deprecated.
        Writes the status to the given json item writer.
        Parameters:
        request - the servlet request
        writer - the writer
        resource - the resource to retrieve the status for
        Throws:
        JSONException - if an error occurrs.