org.activemath.webapp.controller
Class ExerciseSequencerController

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.controller.ExerciseSequencerController
All Implemented Interfaces:
Controller

public class ExerciseSequencerController
extends ControllerBase


Field Summary
static String FEEDBACK_CONTINUE_STOP
           
static String FEEDBACK_DOING_EXERCISE
           
static String FEEDBACK_START
           
 
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
ExerciseSequencerController()
           
 
Method Summary
protected  String action()
          This is the method you should override to implement application logic.
 String getAction()
           
 String getBookId()
           
 String[] getConceptIds()
           
 String getExerciseId()
           
 String getFeedbackView()
           
 String getLearningGoal()
           
 String getNumExerciseSuccessful()
           
 String[] getPageIds()
           
 String getSequencerId()
           
 String getTimeOut()
           
 String getType()
           
 void setAction(String action)
           
 void setBookId(String bookId)
           
 void setConceptIds(String[] conceptIds)
           
 void setExerciseId(String nextExerciseId)
           
 void setFeedbackView(String feedbackView)
           
 void setLearningGoal(String learningGoal)
           
 void setNumExerciseSuccessful(String numExerciseSuccessful)
           
 void setPageIds(String[] pageIds)
           
 void setSequencerId(String sequencerId)
           
 void setStrategy(String value)
           
 void setTimeOut(String timeOut)
           
 void setType(String type)
           
 
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

FEEDBACK_START

public static final String FEEDBACK_START
See Also:
Constant Field Values

FEEDBACK_CONTINUE_STOP

public static final String FEEDBACK_CONTINUE_STOP
See Also:
Constant Field Values

FEEDBACK_DOING_EXERCISE

public static final String FEEDBACK_DOING_EXERCISE
See Also:
Constant Field Values
Constructor Detail

ExerciseSequencerController

public ExerciseSequencerController()
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)

getLearningGoal

public String getLearningGoal()

setLearningGoal

public void setLearningGoal(String learningGoal)

getConceptIds

public String[] getConceptIds()

setConceptIds

public void setConceptIds(String[] conceptIds)

getExerciseId

public String getExerciseId()

setExerciseId

public void setExerciseId(String nextExerciseId)

getFeedbackView

public String getFeedbackView()

setFeedbackView

public void setFeedbackView(String feedbackView)

getSequencerId

public String getSequencerId()

setSequencerId

public void setSequencerId(String sequencerId)

setStrategy

public void setStrategy(String value)

getBookId

public String getBookId()

setBookId

public void setBookId(String bookId)

getType

public String getType()

setType

public void setType(String type)

getNumExerciseSuccessful

public String getNumExerciseSuccessful()

setNumExerciseSuccessful

public void setNumExerciseSuccessful(String numExerciseSuccessful)

getPageIds

public String[] getPageIds()

setPageIds

public void setPageIds(String[] pageIds)

getTimeOut

public String getTimeOut()

setTimeOut

public void setTimeOut(String timeOut)