com.filenet.wcm.apps.server.ui
Class SimpleSearchRenderingModule

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.apps.server.ui.SimpleSearchRenderingModule
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Direct Known Subclasses:
NavigationPrintViewModule.SearchFormPrintView, SimpleSearchModule, SimpleSearchPrintViewModule.SearchFormPrintView

public class SimpleSearchRenderingModule
extends com.filenet.wcm.toolkit.server.base.WcmUiModule


Field Summary
protected  com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider adp
           
protected static int ALL_VERSIONS
           
protected  com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel classLabel
           
protected  WcmWorkplaceConfig config
           
protected  com.filenet.wcm.toolkit.server.base.WcmController controller
           
protected static int CURRENT_VERSION
           
protected  int dateFormat
           
protected  com.filenet.wcm.toolkit.server.util.WcmDataStore ds
           
protected static int ENDS_WITH
           
protected static int EQ
           
protected static java.lang.String FORM_NAME
           
protected static int GT
           
protected static int GTEQ
           
protected static java.lang.String HIDE
           
protected static int IN
           
protected static int ISNOTNULL
           
protected static int ISNULL
           
protected static int LIKE
           
protected static int LT
           
protected static int LTEQ
           
protected static int NEQ
           
protected static java.lang.String OBJTYPE_CUSTOM_OBJECT
           
protected static java.lang.String OBJTYPE_DOCUMENT
           
protected static java.lang.String OBJTYPE_FOLDER
           
protected static int RELEASED_VERSION
           
protected static java.lang.String SHOW
           
protected  WcmSitePrefs sitePrefs
           
protected static int STARTS_WITH
           
protected  SimpleSearchState state
           
protected  com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel subclassesLabel
           
protected  int timeFormat
           
protected  java.util.TimeZone timezone
           
protected static com.filenet.wcm.toolkit.util.WcmString wsCustomObject
           
protected static com.filenet.wcm.toolkit.util.WcmString wsDocument
           
protected static com.filenet.wcm.toolkit.util.WcmString wsFilterByClass
           
protected static com.filenet.wcm.toolkit.util.WcmString wsFolder
           
protected static com.filenet.wcm.toolkit.util.WcmString wsIncludeSubclasses
           
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
SimpleSearchRenderingModule()
           
 
Method Summary
protected static int getCVLlistboxIndex(java.lang.String listvalue)
           
protected static java.lang.String getCVLlistboxValue(java.lang.String listvalue)
           
protected  java.lang.String getOperatorLabel(java.lang.String oper)
           
 void initialize()
           
protected  void renderAndOrValue(int i, int len, java.io.Writer w)
           
protected  void renderCheckboxes(java.io.Writer w, boolean readOnly)
           
protected  void renderContentCriteria(java.io.Writer w, boolean readOnly, boolean showJoin)
           
protected  boolean renderFilterClassReadOnly(java.io.Writer w)
           
protected  void renderFilterProperty(java.io.Writer w)
           
protected  void renderLabelAndOperator(java.lang.String multiValue, java.lang.String oper, int i, java.lang.String symName, java.io.Writer w)
           
protected  void renderObjectTypeDropDown(java.io.Writer w, java.lang.String objectType, boolean simpleSearchMode, boolean readOnly)
           
protected  void renderOperator(java.lang.String multiValue, java.lang.String oper, int i, java.lang.String symName, java.io.Writer w)
           
protected  void renderPathAndToolBar(java.io.Writer w, boolean hideSearchIn, com.filenet.wcm.apps.server.presentation.ui.ToolBar topToolBar)
           
protected  boolean renderPropertyCriteria(java.io.Writer w)
           
protected static void renderSeparator(java.io.Writer w)
           
protected  void renderSingleProperty(java.lang.String propType, java.io.Writer w, java.lang.String multiValue, java.lang.String oper, java.lang.String symName, java.lang.String propertyValue, int i, java.util.List markingList, java.util.List choiceList, java.lang.String hcvl, int len)
           
protected  boolean renderVersionOptionDropDown(java.io.Writer w, boolean readOnly)
           
 
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, getFormName, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, render, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
onStartPage, 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.WcmUiModuleInterface
onStartPage
 
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

EQ

protected static final int EQ
See Also:
Constant Field Values

GT

protected static final int GT
See Also:
Constant Field Values

LT

protected static final int LT
See Also:
Constant Field Values

NEQ

protected static final int NEQ
See Also:
Constant Field Values

GTEQ

protected static final int GTEQ
See Also:
Constant Field Values

LTEQ

protected static final int LTEQ
See Also:
Constant Field Values

LIKE

protected static final int LIKE
See Also:
Constant Field Values

ISNULL

