Interface ItemHomeProcessor


  • public interface ItemHomeProcessor
    Interface that must be implemented by any plugin wanting to be called at the inception of the Item page (in HandleServlet). Classes that implement the process method and appear in the configuration will be run before the at the start of preparing the item home page has any chance to continue its execution. Note that the plugin is executed also before than the READ permission on the item is checked
    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, Item item)
      execute the process
    • Method Detail

      • process

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