org.sakaiproject.profile2.logic
Class ProfileKudosLogicImpl

java.lang.Object
  extended by org.sakaiproject.profile2.logic.ProfileKudosLogicImpl
All Implemented Interfaces:
ProfileKudosLogic

public class ProfileKudosLogicImpl
extends Object
implements ProfileKudosLogic

Implementation of ProfileKudosLogic API

Author:
Steve Swinsburg (steve.swinsburg@gmail.com)

Constructor Summary
ProfileKudosLogicImpl()
           
 
Method Summary
 int getKudos(String userUuid)
          
 BigDecimal getRawKudos(String userUuid)
          
 void init()
           
 boolean updateKudos(String userUuid, int score, BigDecimal percentage)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileKudosLogicImpl

public ProfileKudosLogicImpl()
Method Detail

getKudos

public int getKudos(String userUuid)

Specified by:
getKudos in interface ProfileKudosLogic

getRawKudos

public BigDecimal getRawKudos(String userUuid)

Specified by:
getRawKudos in interface ProfileKudosLogic

updateKudos

public boolean updateKudos(String userUuid,
                           int score,
                           BigDecimal percentage)

Specified by:
updateKudos in interface ProfileKudosLogic

init

public void init()


Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.