org.sakaiproject.profile2.logic
Class ProfileSearchLogicImpl

java.lang.Object
  extended by org.sakaiproject.profile2.logic.ProfileSearchLogicImpl
All Implemented Interfaces:
ProfileSearchLogic

public class ProfileSearchLogicImpl
extends Object
implements ProfileSearchLogic

Implementation of ProfileSearchLogic API

Author:
Steve Swinsburg (steve.swinsburg@gmail.com), Daniel Robinson (d.b.robinson@lancaster.ac.uk)

Constructor Summary
ProfileSearchLogicImpl()
           
 
Method Summary
 void addSearchTermToHistory(String userUuid, ProfileSearchTerm searchTerm)
          
 void clearSearchHistory(String userUuid)
          
 List<Person> findUsersByInterest(String search, boolean includeConnections, String worksiteId)
          
 List<Person> findUsersByNameOrEmail(String search, boolean includeConnections, String worksiteId)
          
 ProfileSearchTerm getLastSearchTerm(String userUuid)
          
 List<ProfileSearchTerm> getSearchHistory(String userUuid)
          
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileSearchLogicImpl

public ProfileSearchLogicImpl()
Method Detail

findUsersByNameOrEmail

public List<Person> findUsersByNameOrEmail(String search,
                                           boolean includeConnections,
                                           String worksiteId)

Specified by:
findUsersByNameOrEmail in interface ProfileSearchLogic

findUsersByInterest

public List<Person> findUsersByInterest(String search,
                                        boolean includeConnections,
                                        String worksiteId)

Specified by:
findUsersByInterest in interface ProfileSearchLogic

getLastSearchTerm

public ProfileSearchTerm getLastSearchTerm(String userUuid)

Specified by:
getLastSearchTerm in interface ProfileSearchLogic

getSearchHistory

public List<ProfileSearchTerm> getSearchHistory(String userUuid)

Specified by:
getSearchHistory in interface ProfileSearchLogic

addSearchTermToHistory

public void addSearchTermToHistory(String userUuid,
                                   ProfileSearchTerm searchTerm)

Specified by:
addSearchTermToHistory in interface ProfileSearchLogic

clearSearchHistory

public void clearSearchHistory(String userUuid)

Specified by:
clearSearchHistory in interface ProfileSearchLogic

init

public void init()


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