org.sakaiproject.profile2.logic
Class ProfilePreferencesLogicImpl

java.lang.Object
  extended by org.sakaiproject.profile2.logic.ProfilePreferencesLogicImpl
All Implemented Interfaces:
ProfilePreferencesLogic

public class ProfilePreferencesLogicImpl
extends Object
implements ProfilePreferencesLogic

Implementation of ProfilePreferencesLogic API

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

Constructor Summary
ProfilePreferencesLogicImpl()
           
 
Method Summary
 ProfilePreferences getPreferencesRecordForUser(String userId)
          
 ProfilePreferences getPreferencesRecordForUser(String userId, boolean useCache)
          
 void init()
           
 boolean isPreferenceEnabled(String userUuid, PreferenceType type)
          
 boolean savePreferencesRecord(ProfilePreferences prefs)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilePreferencesLogicImpl

public ProfilePreferencesLogicImpl()
Method Detail

getPreferencesRecordForUser

public ProfilePreferences getPreferencesRecordForUser(String userId)

Specified by:
getPreferencesRecordForUser in interface ProfilePreferencesLogic

getPreferencesRecordForUser

public ProfilePreferences getPreferencesRecordForUser(String userId,
                                                      boolean useCache)

Specified by:
getPreferencesRecordForUser in interface ProfilePreferencesLogic

savePreferencesRecord

public boolean savePreferencesRecord(ProfilePreferences prefs)

Specified by:
savePreferencesRecord in interface ProfilePreferencesLogic

isPreferenceEnabled

public boolean isPreferenceEnabled(String userUuid,
                                   PreferenceType type)

Specified by:
isPreferenceEnabled in interface ProfilePreferencesLogic

init

public void init()


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