com.filenet.wcm.apps.server.ui.info.prefs
Class PrefQueryInfoPage

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.presentation.ui.GenericListView
                          extended bycom.filenet.wcm.apps.server.ui.WcmGenericListView
                              extended bycom.filenet.wcm.apps.server.ui.WcmNavigationListView
                                  extended bycom.filenet.wcm.apps.server.ui.WcmPathNavigation
                                      extended bycom.filenet.wcm.apps.server.ui.nav.WcmObjectStoreNavigation
                                          extended bycom.filenet.wcm.apps.server.ui.info.prefs.PrefQueryInfoPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmPanelInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface, com.filenet.wcm.toolkit.server.base.WcmViewPanelInterface
Direct Known Subclasses:
PrefFilterInfoPage

public class PrefQueryInfoPage
extends WcmObjectStoreNavigation
implements com.filenet.wcm.toolkit.server.base.WcmViewPanelInterface

User Preferences Query Object Stores info page.


Nested Class Summary
static class PrefQueryInfoPage.QuerySetting
           
protected static class PrefQueryInfoPage.QueryState
           
 
Field Summary
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 CUSTOM_OBJECT_PREFS
           
protected static PrefQueryInfoPage.QueryState defaultState
           
protected static int DOCUMENT_PREFS
           
protected  boolean filterPage
           
protected static int FOLDER_PREFS
           
protected static java.lang.String FORM_NAME
           
protected  int objectType
           
protected  PrefQueryInfoPage.QuerySetting s
           
protected static java.lang.String SELECTED_OBJECT_KEY
           
protected  WcmSitePrefs sitePrefs
           
protected  PrefQueryInfoPage.QueryState state
           
protected  com.filenet.wcm.toolkit.server.ui.WcmAnchorTree treeModule
           
protected static com.filenet.wcm.toolkit.util.WcmString wsAndOr
           
protected static com.filenet.wcm.toolkit.util.WcmString wsCustomObjects
           
protected static com.filenet.wcm.toolkit.util.WcmString wsDocuments
           
protected static com.filenet.wcm.toolkit.util.WcmString wsField
           
protected static com.filenet.wcm.toolkit.util.WcmString wsFilterClass
           
protected static com.filenet.wcm.toolkit.util.WcmString wsHide
           
protected static com.filenet.wcm.toolkit.util.WcmString wsOperator
           
protected static com.filenet.wcm.toolkit.util.WcmString wsPropertyName
           
protected static com.filenet.wcm.toolkit.util.WcmString wsShow
           
protected static com.filenet.wcm.toolkit.util.WcmString wsShowContentContains
           
protected static com.filenet.wcm.toolkit.util.WcmString wsSortOn
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.nav.WcmObjectStoreNavigation
active, addGetInfoLink, dp, oAnchors, objectStoresLabel, oPath, oState
 
Fields inherited from class com.filenet.wcm.apps.server.ui.WcmNavigationListView
contextMenuHelper
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
transformUtil
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
PrefQueryInfoPage()
           
 
Method Summary
protected  void addOperators(java.lang.String sOper)
           
protected static void addPropertiesToComboBox(PrefQueryInfoPage.QuerySetting s, com.filenet.wcm.apps.server.ui.info.prefs.PrefQueryInfoPage.WcmProperty[] props, java.lang.String sSelectedProperty, boolean addEmptyOne)
           
 void configureTree()
           
 java.lang.String getFormName()
           
