de.uka.ipd.consensus.foundation.rating
Interface RatingListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
IncentiveManagerImpl, LoggingManagerImpl, RatingAdapter

public interface RatingListener
extends EventListener

The listener interface for receiving events when a rating was added to an element, changed or removed.

Version:
2006-06-14
Author:
Thomas Much
See Also:
RatingManager, RatingManager.addRatingListener(RatingListener)

Method Summary
 void conceptRatingChanged(RatingEvent event)
          Called by the RatingManager when an existing concept's rating was changed.
 void conceptRatingRemoved(RatingEvent event)
          Called by the RatingManager when a concept's rating was removed.
 void conceptRatingSet(RatingEvent event)
          Called by the RatingManager when a new rating was added to a concept.
 void userRatingChanged(RatingEvent event)
          Called by the RatingManager when an existing user's rating was changed.
 void userRatingRemoved(RatingEvent event)
          Called by the RatingManager when a user's rating was removed.
 void userRatingSet(RatingEvent event)
          Called by the RatingManager when a new rating was added to an user.
 

Method Detail

conceptRatingSet

public void conceptRatingSet(RatingEvent event)
Called by the RatingManager when a new rating was added to a concept.

Parameters:
event - the RatingEvent object containing the user, his rating and the rated concept

conceptRatingChanged

public void conceptRatingChanged(RatingEvent event)
Called by the RatingManager when an existing concept's rating was changed.

Parameters:
event - the RatingEvent object containing the user, his rating and the rated concept

conceptRatingRemoved

public void conceptRatingRemoved(RatingEvent event)
Called by the RatingManager when a concept's rating was removed.

Parameters:
event - the RatingEvent object containing the user, the removed rating and the rated concept

userRatingSet

public void userRatingSet(RatingEvent event)
Called by the RatingManager when a new rating was added to an user.

Parameters:
event - the RatingEvent object containing the rating user, his rating and the rated user

userRatingChanged

public void userRatingChanged(RatingEvent event)
Called by the RatingManager when an existing user's rating was changed.

Parameters:
event - the RatingEvent object containing the rating user, his rating and the rated user

userRatingRemoved

public void userRatingRemoved(RatingEvent event)
Called by the RatingManager when a user's rating was removed.

Parameters:
event - the RatingEvent object containing the user, the removed rating and the rated user