no.inspera.services.pedal.actions
Class Rate

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

public class Rate
extends java.lang.Object
implements Action

This action is invoked when the user wants to rate the content.

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

Constructor Summary
Rate()
           
 
Method Summary
 Result execute(no.inspera.utils.Parameters params)
          Rates the content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rate

public Rate()
Method Detail

execute

public Result execute(no.inspera.utils.Parameters params)
Rates the content. The actual rating is done on metadata associated with Learning Object. The result of this action is an empty html if the rating was successful or an error code is sent back to client in case an error occurs.

Specified by:
execute in interface Action
Parameters:
params - the current request parameters.
Returns:
to the start page of the course.


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