com.filenet.wcm.apps.server.ui.info.webcontent
Class SearchInfoPage

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
      extended bycom.filenet.wcm.toolkit.server.base.WcmModule
          extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
              extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
                  extended bycom.filenet.wcm.toolkit.server.ui.WcmXSLModule
                      extended bycom.filenet.wcm.apps.server.ui.info.webcontent.InfoPage
                          extended bycom.filenet.wcm.apps.server.ui.info.webcontent.SearchInfoPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class SearchInfoPage
extends InfoPage


Nested Class Summary
 class SearchInfoPage.searchForm
          This form provides UI part of searchs
 
Field Summary
protected  java.lang.String formName
           
protected  SelectedCategoriesListView searchListView
           
protected  SelectedCategoriesListView selectedListView
           
protected  SearchInfoPage.searchForm uiSearch
           
protected static com.filenet.wcm.toolkit.util.WcmString wsEQ
           
protected static com.filenet.wcm.toolkit.util.WcmString wsFieldTitle
           
protected static com.filenet.wcm.toolkit.util.WcmString wsGT
           
protected static com.filenet.wcm.toolkit.util.WcmString wsGTEQ
           
protected static com.filenet.wcm.toolkit.util.WcmString wsLIKE
           
protected static com.filenet.wcm.toolkit.util.WcmString wsLT
           
protected static com.filenet.wcm.toolkit.util.WcmString wsLTEQ
           
protected static com.filenet.wcm.toolkit.util.WcmString wsNEQ
           
protected static com.filenet.wcm.toolkit.util.WcmString wsNoTemplates
           
protected static com.filenet.wcm.toolkit.util.WcmString wsSearch
           
protected static com.filenet.wcm.toolkit.util.WcmString wsSearchLabel
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.info.webcontent.InfoPage
adp, config, controller, domTempSelectedCategories, latestXML, locale, ndp, rdp, state, WCM_PROPERTIES, wsAddToSelection, wsAddToShortcuts, wsBrowseLabel, wsRemove
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
transformUtil
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
NAME_DELIMITER
 
Constructor Summary
SearchInfoPage()
          public Constructor sets the default type, the name and creates the WcmPropertiesUtil object.
 
Method Summary
protected  org.w3c.dom.Document getCategoriesSearchResultXML(java.lang.String searchOperator, java.lang.String searchText, java.lang.String[] searchFieldNames, java.lang.String folderPath)
          return search results data in xml format.
 java.lang.String getFormName()
          return form name.
 void initialize()
          Initializes the data providers and the display objects.
 void onSearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          search event handler
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Initialize the Classes
 void render(java.io.Writer w)
          Renders the class data.
 void setFormName(java.lang.String formName)
          set form name
 
Methods inherited from class com.filenet.wcm.apps.server.ui.info.webcontent.InfoPage
onAddToSelection, onAddToShortcuts, onRemove, onRemoveFavorites
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
convertToNodeList, getXML, getXSLParameter, renderXSL, setXML, setXML, setXML, setXML, setXSL, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
subscribeGlobalEvent
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, cleanup, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

wsSearch

protected static final com.filenet.wcm.toolkit.util.WcmString wsSearch

wsNoTemplates

protected static final com.filenet.wcm.toolkit.util.WcmString wsNoTemplates

wsSearchLabel

protected static final com.filenet.wcm.toolkit.util.WcmString wsSearchLabel

wsEQ

protected static final com.filenet.wcm.toolkit.util.WcmString wsEQ

wsLT

protected static final com.filenet.wcm.toolkit.util.WcmString wsLT

wsGT

protected static final com.filenet.wcm.toolkit.util.WcmString wsGT

wsLTEQ

protected static final com.filenet.wcm.toolkit.util.WcmString wsLTEQ

wsGTEQ

protected static final com.filenet.wcm.toolkit.util.WcmString wsGTEQ

wsNEQ

protected static final com.filenet.wcm.toolkit.util.WcmString wsNEQ

wsLIKE

protected static final com.filenet.wcm.toolkit.util.WcmString wsLIKE

wsFieldTitle

protected static final com.filenet.wcm.toolkit.util.WcmString wsFieldTitle

searchListView

protected SelectedCategoriesListView searchListView

selectedListView

protected SelectedCategoriesListView selectedListView

uiSearch

protected SearchInfoPage.searchForm uiSearch

formName

protected java.lang.String formName
Constructor Detail

SearchInfoPage

public SearchInfoPage()
               throws java.lang.Exception
public Constructor sets the default type, the name and creates the WcmPropertiesUtil object. Used internally.

Throws:
java.lang.Exception
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Initializes the data providers and the display objects.

Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class InfoPage
Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Initialize the Classes

Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

onSearch

public void onSearch(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
search event handler

Parameters:
request - Request object.
response - Response object.
Throws:
java.lang.Exception - If there are problems retrieving data or an invalid parameter.

render

public void render(java.io.Writer w)
            throws java.lang.Exception
Renders the class data.

Parameters:
w - Writer for writing to the response object.
Throws:
java.lang.Exception - If there are problems.

getCategoriesSearchResultXML

protected org.w3c.dom.Document getCategoriesSearchResultXML(java.lang.String searchOperator,
                                                            java.lang.String searchText,
                                                            java.lang.String[] searchFieldNames,
                                                            java.lang.String folderPath)
                                                     throws java.lang.Exception
return search results data in xml format.

Returns:
Throws:
java.lang.Exception

setFormName

public void setFormName(java.lang.String formName)
set form name

Parameters:
formName - Form name

getFormName

public java.lang.String getFormName()
return form name. If there is no form name the use default

Returns:
Form name


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.