org.sakaiproject.tool.profile
Class SearchTool

java.lang.Object
  extended by org.sakaiproject.tool.profile.SearchTool

public class SearchTool
extends Object

Author:
rshastri Rashmi Shastri

Nested Class Summary
 class SearchTool.DecoratedProfile
           
 
Field Summary
protected  ProfileManager profileService
           
 
Constructor Summary
SearchTool()
           
 
Method Summary
 List getCurrentSearchResults()
           
 String getDisplayNoOfRec()
           
 String getDisplayPage()
           
 SearchTool.DecoratedProfile getProfile()
           
 ProfileManager getProfileService()
           
 String getSearchKeyword()
           
 List getSearchResults()
           
 boolean isShowNext()
           
 boolean isShowNoMatchFound()
           
 boolean isShowPrevious()
           
 boolean isShowSearchResults()
           
 String processActionDisplayFirst()
           
 String processActionDisplayLast()
           
 String processActionDisplayNext()
           
 String processActionDisplayPrevious()
           
 String processActionSearch()
           
 String processCancel()
           
 void processValueChangeForDisplayNSearchResult(javax.faces.event.ValueChangeEvent vce)
           
 void reset(String searchKeyword)
           
 void setCurrentSearchResults(List currentSearchResults)
           
 void setDisplayNoOfRec(String no_of_searched_rec_per_page)
           
 void setProfile(SearchTool.DecoratedProfile profile)
           
 void setProfileService(ProfileManager profileService)
           
 void setSearchKeyword(String searchKeyword)
           
 void setSearchResults(List searchResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profileService

protected ProfileManager profileService
Constructor Detail

SearchTool

public SearchTool()
Method Detail

getDisplayPage

public String getDisplayPage()

processValueChangeForDisplayNSearchResult

public void processValueChangeForDisplayNSearchResult(javax.faces.event.ValueChangeEvent vce)

processActionDisplayFirst

public String processActionDisplayFirst()

processActionDisplayNext

public String processActionDisplayNext()

processActionDisplayPrevious

public String processActionDisplayPrevious()

processActionDisplayLast

public String processActionDisplayLast()

processActionSearch

public String processActionSearch()

isShowNext

public boolean isShowNext()

isShowPrevious

public boolean isShowPrevious()

getCurrentSearchResults

public List getCurrentSearchResults()

setCurrentSearchResults

public void setCurrentSearchResults(List currentSearchResults)

isShowNoMatchFound

public boolean isShowNoMatchFound()

isShowSearchResults

public boolean isShowSearchResults()

reset

public void reset(String searchKeyword)

processCancel

public String processCancel()

getDisplayNoOfRec

public String getDisplayNoOfRec()

setDisplayNoOfRec

public void setDisplayNoOfRec(String no_of_searched_rec_per_page)

getProfile

public SearchTool.DecoratedProfile getProfile()

getProfileService

public ProfileManager getProfileService()
Returns:

getSearchKeyword

public String getSearchKeyword()
Returns:

getSearchResults

public List getSearchResults()
Returns:

setProfileService

public void setProfileService(ProfileManager profileService)
Parameters:
profileService -

setProfile

public void setProfile(SearchTool.DecoratedProfile profile)
Parameters:
profile -

setSearchKeyword

public void setSearchKeyword(String searchKeyword)
Parameters:
searchKeyword -

setSearchResults

public void setSearchResults(List searchResults)
Parameters:
searchResults -


Copyright © 2003-2012 Sakai Project. All Rights Reserved.