Java Doc for SearchHandler.java in  » Portal » Open-Portal » com » sun » portal » search » providers » faces » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.search.providers.faces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.search.providers.faces.SearchHandler

SearchHandler
public class SearchHandler (Code)
This is the main bean to use this search faces provider framework. It can be used as a managed session bean, the default navigation rules will need to be defined for NAVIGATION_SEARCH ="search"; NAVIGATION_BROWSE ="browse"; NAVIGATION_NAMEDSEARCH ="namedsearch"; or a properties of a session managed bean which implements the searchActionListener interface.


Field Summary
final public static  StringADV_MODE
    
final public static  StringBASIC_MODE
    
final public static  StringBROWSEID_PARAMETER
     The param name used for browse a given category.
final public static  StringNAVIGATION_BROWSE
     defaul outcome for a browse action in the naviagtion.
final public static  StringNAVIGATION_NAMEDSEARCH
     defaul outcome for a named search action in the naviagtion.
final public static  StringNAVIGATION_SEARCH
     defaul outcome for a search action in the naviagtion.
 SearchActionListeneractionListener
    
 ArrayListavailableDatabases
    
 PanelGroupbdatabasesGP
    
 HashMapdbMaps
    
 PanelGroupsdatabasesGP
    
 TabSetsearchableTabSet
    
 TaxonomyDatabasetaxonomyDb
    

Constructor Summary
public  SearchHandler()
     Creates a new instance of Searchhandler.
public  SearchHandler(SearchActionListener actionListener, String searchServerUrl, Locale userLocale, String baseName)
    

Method Summary
public  voidaddDatabase(SearchDatabase db)
    
public  StringadvSearch()
    
public  StringbasicSearch()
    
protected  StringconstructAdvSearchQuery()
    
public  StringdoBrowse()
    
public  StringdoBrowseTarget()
    
public  StringdoNamedSearch()
    
public  StringdoSearch()
    
public  StringdoTarget()
    
public  StringgetAuthorOption()
    
public  StringgetAuthorText()
    
public  StringgetBasicSearchText()
    
public  PanelGroupgetBrowsableDatabasePanelGroup()
    
public  ArrayDataModelgetBrowsableDatabases()
    
public  StringgetBrowseMethod()
    
public  ArrayDataModelgetBrowsedDatabases()
    
public  StringgetCategoryRoot()
    
 StringgetContainOptionQuery(String field, String option, String q)
    
public  Option[]getContainOptions()
    
public  CategorygetCurrentCategory()
    
public  SearchDatabasegetCurrentSearchDatabase()
    
public  SearchDatabasegetCurrentTabSearchDatabase()
    
public  StringgetDoBrowseTargetMethod()
    
public  StringgetDoTargetMethod()
    
public  StringgetFindOption()
    
public  Option[]getFindOptions()
    
 StringgetFindQuery(String option, String q)
    
public  StringgetFindText()
    
public  booleangetIsBasicMode()
    
protected  StringgetLocalizedMessage(String key)
    
public  StringgetName()
    
public  StringgetSearchServerUrl()
    
public  PanelGroupgetSearchableDatabasePanelGroup()
    
public  ArrayDataModelgetSearchableDatabases()
    
public  TabSetgetSearchableTabset()
    
public  booleangetSearched()
    
public  ArrayDataModelgetSearchedDatabases()
    
public  StringgetSessionId()
    
public  StringgetShowResultsOption()
    
public  TaxonomyDatabasegetTaxonomyDatabase()
    
public  StringgetTitleOption()
    
public  StringgetTitleText()
    
public  CategorygetTopCategory()
    
public  StringgetWithinOption()
    
 StringgetWithinOptionQuery(String field, String option)
    
public  Option[]getWithinOptions()
    
public  booleanisBrowseMode()
    
public  booleanisShowSearchBox()
    
public  booleanisWithinCurrentCategory()
    
public  voidreset()
    
public  voidsetAuthorOption(String value)
    
public  voidsetAuthorText(String value)
    
public  voidsetBasicSearchText(String value)
    
public  voidsetBrowsableDatabasePanelGroup(PanelGroup v)
    
