no.inspera.services.pedal.actions
Class Configure

java.lang.Object
  extended by no.inspera.services.pedal.actions.Configure
All Implemented Interfaces:
Action

public class Configure
extends java.lang.Object
implements Action

A configuration action for the personalised course.

Since:
23.12.2007
Version:
$Id: Configure.java 45069 2008-05-29 08:25:25Z naimdjon $
Author:
Naimdjon Takhirov

Constructor Summary
Configure(long marketplaceId, long languageId)
          Constructs a new Configure object.
 
Method Summary
 Result execute(no.inspera.utils.Parameters params)
          Executes the Configure object which causes the engine to be configured.
static java.lang.String updateCompetenceLevel(long userId, java.lang.String totalScore, java.lang.String maxPossibleScore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configure

public Configure(long marketplaceId,
                 long languageId)
Constructs a new Configure object.

Parameters:
marketplaceId - the marketplaceid of the user.
languageId - the language of the user.
Method Detail

execute

public Result execute(no.inspera.utils.Parameters params)
Executes the Configure object which causes the engine to be configured. Usually this is done when the user has taken prior knowledge assessment and answered learning style questionnaire.

Specified by:
execute in interface Action
Parameters:
params - current request parameters.
Returns:
the Result of the action.

updateCompetenceLevel

public static java.lang.String updateCompetenceLevel(long userId,
                                                     java.lang.String totalScore,
                                                     java.lang.String maxPossibleScore)


Copyright © 2008 Naimdjon Takhirov (naimdjon@gmail.com). All Rights Reserved.