Interface CollectionHomeProcessor


  • public interface CollectionHomeProcessor
    Interface that must be implemented by any plugin wanting to be called at the inception of the Collection home 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 collection home page has any chance to continue its execution
    Author:
    Richard Jones
    • Method Detail

      • process

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