Interface SiteHomeProcessor


  • public interface SiteHomeProcessor
    Interface that must be implemented by any plugin wanting to be called at the inception of the Site home page (in index.jsp "welcome servlet"). Classes that implement the process method and appear in the configuration will be run before the at the start of preparing the home page has any chance to continue its execution
    Author:
    Andrea Bollini
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void process​(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      execute the process
    • Method Detail

      • process

        void process​(Context context,
                     javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws PluginException,
                     AuthorizeException
        execute the process
        Parameters:
        context - the DSpace context
        request - the HTTP request
        response - the HTTP response
        Throws:
        PluginException - any particular problem with the plugin execution
        AuthorizeException - Authorisation errors during plugin execution