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

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.WcmPropertiesInfoPage
                          extended bycom.filenet.wcm.apps.server.ui.info.records.RMRecordsClassInfoPage
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.WcmUiModuleInterface, com.filenet.wcm.toolkit.server.base.WcmViewPanelInterface

public class RMRecordsClassInfoPage
extends WcmPropertiesInfoPage


Nested Class Summary
 
Nested classes inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
WcmPropertiesInfoPage.OVPReader
 
Field Summary
protected  com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider adp
           
protected  WcmAuthoringState aState
           
protected  int mode
           
protected static java.lang.String NAME
           
protected  com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider ndp
           
protected static int NORMAL
           
protected  WcmNavigationState nState
           
protected  int nType
           
protected  WcmDesignerPropertiesUtil propertiesUtil
           
protected  com.filenet.wcm.toolkit.server.dp.RecordsManageDataProvider rdp
           
protected static int READONLY
           
protected  boolean strick
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
classLabel, controller, exceptions, isInfoPage, propCacheKey, rootClassId, showCompoundDocument
 
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
RMRecordsClassInfoPage()
           
RMRecordsClassInfoPage(int type)
          Constructor sets the Property type to one of the static int values defined above.
 
Method Summary
 org.w3c.dom.Document getPropertiesXML()
          Return properties XML back from super class.
 void initialize()
          Initializes data providers, XSL parameters, the authoring state and other state values.
 void onOrganizeProperties(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Used by links to redirect to secondary property pages after it submits the form by calling onSubmit.
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Set the promote as Major version setting
 void onSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This event updates the output XML from the request data.
protected  void organizePropertyDescritions(org.w3c.dom.Document domPropDescs)
           
 boolean panelValidate()
          Called on a page to check any entered data to confirm that everything is valid.
 void setClassProperty()
          This method update record template properties and property description object depends on what record class is selected.
 void setStrick(boolean value)
           
 
Methods inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
cleanup, getClassName, getExceptions, getFormName, getOutputXML, getShowCompoundDocument, getValidationErrors, initializePropertiesWithCommandXml, isApplyButtonRequired, isModified, onAddChild, onChangePage, onCollapse, onExpand, onGetInfo, onSelectObject, onSetClass, onSetObject, onShowChildren, onSystemProperties, onUpdateChild, pageValidate, panelFinish, panelInitClientProperties, panelSave, removeSingleProperty, render, reset, setFormName, setReadOnly, setRootClass, setSelectedClass, showCompoundDocument, showSelectClassLink, showSingleProperty, transformXML
 
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, 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, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

NAME

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

READONLY

protected static final int READONLY
See Also:
Constant Field Values

NORMAL

protected static final int NORMAL
See Also:
Constant Field Values

nType

protected int nType

mode

protected int mode

adp

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

ndp

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

rdp

protected com.filenet.wcm.toolkit.server.dp.RecordsManageDataProvider rdp

aState

protected WcmAuthoringState aState

nState

protected WcmNavigationState nState

propertiesUtil

protected WcmDesignerPropertiesUtil propertiesUtil

strick

protected boolean strick
Constructor Detail

RMRecordsClassInfoPage

public RMRecordsClassInfoPage()
                       throws java.lang.Exception

RMRecordsClassInfoPage

public RMRecordsClassInfoPage(int type)
                       throws java.lang.Exception
Constructor sets the Property type to one of the static int values defined above.

Parameters:
type - One of the defined int field types.
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Description copied from class: WcmPropertiesInfoPage
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 WcmPropertiesInfoPage
Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Set the promote as Major version setting

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

onOrganizeProperties

public void onOrganizeProperties(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
                          throws java.lang.Exception
Used by links to redirect to secondary property pages after it submits the form by calling onSubmit.

Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

setClassProperty

public void setClassProperty()
                      throws java.lang.Exception
This method update record template properties and property description object depends on what record class is selected.

Throws:
java.lang.Exception - If there are problems retrieving data or an invalid parameter.

organizePropertyDescritions

protected void organizePropertyDescritions(org.w3c.dom.Document domPropDescs)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

onSubmit

public void onSubmit(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
This event updates the output XML from the request data.

Overrides:
onSubmit in class WcmPropertiesInfoPage
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

getPropertiesXML

public org.w3c.dom.Document getPropertiesXML()
                                      throws java.lang.Exception
Return properties XML back from super class.

Overrides:
getPropertiesXML in class WcmPropertiesInfoPage
Returns:
The property descriptions xml.
Throws:
java.lang.Exception

setStrick

public void setStrick(boolean value)

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 WcmPropertiesInfoPage
Returns:
true if no exception is thrown
Throws:
java.lang.Exception


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