public  voidsetBrowseMode(boolean browseMode)
    
public  voidsetCategoryRoot(String categoryRoot)
    
public  voidsetCurrentCategory(Category currentCategory)
    
public  voidsetCurrentCategoryId(String id)
    
public  voidsetCurrentSearchDatabase(SearchDatabase db)
    
public  voidsetFindOption(String value)
    
public  voidsetFindText(String value)
    
public  voidsetName(String name)
    
public  voidsetSearchServerUrl(String searchServerUrl)
    
public  voidsetSearchableDatabasePanelGroup(PanelGroup v)
    
public  voidsetSearchableTabset(TabSet ts)
    
public  voidsetSearched(boolean value)
    
public  voidsetSessionId(String id)
    
public  voidsetShowResultsOption(String value)
    
public  voidsetShowSearchBox(boolean showSearchBox)
    
public  voidsetTaxonomyDatabase(TaxonomyDatabase db)
    
public  voidsetTitleOption(String value)
    
public  voidsetTitleText(String value)
    
public  voidsetViewOrder(String value)
    
public  voidsetWithinCurrentCategory(boolean withinCurrentCategory)
    
public  voidsetWithinOption(String value)
    

Field Detail
ADV_MODE
final public static String ADV_MODE(Code)
Advanced Mode for the UI



BASIC_MODE
final public static String BASIC_MODE(Code)
Basic mode for the UI



BROWSEID_PARAMETER
final public static String BROWSEID_PARAMETER(Code)
The param name used for browse a given category.



NAVIGATION_BROWSE
final public static String NAVIGATION_BROWSE(Code)
defaul outcome for a browse action in the naviagtion.



NAVIGATION_NAMEDSEARCH
final public static String NAVIGATION_NAMEDSEARCH(Code)
defaul outcome for a named search action in the naviagtion.



NAVIGATION_SEARCH
final public static String NAVIGATION_SEARCH(Code)
defaul outcome for a search action in the naviagtion.



actionListener
SearchActionListener actionListener(Code)



availableDatabases
ArrayList availableDatabases(Code)



bdatabasesGP
PanelGroup bdatabasesGP(Code)



dbMaps
HashMap dbMaps(Code)



sdatabasesGP
PanelGroup sdatabasesGP(Code)



searchableTabSet
TabSet searchableTabSet(Code)



taxonomyDb
TaxonomyDatabase taxonomyDb(Code)




Constructor Detail
SearchHandler
public SearchHandler()(Code)
Creates a new instance of Searchhandler.



SearchHandler
public SearchHandler(SearchActionListener actionListener, String searchServerUrl, Locale userLocale, String baseName)(Code)
Creates a new instance of Searchhandler
Parameters:
  actionListener - A bean indtance implemented actionListener interface to override the default navigation
Parameters:
  searchServerUrl - Url for the search server
Parameters:
  userLocale - override the default system locale
Parameters:
  baseName - override the default baseName




Method Detail
addDatabase
public void addDatabase(SearchDatabase db)(Code)



advSearch
public String advSearch()(Code)



basicSearch
public String basicSearch()(Code)



constructAdvSearchQuery
protected String constructAdvSearchQuery()(Code)



doBrowse
public String doBrowse()(Code)



doBrowseTarget
public String doBrowseTarget()(Code)



doNamedSearch
public String doNamedSearch()(Code)



doSearch
public String doSearch()(Code)



doTarget
public String doTarget()(Code)



getAuthorOption
public String getAuthorOption()(Code)



getAuthorText
public String getAuthorText()(Code)



getBasicSearchText
public String getBasicSearchText()(Code)



getBrowsableDatabasePanelGroup
public PanelGroup getBrowsableDatabasePanelGroup()(Code)



getBrowsableDatabases
public ArrayDataModel getBrowsableDatabases()(Code)



getBrowseMethod
public String getBrowseMethod()(Code)



getBrowsedDatabases
public ArrayDataModel getBrowsedDatabases()(Code)



getCategoryRoot
public String getCategoryRoot()(Code)



getContainOptionQuery
String getContainOptionQuery(String field, String option, String q)(Code)



