com.filenet.wcm.apps.server.ui.info.records
Class RMSearchInfoPage

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.records.RMInfoPage
                          extended bycom.filenet.wcm.apps.server.ui.info.records.RMSearchInfoPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class RMSearchInfoPage
extends RMInfoPage


Nested Class Summary
 class RMSearchInfoPage.searchForm
          This form provides UI part of searchs
 
Field Summary
protected  java.lang.String formName
           
protected  RMObjectStoreNavigation objectStoreNav
           
protected  SelectedClassificationListView searchListView
           
protected  java.lang.String searchOperator
           
protected  java.lang.String searchText
           
protected  java.lang.String searchTitle
           
protected  SelectedClassificationListView selectedListView
           
protected static java.lang.String sFieldCodeName
           
protected  RMSearchInfoPage.searchForm uiSearch
           
protected static com.filenet.wcm.toolkit.util.WcmString wsEQ
           
protected static com.filenet.wcm.toolkit.util.WcmString wsFieldCodeDisplayName
           
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.records.RMInfoPage
adp, CLASSIFICATION_ID, classificationLabel, classificationsLabel, config, controller, domTempSelectedClassification, fieldName, latestXML, locale, ndp, rdp, RECORD_CATEGORY_ID, RECORD_FOLDER_ID, RMCLASSIFICATION_ID, state, wsAddToSelection, wsAddToShortcuts, wsBrowseLabel, wsClassificationID, 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
RMSearchInfoPage()
          public Constructor sets the default type, the name and creates the WcmPropertiesUtil object.
 
Method Summary
 java.lang.String getFormName()
          return form name.
protected  org.w3c.dom.Document getRecordsManageSearchResultXML(java.lang.String searchOperator, java.lang.String searchText, java.lang.String[] searchFieldNames)
          return search results data in xml format.
 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.records.RMInfoPage
checkSecurityRights, getRMProperties, getRMProperties, 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

wsFieldCodeDisplayName

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

sFieldCodeName

protected static final java.lang.String sFieldCodeName
See Also:
Constant Field Values

objectStoreNav

protected RMObjectStoreNavigation objectStoreNav

searchListView

protected SelectedClassificationListView searchListView

selectedListView

protected SelectedClassificationListView selectedListView

uiSearch

protected RMSearchInfoPage.searchForm uiSearch

formName

protected java.lang.String formName

searchText

protected java.lang.String searchText

searchOperator

protected java.lang.String searchOperator

searchTitle

protected java.lang.String searchTitle
Constructor Detail

RMSearchInfoPage

public RMSearchInfoPage()
                 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 RMInfoPage
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

Specified by:
onStartPage in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
onStartPage in class RMInfoPage
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.

getRecordsManageSearchResultXML

protected org.w3c.dom.Document getRecordsManageSearchResultXML(java.lang.String searchOperator,
                                                               java.lang.String searchText,
                                                               java.lang.String[] searchFieldNames)
                                                        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.