com.filenet.wcm.apps.server.ui.operation
Class SelectEntryTemplateOperation

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.WcmJSPModule
                      extended bycom.filenet.wcm.toolkit.server.ui.WcmLayoutModule
                          extended bycom.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
                              extended bycom.filenet.wcm.apps.server.ui.operation.select.SelectOperation
                                  extended bycom.filenet.wcm.apps.server.ui.operation.SelectEntryTemplateOperation
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class SelectEntryTemplateOperation
extends SelectOperation


Nested Class Summary
 
Nested classes inherited from class com.filenet.wcm.apps.server.ui.operation.select.SelectOperation
SelectOperation.SelectionBrowseListView, SelectOperation.SelectionBrowseNavigation, SelectOperation.SelectionBrowsePageDescriptor, SelectOperation.SelectionSearchForm, SelectOperation.SelectionSearchModule, SelectOperation.SelectionSearchPageDescriptor, SelectOperation.SelectionSearchResultsListView, SelectOperation.SelectionShortcutListView, SelectOperation.SelectionShortcutNavigation, SelectOperation.SelectionShortcutsPageDescriptor, SelectOperation.SelectionSimpleSearch, SelectOperation.SelectionSimpleSearchResultsListView
 
Field Summary
static java.lang.String ENTRY_TEMPLATE_TYPE_CFW
           
static java.lang.String ENTRY_TEMPLATE_TYPE_CFW_PAGE
           
static java.lang.String ENTRY_TEMPLATE_TYPE_CFW_SECTION
           
static java.lang.String ENTRY_TEMPLATE_TYPE_CFW_TEXT
           
static java.lang.String ENTRY_TEMPLATE_TYPE_CUSTOM_OBJECT
           
static java.lang.String ENTRY_TEMPLATE_TYPE_DOCUMENT
           
static java.lang.String ENTRY_TEMPLATE_TYPE_DOCUMENT_AND_FOLDER_AND_CUSTOM_OBJECT
           
static java.lang.String ENTRY_TEMPLATE_TYPE_FOLDER
           
static java.lang.String ENTRY_TEMPLATE_TYPE_FORM_DATA
           
static java.lang.String ENTRY_TEMPLATE_TYPE_LOCAL_SETION
           
static java.lang.String ENTRY_TEMPLATE_TYPE_PAGE
           
static java.lang.String ENTRY_TEMPLATE_TYPE_SECTION
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.operation.select.SelectOperation
hideFilterClass, hideSimpleSearchFilterClass, includeSubClass, PARAM_ALLOW_CHECKOUT, PARAM_CLASS, PARAM_CONTAINER_TYPES, PARAM_CUSTOMOBJECT_TYPES, PARAM_DISABLE_APPINT_MODE, PARAM_FORCE_HIDE_CUSTOM_OBJECTS, PARAM_HIDDEN_TABS, PARAM_HIDE_INFO_ACTIONS, PARAM_HIDE_MYSEARCH_FILTER_CLASS, PARAM_INCLUDE_SUBCLASS, PARAM_LINK_NAME, PARAM_MIME_TYPES, PARAM_OBJECT_ID, PARAM_OBJECT_STORE_NAME, PARAM_OBJECT_TYPE, PARAM_PAGE_TITLE, PARAM_PATH_NAME, PARAM_RETURN_URL, PARAM_ROOT_FOLDER_ID, PARAM_ROOT_FOLDER_NAME, PARAM_SELECT_EVENT_NAME, PARAM_SELECT_EVENT_TARGET, PARAM_SELECT_MODE, PARAM_SELECT_URL, PARAM_SHORTCUT_CATEGORIES, PARAM_SHOW_RELEASE_ONLY, PARAM_SHOW_SELECT_CURRENT, PARAM_SHOW_SELECT_FROM_VERSIONS, PARAM_SHOW_SELECT_RELEASED, PARAM_SHOW_SHORTCUTS, PARAM_TEXT_PROP, primaryTitle, sClassFilter, sContainerTypes, sCustomObjectTypes, SELECT_ALL, SELECT_CUSTOM_OBJECTS_ONLY, SELECT_DOCUMENTS_ONLY, SELECT_FOLDERS_AND_DOCUMENTS, SELECT_FOLDERS_ONLY, SELECT_LINKS_ONLY, SELECT_SEARCH_TEMPLATES_ONLY, SELECT_STOREDSEARCH_AND_DOCUMENTS, showBrowse, showMySearch, showReleaseOnly, showSearch, showSelectCurrent, showSelectFromVersions, showSelectReleased, showShortcuts, sMimeTypes, sPathName, sSelectMode
 