getContainOptions
public Option[] getContainOptions()(Code)



getCurrentCategory
public Category getCurrentCategory()(Code)



getCurrentSearchDatabase
public SearchDatabase getCurrentSearchDatabase()(Code)



getCurrentTabSearchDatabase
public SearchDatabase getCurrentTabSearchDatabase()(Code)



getDoBrowseTargetMethod
public String getDoBrowseTargetMethod()(Code)



getDoTargetMethod
public String getDoTargetMethod()(Code)



getFindOption
public String getFindOption()(Code)



getFindOptions
public Option[] getFindOptions()(Code)



getFindQuery
String getFindQuery(String option, String q)(Code)



getFindText
public String getFindText()(Code)



getIsBasicMode
public boolean getIsBasicMode()(Code)



getLocalizedMessage
protected String getLocalizedMessage(String key)(Code)



getName
public String getName()(Code)



getSearchServerUrl
public String getSearchServerUrl()(Code)



getSearchableDatabasePanelGroup
public PanelGroup getSearchableDatabasePanelGroup()(Code)



getSearchableDatabases
public ArrayDataModel getSearchableDatabases()(Code)



getSearchableTabset
public TabSet getSearchableTabset()(Code)



getSearched
public boolean getSearched()(Code)



getSearchedDatabases
public ArrayDataModel getSearchedDatabases()(Code)



getSessionId
public String getSessionId()(Code)



getShowResultsOption
public String getShowResultsOption()(Code)



getTaxonomyDatabase
public TaxonomyDatabase getTaxonomyDatabase()(Code)



getTitleOption
public String getTitleOption()(Code)



getTitleText
public String getTitleText()(Code)



getTopCategory
public Category getTopCategory()(Code)



getWithinOption
public String getWithinOption()(Code)



getWithinOptionQuery
String getWithinOptionQuery(String field, String option)(Code)



getWithinOptions
public Option[] getWithinOptions()(Code)



isBrowseMode
public boolean isBrowseMode()(Code)



isShowSearchBox
public boolean isShowSearchBox()(Code)



isWithinCurrentCategory
public boolean isWithinCurrentCategory()(Code)



reset
public void reset()(Code)



setAuthorOption
public void setAuthorOption(String value)(Code)



setAuthorText
public void setAuthorText(String value)(Code)



setBasicSearchText
public void setBasicSearchText(String value)(Code)



setBrowsableDatabasePanelGroup
public void setBrowsableDatabasePanelGroup(PanelGroup v)(Code)



setBrowseMode
public void setBrowseMode(boolean browseMode)(Code)



setCategoryRoot
public void setCategoryRoot(String categoryRoot)(Code)



setCurrentCategory
public void setCurrentCategory(Category currentCategory)(Code)



setCurrentCategoryId
public void setCurrentCategoryId(String id)(Code)



setCurrentSearchDatabase
public void setCurrentSearchDatabase(SearchDatabase db)(Code)



setFindOption
public void setFindOption(String value)(Code)



setFindText
public void setFindText(String value)(Code)



setName
public void setName(String name)(Code)



setSearchServerUrl
public void setSearchServerUrl(String searchServerUrl)(Code)



setSearchableDatabasePanelGroup
public void setSearchableDatabasePanelGroup(PanelGroup v)(Code)



setSearchableTabset
public void setSearchableTabset(TabSet ts)(Code)



setSearched
public void setSearched(boolean value)(Code)



setSessionId
public void setSessionId(String id)(Code)



setShowResultsOption
public void setShowResultsOption(String value)(Code)



setShowSearchBox
public void setShowSearchBox(boolean showSearchBox)(Code)



setTaxonomyDatabase
public void setTaxonomyDatabase(TaxonomyDatabase db)(Code)



setTitleOption
public void setTitleOption(String value)(Code)



setTitleText
public void setTitleText(String value)(Code)



setViewOrder
public void setViewOrder(String value)(Code)



setWithinCurrentCategory
public void setWithinCurrentCategory(boolean withinCurrentCategory)(Code)



setWithinOption
public void setWithinOption(String value)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.