org.activemath.webapp.exercises
Class ExerciseSequencerExtensionController

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.exercises.ExerciseController
                  extended by org.activemath.webapp.exercises.ExerciseSequencerExtensionController
All Implemented Interfaces:
Controller

public class ExerciseSequencerExtensionController
extends ExerciseController

This class extend the exercise controller to enable the exercise sequencer has his own exercise system, which is actually a copy of the original one. Maybe more classes should be merged in order to reuse the exercise System in an extention model. But currently we just do only this.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.activemath.webapp.exercises.ExerciseController
ExerciseController.ExerciseSheetItem
 
Field Summary
 
Fields inherited from class org.activemath.webapp.exercises.ExerciseController
_teacherAssistant, _userInputHistory, bookId, confidence, confidenceEnabled, config, defaultInputSyntax, displayOutputFormatOptions, displayUserInputSyntaxOptions, EXERCISE_CONTAINER, exerciseId, exerciseSheetItems, isAssessment, log, logExerciseResult, presentationStrategy, showFinishButton, speechContent, strategy, type, userInput, userInputDelay, userInputPartition, userInputPosition, userInputSyntax, userRequests, vmFileName
 
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
ExerciseSequencerExtensionController()
           
 
Method Summary
protected  String action()
          Implements the controller's action, extend the action of ExerciseController
 String getSequencerId()
           
 void setSequencerId(String sequencerId)
           
 
Methods inherited from class org.activemath.webapp.exercises.ExerciseController
checkRedirect, destroyExercise, getBookId, getPresentationStrategy, getVmFileName, initExercise, setAssessment, setBook, setBookId, setConfidence, setExerciseId, setInteractionManager, setPresentationStrategy, setStrategy, setType, setUserInput, setUserInputDelay, setUserInputHistory, setUserInputPartition, setUserInputPosition, setUserInputSyntax, setVmFileName
 
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

ExerciseSequencerExtensionController

public ExerciseSequencerExtensionController()
Method Detail

action

protected String action()
                 throws Exception
Implements the controller's action, extend the action of ExerciseController

Overrides:
action in class ExerciseController
Throws:
Exception
See Also:
org.activemath.presentation.servlets.controller.AMController#action()

setSequencerId

public void setSequencerId(String sequencerId)

getSequencerId

public String getSequencerId()