Fields inherited from class com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
bannerModule, contextMenu, footerLinksBarModule, footerModule, leftCSSClass, MAIN_MODE, multiSelectMenu, OPERATION_MODE, renderLeftBar, showFooterLinksBar, tabBarModule, treeModule
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
jspMode, layout
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
SelectEntryTemplateOperation()
           
 
Method Summary
protected  void addAdditionalPropsToFilterData(com.filenet.wcm.toolkit.server.util.FilterData filterData)
          Overrides to add addtional criteria to the search criteria to the BrowseListView.
protected  void configureMimeTypes()
          Overrides the SelectOperation configureMimeTypes to set the mimetypes accordingly for each entry template type.
 void initialize()
          Initialize the SelectEntryTemplateOperation module.
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The default event sets up the display objects for rendering.
 void renderLayout(java.io.Writer w)
          Override the renderLayout method to set the simple search listview xsl data
 
Methods inherited from class com.filenet.wcm.apps.server.ui.operation.select.SelectOperation
configureSelectMode, expandSelectedTab, getBrowseListView, getBrowseNavigation, getSimpleSearchPage, getVersionListView, onCheckoutSelect, onChooseClass, onClientSelect, onClose, onSelectBucket, onSelectObjectStoreBrowse, onSelectObjectStoreSearch, onSelectShortcutOP, onSelectTab, onSelectTab, onShowVersions, onUpdateVersionList, render
 
Methods inherited from class com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
addModule, addModule, addPrimaryPageAnchors, createLayout, getAnchorTree, getBannerBar, getFooter, getFooterLinksBar, getOperationTitle, getPageTabId, getPrimaryPageAnchors, getTabBar, isAdminLinkAvailable, registerAddedModules, resetPrimaryPageAnchors, setAddContextMenu, setMode, setOperationTitle, setOperationTitle, setOperationTitle, setOperationTitle, setRemoveTreeModule, setShowFooterLinksBar, setTabBarSelection
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
getLayout, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmJSPModule
getCurrentModule
 
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, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive
 
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

ENTRY_TEMPLATE_TYPE_DOCUMENT

public static final java.lang.String ENTRY_TEMPLATE_TYPE_DOCUMENT
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_FOLDER

public static final java.lang.String ENTRY_TEMPLATE_TYPE_FOLDER
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_CUSTOM_OBJECT

public static final java.lang.String ENTRY_TEMPLATE_TYPE_CUSTOM_OBJECT
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_DOCUMENT_AND_FOLDER_AND_CUSTOM_OBJECT

public static final java.lang.String ENTRY_TEMPLATE_TYPE_DOCUMENT_AND_FOLDER_AND_CUSTOM_OBJECT
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_FORM_DATA

public static final java.lang.String ENTRY_TEMPLATE_TYPE_FORM_DATA
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_PAGE

public static final java.lang.String ENTRY_TEMPLATE_TYPE_PAGE
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_SECTION

public static final java.lang.String ENTRY_TEMPLATE_TYPE_SECTION
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_LOCAL_SETION

public static final java.lang.String ENTRY_TEMPLATE_TYPE_LOCAL_SETION
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_CFW_PAGE

public static final java.lang.String ENTRY_TEMPLATE_TYPE_CFW_PAGE
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_CFW_SECTION

public static final java.lang.String ENTRY_TEMPLATE_TYPE_CFW_SECTION
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_CFW_TEXT

public static final java.lang.String ENTRY_TEMPLATE_TYPE_CFW_TEXT
See Also:
Constant Field Values

ENTRY_TEMPLATE_TYPE_CFW

public static final java.lang.String ENTRY_TEMPLATE_TYPE_CFW
See Also:
Constant Field Values
Constructor Detail

SelectEntryTemplateOperation

public SelectEntryTemplateOperation()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Initialize the SelectEntryTemplateOperation module.

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

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
The default event sets up the display objects for rendering.

Specified by:
onStartPage in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
onStartPage in class SelectOperation
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception - if there were errors.

renderLayout

public void renderLayout(java.io.Writer w)
                  throws java.lang.Exception
Override the renderLayout method to set the simple search listview xsl data

Overrides:
renderLayout in class WcmWorkplaceLayoutModule
Parameters:
w - Writer Response writer.
Throws:
java.lang.Exception

configureMimeTypes

protected void configureMimeTypes()
Overrides the SelectOperation configureMimeTypes to set the mimetypes accordingly for each entry template type. -

Overrides:
configureMimeTypes in class SelectOperation

addAdditionalPropsToFilterData

protected void addAdditionalPropsToFilterData(com.filenet.wcm.toolkit.server.util.FilterData filterData)
                                       throws java.lang.Exception
Overrides to add addtional criteria to the search criteria to the BrowseListView.

Overrides:
addAdditionalPropsToFilterData in class SelectOperation
Parameters:
filterData -
Throws:
java.lang.Exception


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