no.inspera.services.pedal.services
Class RatingService

java.lang.Object
  extended by no.inspera.services.pedal.services.RatingService

public class RatingService
extends java.lang.Object

Service class for rating. This class contains methods to rate an object and retrieve a set of ratings related to a specific object or metadata.

Since:
23.02.2008
Version:
$Id: RatingService.java 44417 2008-04-21 18:53:36Z naimdjon $
Author:
Naimdjon Takhirov

Constructor Summary
RatingService()
           
 
Method Summary
static void rate(no.inspera.services.rating.Rating rating)
          Stores rating to the db.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingService

public RatingService()
Method Detail

rate

public static void rate(no.inspera.services.rating.Rating rating)
                 throws no.inspera.db.exception.DataAccessException
Stores rating to the db.

Parameters:
rating - the rating object that is to be stored in the database.
Throws:
no.inspera.db.exception.DataAccessException - if any data access error occurs.


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