protected  void init()
           
 void initialize()
          Initializes module.
 boolean isApplyButtonRequired()
           
 boolean isModified()
           
 void onClearClass(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void onRestoreDefaults(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Restores the form to its default values
 void onSelect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Update the object store navigation state when the user clicks on an object store.
 void onSelectDomain(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Save the current form data when selecting the domain.
 void onSelectObjectStore(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Save the current form data when selecting an object store.
 void onSelectTab(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Sets initial values for rendering of one of the main options (Object Stores, My Shortcuts, Site Shortcuts)
 void onSetClass(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void onSetSearchIn(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void panelFinish(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void panelSave(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void render(java.io.Writer w)
          Renders the class data.
protected  void renderFilterClass(java.io.Writer w)
           
protected  void renderObjectPage(java.io.Writer w)
           
 void setTree(com.filenet.wcm.toolkit.server.ui.WcmAnchorTree tree)
           
 
Methods inherited from class com.filenet.wcm.apps.server.ui.nav.WcmObjectStoreNavigation
onGetInfo, onStartPage, setActiveLinks, setHideObjectStoresPathLink, setNavigationDataProvider, setShowGetInfoLink
 
Methods inherited from class com.filenet.wcm.apps.server.ui.WcmPathNavigation
getCommandBar, getPathView, setRenderNavigation, setRenderPath
 
Methods inherited from class com.filenet.wcm.apps.server.ui.WcmNavigationListView
setColumns, setExtraURLParameters, setFormSubmitName, setMaxRows, setShowContextMenu, setShowNoItemsMessage, setTitle, setTitle
 
Methods inherited from class com.filenet.wcm.apps.server.ui.WcmGenericListView
configNameProperties, configNameProperties, configNameProperties, configNameProperties, setCustomObjectNameProperty, setCustomObjectNameProperty, setDocumentNameProperty, setDocumentNameProperty, setFolderNameProperty, setFolderNameProperty
 
Methods inherited from class com.filenet.wcm.apps.server.presentation.ui.GenericListView
getCurrentPage, getXSLTemplate, onPageChange, setCurrentPage, setFirstDisplayedItem, setItemsCount, setLastDisplayedItem, setNameProperty, setNoItemsText, setNotItemsTextString, setPageSize, setPagingLabel, setSelectedObjects
 
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

wsField

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

wsHide

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

wsShow

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

wsDocuments

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

wsCustomObjects

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

wsOperator

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

wsPropertyName

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

wsShowContentContains

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

wsFilterClass

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

wsSortOn

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

wsAndOr

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

SELECTED_OBJECT_KEY

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

FORM_NAME

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

DOCUMENT_PREFS

protected static final int DOCUMENT_PREFS
See Also:
Constant Field Values

FOLDER_PREFS

protected static final int FOLDER_PREFS
See Also:
Constant Field Values

CUSTOM_OBJECT_PREFS

protected static final int CUSTOM_OBJECT_PREFS
See Also:
Constant Field Values

defaultState

protected static PrefQueryInfoPage.QueryState defaultState

sitePrefs

protected WcmSitePrefs sitePrefs

config

protected WcmWorkplaceConfig config

state

protected PrefQueryInfoPage.QueryState state

objectType

protected int objectType

treeModule

protected com.filenet.wcm.toolkit.server.ui.WcmAnchorTree treeModule

controller

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

filterPage

protected boolean filterPage

s

protected PrefQueryInfoPage.QuerySetting s

classLabel

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

PrefQueryInfoPage

public PrefQueryInfoPage()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Description copied from class: WcmPathNavigation
Initializes module. Does an addChild for the toolbar and pathView.

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

onSetSearchIn

public void onSetSearchIn(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.lang.Exception
Throws:
java.lang.Exception

onSetClass

public void onSetClass(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws java.lang.Exception
Throws:
java.lang.Exception

init

protected void init()
             throws java.lang.Exception
Throws:
java.lang.Exception

renderObjectPage

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

renderFilterClass

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

addOperators

protected void addOperators(java.lang.String sOper)

render

public void render(java.io.Writer w)
            throws java.lang.Exception
Description copied from class: WcmPathNavigation
Renders the class data.

Specified by:
render in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
render in class WcmPathNavigation
Parameters:
w - Writer for writing to the response object.
Throws:
java.lang.Exception - If there are problems.

getFormName

public java.lang.String getFormName()
Specified by:
getFormName in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

panelSave

public void panelSave(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws java.lang.Exception
Specified by:
panelSave in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
Throws:
java.lang.Exception

panelFinish

public void panelFinish(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Specified by:
panelFinish in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
Throws:
java.lang.Exception

onClearClass

public void onClearClass(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws java.lang.Exception
Throws:
java.lang.Exception

onSelectTab

public void onSelectTab(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Sets initial values for rendering of one of the main options (Object Stores, My Shortcuts, Site Shortcuts)

Parameters:
request - HttpServletRequest is the Java™Server Pages (JSP) request object.
response - HttpServletResponse is the JSP response object.
Throws:
java.lang.Exception - If there are problems retrieving data.

onSelect

public void onSelect(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
Update the object store navigation state when the user clicks on an object store. Save the current form data when selecting an object store.

Overrides:
onSelect in class WcmObjectStoreNavigation
Parameters:
request -
response -
Throws:
java.lang.Exception

onSelectDomain

public void onSelectDomain(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws java.lang.Exception
Save the current form data when selecting the domain.

Overrides:
onSelectDomain in class WcmObjectStoreNavigation
Parameters:
request - Request object.
response - Response object.
Throws:
java.lang.Exception

onSelectObjectStore

public void onSelectObjectStore(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws java.lang.Exception
Save the current form data when selecting an object store.

Overrides:
onSelectObjectStore in class WcmObjectStoreNavigation
Parameters:
request - Request object.
response - Response object.
Throws:
java.lang.Exception

onRestoreDefaults

public void onRestoreDefaults(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws java.lang.Exception
Restores the form to its default values

Parameters:
request -
response -
Throws:
java.lang.Exception

setTree

public void setTree(com.filenet.wcm.toolkit.server.ui.WcmAnchorTree tree)

configureTree

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

addPropertiesToComboBox

protected static void addPropertiesToComboBox(PrefQueryInfoPage.QuerySetting s,
                                              com.filenet.wcm.apps.server.ui.info.prefs.PrefQueryInfoPage.WcmProperty[] props,
                                              java.lang.String sSelectedProperty,
                                              boolean addEmptyOne)

isModified

public boolean isModified()
                   throws java.lang.Exception
Specified by:
isModified in interface com.filenet.wcm.toolkit.server.base.WcmViewPanelInterface
Throws:
java.lang.Exception

isApplyButtonRequired

public boolean isApplyButtonRequired()
                              throws java.lang.Exception
Specified by:
isApplyButtonRequired in interface com.filenet.wcm.toolkit.server.base.WcmViewPanelInterface
Throws:
java.lang.Exception


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