okapi.coreobjects
Interface OkapiToolRenderer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
OkapiSimpleRenderer, OkapiXSLTRenderer

public interface OkapiToolRenderer
extends java.io.Serializable

OkapiToolRenderer interface: gather data and process it using a specified style. OkapiToolRenderer is the interface to objects which produces the "view", it applies a style sheet or template in whatever language is appropriate.

Version:
$Revision: 31044 $, $Date: 2008-09-02 17:08:01 -0400 (Tue, 02 Sep 2008) $
Author:
MIT Stellar team

Method Summary
 void edit(OkapiToolModel toolModel, java.util.List styles, java.util.List styleMimeTypes, java.util.Hashtable styleStores, java.util.List pathVector, java.lang.String pathSegment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context, java.util.List nexusHistory)
          Edit method handles Post method invocations.
 void render(OkapiToolModel toolModel, java.util.List styles, java.util.List styleMimeTypes, java.util.Hashtable styleStores, java.util.List pathVector, java.lang.String pathSegment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context, java.util.List nexusHistory)
          render method handles Get HTTP method invocations.
 

Method Detail

render

void render(OkapiToolModel toolModel,
            java.util.List styles,
            java.util.List styleMimeTypes,
            java.util.Hashtable styleStores,
            java.util.List pathVector,
            java.lang.String pathSegment,
            javax.servlet.http.HttpServletRequest request,
            javax.servlet.http.HttpServletResponse response,
            javax.servlet.ServletContext context,
            java.util.List nexusHistory)
            throws javax.servlet.ServletException
render method handles Get HTTP method invocations.

Throws:
javax.servlet.ServletException

edit

void edit(OkapiToolModel toolModel,
          java.util.List styles,
          java.util.List styleMimeTypes,
          java.util.Hashtable styleStores,
          java.util.List pathVector,
          java.lang.String pathSegment,
          javax.servlet.http.HttpServletRequest request,
          javax.servlet.http.HttpServletResponse response,
          javax.servlet.ServletContext context,
          java.util.List nexusHistory)
          throws javax.servlet.ServletException
Edit method handles Post method invocations. Different tool models are usually used for Post and Get for a given tool. Succeess and Errors are presented according to the style specified.

Throws:
javax.servlet.ServletException


Copyright ? 2001-2009 MIT. All Rights Reserved.