protected static final int ISNULL
See Also:
Constant Field Values

ISNOTNULL

protected static final int ISNOTNULL
See Also:
Constant Field Values

IN

protected static final int IN
See Also:
Constant Field Values

STARTS_WITH

protected static final int STARTS_WITH
See Also:
Constant Field Values

ENDS_WITH

protected static final int ENDS_WITH
See Also:
Constant Field Values

HIDE

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

SHOW

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

OBJTYPE_DOCUMENT

protected static final java.lang.String OBJTYPE_DOCUMENT

OBJTYPE_FOLDER

protected static final java.lang.String OBJTYPE_FOLDER

OBJTYPE_CUSTOM_OBJECT

protected static final java.lang.String OBJTYPE_CUSTOM_OBJECT

FORM_NAME

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

RELEASED_VERSION

protected static final int RELEASED_VERSION
See Also:
Constant Field Values

CURRENT_VERSION

protected static final int CURRENT_VERSION
See Also:
Constant Field Values

ALL_VERSIONS

protected static final int ALL_VERSIONS
See Also:
Constant Field Values

wsFilterByClass

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

wsIncludeSubclasses

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

wsDocument

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

wsFolder

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

wsCustomObject

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

sitePrefs

protected WcmSitePrefs sitePrefs

controller

protected com.filenet.wcm.toolkit.server.base.WcmController controller

config

protected WcmWorkplaceConfig config

timezone

protected java.util.TimeZone timezone

dateFormat

protected int dateFormat

timeFormat

protected int timeFormat

classLabel

protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel classLabel

subclassesLabel

protected com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel subclassesLabel

ds

protected com.filenet.wcm.toolkit.server.util.WcmDataStore ds

state

protected SimpleSearchState state

adp

protected com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider adp
Constructor Detail

SimpleSearchRenderingModule

public SimpleSearchRenderingModule()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

renderPathAndToolBar

protected void renderPathAndToolBar(java.io.Writer w,
                                    boolean hideSearchIn,
                                    com.filenet.wcm.apps.server.presentation.ui.ToolBar topToolBar)
                             throws java.lang.Exception
Throws:
java.lang.Exception

renderSeparator

protected static void renderSeparator(java.io.Writer w)
                               throws java.io.IOException
Throws:
java.io.IOException

renderCheckboxes

protected void renderCheckboxes(java.io.Writer w,
                                boolean readOnly)
                         throws java.lang.Exception
Throws:
java.lang.Exception

renderVersionOptionDropDown

protected boolean renderVersionOptionDropDown(java.io.Writer w,
                                              boolean readOnly)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

renderObjectTypeDropDown

protected void renderObjectTypeDropDown(java.io.Writer w,
                                        java.lang.String objectType,
                                        boolean simpleSearchMode,
                                        boolean readOnly)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

renderFilterClassReadOnly

protected boolean renderFilterClassReadOnly(java.io.Writer w)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

renderPropertyCriteria

protected boolean renderPropertyCriteria(java.io.Writer w)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

renderFilterProperty

protected void renderFilterProperty(java.io.Writer w)
                             throws java.lang.Exception
Throws:
java.lang.Exception

renderContentCriteria

protected void renderContentCriteria(java.io.Writer w,
                                     boolean readOnly,
                                     boolean showJoin)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getCVLlistboxValue

protected static java.lang.String getCVLlistboxValue(java.lang.String listvalue)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

getCVLlistboxIndex

protected static int getCVLlistboxIndex(java.lang.String listvalue)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

renderSingleProperty

protected void renderSingleProperty(java.lang.String propType,
                                    java.io.Writer w,
                                    java.lang.String multiValue,
                                    java.lang.String oper,
                                    java.lang.String symName,
                                    java.lang.String propertyValue,
                                    int i,
                                    java.util.List markingList,
                                    java.util.List choiceList,
                                    java.lang.String hcvl,
                                    int len)
                             throws java.lang.Exception
Throws:
java.lang.Exception

renderAndOrValue

protected void renderAndOrValue(int i,
                                int len,
                                java.io.Writer w)
                         throws java.io.IOException
Throws:
java.io.IOException

renderLabelAndOperator

protected void renderLabelAndOperator(java.lang.String multiValue,
                                      java.lang.String oper,
                                      int i,
                                      java.lang.String symName,
                                      java.io.Writer w)
                               throws java.lang.Exception
Throws:
java.lang.Exception

renderOperator

protected void renderOperator(java.lang.String multiValue,
                              java.lang.String oper,
                              int i,
                              java.lang.String symName,
                              java.io.Writer w)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getOperatorLabel

protected java.lang.String getOperatorLabel(java.lang.String oper)


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