org.activemath.webapp.feedback
Class SuggestionRealizer

java.lang.Object
  extended by org.infohazard.maverick.ctl.Throwaway2
      extended by org.infohazard.maverick.ctl.ThrowawayBean2
          extended by org.activemath.webapp.base.ControllerBase
              extended by org.activemath.webapp.feedback.SuggestionRealizer
All Implemented Interfaces:
Controller

public class SuggestionRealizer
extends ControllerBase

The SuggestionRealizer realizes a suggestion when it is demanded. This means, it can gather content to present according to the action of the Therapy to realize. In order to do this, it uses the leaner model to adaptively instantiate the therapy's action (This decouples a bit the general goal of the action from the concrete realization, hereby enhancing the adaptivity degree).


Field Summary
 
Fields inherited from class org.activemath.webapp.base.ControllerBase
appContext, defaultContentType, JSON, log, REDIRECT, REDIRECT_LOGIN, request, response, stopwatch
 
Fields inherited from class org.infohazard.maverick.ctl.Throwaway2
ERROR, SUCCESS
 
Constructor Summary
SuggestionRealizer()
           
 
Method Summary
protected  String action()
          This is the method you should override to implement application logic.
 String getAction()
           
 void setAction(String action)
           
 void setFmt(String fmt)
           
 void setItems(String[] mbaseIds)
           
 
Methods inherited from class org.activemath.webapp.base.ControllerBase
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser
 
Methods inherited from class org.infohazard.maverick.ctl.ThrowawayBean2
go
 
Methods inherited from class org.infohazard.maverick.ctl.Throwaway2
getCtx, go
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestionRealizer

public SuggestionRealizer()
Method Detail

action

protected String action()
Description copied from class: ControllerBase
This is the method you should override to implement application logic.

Overrides:
action in class ControllerBase

getAction

public String getAction()
Returns:
Returns the action.

setAction

public void setAction(String action)
Parameters:
action - The action to set.

setFmt

public void setFmt(String fmt)
Parameters:
fmt - The fmt to set.

setItems

public void setItems(String[] mbaseIds)
Parameters:
mbaseIds - The mbaseIds to set.