com.filenet.wcm.apps.server.ui.info
Class WcmPropertiesInfoViewPage

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.WcmPropertiesInfoViewPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class WcmPropertiesInfoViewPage
extends com.filenet.wcm.toolkit.server.ui.WcmXSLModule

WcmPropertiesInfoViewPage extends WcmXSLModule this class handles the readonly format for an item's properties on the properties printer friendly view.


Field Summary
 
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
protected WcmPropertiesInfoViewPage()
          protected Constructor sets the default type and name.
  WcmPropertiesInfoViewPage(int type)
          Constructor sets the Property type to one of the static int values defined in WcmPageMode.
 
Method Summary
protected  org.w3c.dom.Document getOutputXML()
          Gets the Document interface on the properties XML
protected  org.w3c.dom.Document getPropertiesXML()
          Gets the Document interface on the properties XML.
 void initialize()
          Initializes data providers, XSL parameters, the authoring state and other state values.
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Set XSL parameters and other setup before showing the print view properties.
 void render(java.io.Writer w)
          Renders the print view properties.
 
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, getFormName, 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
 

Constructor Detail

WcmPropertiesInfoViewPage

protected WcmPropertiesInfoViewPage()
                             throws java.lang.Exception
protected Constructor sets the default type and name.

Throws:
java.lang.Exception

WcmPropertiesInfoViewPage

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

Parameters:
type - One of the defined int field types.
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.

Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Set XSL parameters and other setup before showing the print view properties.

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 print view properties.

Parameters:
w - Writer object to write to.
Throws:
java.lang.Exception

getPropertiesXML

protected org.w3c.dom.Document getPropertiesXML()
                                         throws java.lang.Exception
Gets the Document interface on the properties XML. Also sets the class property for the output XML.

Returns:
The property descriptions xml.
Throws:
java.lang.Exception

getOutputXML

protected org.w3c.dom.Document getOutputXML()
                                     throws java.lang.Exception
Gets the Document interface on the properties XML

Returns:
The output xml.
Throws:
java.lang.Exception


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