com.filenet.wcm.apps.server.ui.wizard.records
Class DeclareRecordsClassificationWizardPage

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.wizard.records.RMClassificationWizardPage
                      extended bycom.filenet.wcm.apps.server.ui.wizard.records.DeclareRecordsClassificationWizardPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmPanelInterface, com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface, com.filenet.wcm.toolkit.server.base.WcmSequencePanelInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class DeclareRecordsClassificationWizardPage
extends RMClassificationWizardPage

This class displays the class selection page for the Entry Designer wizard.

See Also:
com.filenet.wcm.apps.server.ui.wizard.WcmClassWizardPage

Nested Class Summary
 
Nested classes inherited from class com.filenet.wcm.apps.server.ui.wizard.records.RMClassificationWizardPage
RMClassificationWizardPage.SelectStartingClassificationFolder
 
Field Summary
protected  WcmWorkplaceConfig config
           
protected  int mode
           
protected  com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider ndp
           
protected static java.lang.String RECORD_CLASS_ACCESS
           
protected  WcmSitePrefs sitePrefs
           
protected  java.lang.String sMode
           
protected  com.filenet.wcm.toolkit.server.util.DeclareRecordsTemplate template
           
protected  WcmUserPrefs userPrefs
           
protected static com.filenet.wcm.toolkit.util.WcmString wsAccess
           
protected static com.filenet.wcm.toolkit.util.WcmString wsAddNew
           
protected static com.filenet.wcm.toolkit.util.WcmString wsClassifications
           
protected static com.filenet.wcm.toolkit.util.WcmString wsDefaultValue
           
protected static com.filenet.wcm.toolkit.util.WcmString wsNone
           
protected static com.filenet.wcm.toolkit.util.WcmString wsProperty
           
protected static com.filenet.wcm.toolkit.util.WcmString wsRecordClass
           
protected static com.filenet.wcm.toolkit.util.WcmString wsRemove
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.wizard.records.RMClassificationWizardPage
adp, authState, CLASSIFICATION_LIST_ACCESS, classificationLabel, classificationsLabel, classLabel, domSelectedClassification, editPage, EMAIL_CLASS, listView, locale, MARKERS_CLASS, MASK_EDITABLE, MASK_HIDE, MASK_READONLY, navState, PRIMARY_CLASSIFICATION_ID, primaryLabel, rdp, RECORDINFO_CLASS, selectStartingFolder, subFolderBrowsing, wsChangeValue, wsClear, wsConstrainMsg, wsDisplay, wsEditable, wsHide, wsHideMsg, wsNotSelected, wsPrimary, wsReadonly, wsRecordClassLabel, wsSelectClass, wsSelectClassification, wsSelectValue, wsShowMsg
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
NAME_DELIMITER
 
Constructor Summary
DeclareRecordsClassificationWizardPage()
           
DeclareRecordsClassificationWizardPage(int mode)
          Constructor calls base class constructor, then creates the required pages.
 
Method Summary
protected  java.lang.String addAdditionalParameters(java.lang.String url)
          adding additional parameter
 java.lang.String getFormName()
          return form name back.
 void initialize()
          Initializes data providers, XSL parameters, the authoring state, and other state values.
 boolean isFinished()
          Indicates if the input is complete.
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Initialize the Classes
 boolean panelValidate()
          Called on a page to check any entered data to confirm that everything is valid.
 void render(java.io.Writer w)
          Renders the class data.
protected  void renderCommand(java.io.Writer w, java.lang.String label, java.lang.String selectedItem)
          Render the command line with required icon, link and selected item
protected  void renderCommand(java.io.Writer w, com.filenet.wcm.toolkit.util.WcmString label, java.lang.String selectedItem)
          Render the command line with required icon, link and selected item
 
Methods inherited from class com.filenet.wcm.apps.server.ui.wizard.records.RMClassificationWizardPage
configureFPOS, configureRecordClass, getEditPage, getPropertiesXML, getPropertyDescriptionsXML, getSelectedClassificationListView, getStartingFolderUrl, getValidationErrors, onAddNew, onClassificationListAccess, onRecordClass, onRecordClassAccess, onRemove, onResetValue, onSelect, onSelectAsPrimary, onSetClass, onSubFolderBrowsing, panelCancel, panelFinish, panelInit, panelSave, renderAccess, renderButton, renderCommand, renderCommand, renderSeperator, renderTitle, renderTitle, setMode, setStartingFolder, setStartingFolderId, setupPrimaryClassfication, setupPrimaryLinkURL
 
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

wsNone

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

wsAddNew

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

wsRemove

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

wsClassifications

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

wsRecordClass

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

wsProperty

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

wsDefaultValue

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

wsAccess

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

RECORD_CLASS_ACCESS

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

sMode

protected java.lang.String sMode

config

protected WcmWorkplaceConfig config

sitePrefs

protected WcmSitePrefs sitePrefs

userPrefs

protected WcmUserPrefs userPrefs

ndp

protected com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider ndp

template

protected com.filenet.wcm.toolkit.server.util.DeclareRecordsTemplate template

mode

protected int mode
Constructor Detail

DeclareRecordsClassificationWizardPage

public DeclareRecordsClassificationWizardPage(int mode)
                                       throws java.lang.Exception
Constructor calls base class constructor, then creates the required pages.


DeclareRecordsClassificationWizardPage

public DeclareRecordsClassificationWizardPage()
                                       throws java.lang.Exception
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Initializes data providers, XSL parameters, the authoring state, and other state values.

Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class RMClassificationWizardPage
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 RMClassificationWizardPage
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

render

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

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

renderCommand

protected void renderCommand(java.io.Writer w,
                             com.filenet.wcm.toolkit.util.WcmString label,
                             java.lang.String selectedItem)
                      throws java.lang.Exception
Render the command line with required icon, link and selected item

Parameters:
w - Writer
label - Label
selectedItem - Selected item
Throws:
java.lang.Exception

renderCommand

protected void renderCommand(java.io.Writer w,
                             java.lang.String label,
                             java.lang.String selectedItem)
                      throws java.lang.Exception
Render the command line with required icon, link and selected item

Parameters:
w - Writer
label - Label
selectedItem - Selected item
Throws:
java.lang.Exception

panelValidate

public boolean panelValidate()
                      throws java.lang.Exception
Called on a page to check any entered data to confirm that everything is valid.

Specified by:
panelValidate in interface com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface
Overrides:
panelValidate in class RMClassificationWizardPage
Throws:
java.lang.Exception

isFinished

public boolean isFinished()
                   throws java.lang.Exception
Indicates if the input is complete. If a folder is selected, returns true. If an object store is selected and a folder is being added, returns true. Returns false otherwise.

Specified by:
isFinished in interface com.filenet.wcm.toolkit.server.base.WcmSequencePanelInterface
Overrides:
isFinished in class RMClassificationWizardPage
Returns:
boolean indicating if the input is complete.
Throws:
java.lang.Exception

addAdditionalParameters

protected java.lang.String addAdditionalParameters(java.lang.String url)
                                            throws java.lang.Exception
adding additional parameter

Overrides:
addAdditionalParameters in class RMClassificationWizardPage
Parameters:
url - URL
Returns:
URL in string format
Throws:
java.lang.Exception

getFormName

public java.lang.String getFormName()
return form name back.

Specified by:
getFormName in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
getFormName in class RMClassificationWizardPage


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