org.activemath.webapp.slmgui
Class SLMGuiController

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.slmgui.SLMGuiController
All Implemented Interfaces:
Controller

public class SLMGuiController
extends ControllerBase


Field Summary
protected static Category log
           
 
Fields inherited from class org.activemath.webapp.base.ControllerBase
appContext, defaultContentType, JSON, REDIRECT, REDIRECT_LOGIN, request, response, stopwatch
 
Fields inherited from class org.infohazard.maverick.ctl.Throwaway2
ERROR, SUCCESS
 
Constructor Summary
SLMGuiController()
           
 
Method Summary
protected  String action()
          This is the method you should override to implement application logic.
 Map<String,ExerciseInfo> arrangeExercisesList(List exercises, String language)
           
 String getAction()
           
 String getBookId()
           
 String[] getConceptIds()
           
 String getMode()
           
 String getPageId()
           
 String getPageMastery()
           
 String getScenario()
           
 void setAction(String action)
           
 void setBookId(String bookId)
           
 void setConceptIds(String[] conceptIds)
           
 void setMode(String mode)
           
 void setPageId(String pageId)
           
 void setPageMastery(String pageMastery)
           
 void setScenario(String scenario)
           
 
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
 

Field Detail

log

protected static Category log
Constructor Detail

SLMGuiController

public SLMGuiController()
Method Detail

action

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

Overrides:
action in class ControllerBase
Throws:
Exception

getAction

public String getAction()

setAction

public void setAction(String action)

getConceptIds

public String[] getConceptIds()

setConceptIds

public void setConceptIds(String[] conceptIds)

arrangeExercisesList

public Map<String,ExerciseInfo> arrangeExercisesList(List exercises,
                                                     String language)

getBookId

public String getBookId()

setBookId

public void setBookId(String bookId)

getPageId

public String getPageId()

setPageId

public void setPageId(String pageId)

getPageMastery

public String getPageMastery()

setPageMastery

public void setPageMastery(String pageMastery)

getMode

public String getMode()

setMode

public void setMode(String mode)

getScenario

public String getScenario()

setScenario

public void setScenario(String scenario)