Class ModuleRoot

    • Field Detail

      • request

        @Context
        protected javax.servlet.http.HttpServletRequest request
      • sic

        @Context
        protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic
    • Constructor Detail

      • ModuleRoot

        public ModuleRoot()
    • Method Detail

      • setContext

        @Context
        public void setContext​(com.sun.jersey.api.core.HttpContext hc)
      • getSkinResource

        public javax.ws.rs.core.Response getSkinResource​(String path)
      • getLink

        public String getLink​(DocumentModel doc)
        You should override this method to resolve objects to links. This method is usually called by a search view to generate links for object that are listed
        Specified by:
        getLink in interface ModuleResource
        Parameters:
        doc - the document
        Returns:
        the link corresponding to that object