com.plumtree.uiinfrastructure.interpreter
Interface IMVCController

All Known Implementing Classes:
MVCController

public interface IMVCController

IMVCController defines the interface of an MVC Controller, which the Interpreter will interact to invoke the application logic. The application logic is typically written based on activityspace-related objects (Control, Model, View, Redirect, etc).

Author:
WilliamA

Method Summary
 HTMLElement DoOnPageFinishActions(RequestData requestData, java.lang.String hostname)
          This method invokes the OnPageFinish PEI.
 void DoOnPageStartActions(Redirect redirect, RequestData requestData, java.lang.String hostname)
          This method invokes the OnPageStart PEI.
 Redirect HandleRedirect(Redirect redirect, RequestData requestData)
          This method performs the core control flow execution of activityspace related logics.
 

Method Detail

DoOnPageStartActions

void DoOnPageStartActions(Redirect redirect,
                          RequestData requestData,
                          java.lang.String hostname)
This method invokes the OnPageStart PEI. The PEI will be invoked with the activity space in the given redirect if any. Otherwise, it will be invoked with the activity space in the requestData.

Parameters:
redirect - Redirect to be processed, if any
requestData - the request
hostname - the hostname of current portal instance

HandleRedirect

Redirect HandleRedirect(Redirect redirect,
                        RequestData requestData)
This method performs the core control flow execution of activityspace related logics. It processes the given redirect (if any) in the context of the requestData. This method may return a final Redirect object, which typically is a Redirect containing a DisplayPage object, or a flag to indicate an HTTP redirect.

Parameters:
redirect - Redirect to be processed, if any
requestData - the request
Returns:
the final Redirect, either a DisplayPage or an HTTP redirect

DoOnPageFinishActions

HTMLElement DoOnPageFinishActions(RequestData requestData,
                                  java.lang.String hostname)
This method invokes the OnPageFinish PEI.

Parameters:
requestData - the request
hostname - the hostname of current portal instance
Returns:
any page action comments



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.