com.filenet.wcm.apps.server.ui.info.webcontent
Class WebContentPropDescsInfoPage
java.lang.Object
com.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.base.GlobalEventModule
com.filenet.wcm.toolkit.server.base.WcmUiModule
com.filenet.wcm.toolkit.server.ui.WcmXSLModule
com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage
com.filenet.wcm.apps.server.ui.info.WcmPropDescsInfoPage
com.filenet.wcm.apps.server.ui.info.webcontent.WebContentPropDescsInfoPage
- 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 WebContentPropDescsInfoPage
- extends WcmPropDescsInfoPage
Fields inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropDescsInfoPage |
adp, aState, mode, NAME, ndp, NORMAL, nState, nType, propertiesUtil, READONLY, strick |
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 |
Method Summary |
void |
cleanup()
Cleanup module properties |
java.util.List |
getExceptions()
|
protected org.w3c.dom.Document |
getOutputXML()
Overrides the getOutputXML method to support local section properties. |
org.w3c.dom.Document |
getPropertiesXML()
Overrides the getPropertiesXML method to properly load the web content property descriptions xml. |
void |
initialize()
Initializes data providers, XSL parameters, the authoring state, and
other state values. |
void |
onSelectCategories(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the select categories event triggered by the user selecting the Categories link. |
void |
onSetCategories(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Set Categories event triggered by the user selecting one or more categories from the select categories
page. |
void |
onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sets up property description xml and event handler urls. |
void |
onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Set Categories event triggered by the user selecting one or more categories from the select categories
page. |
boolean |
panelValidate()
Called on a page to check any entered data to confirm that everything is valid. |
void |
setSelectedClass(java.lang.String newClassId)
Set the select class. |
Methods inherited from class com.filenet.wcm.apps.server.ui.info.WcmPropertiesInfoPage |
getClassName, getFormName, getShowCompoundDocument, getValidationErrors, initializePropertiesWithCommandXml, isApplyButtonRequired, isModified, onAddChild, onCollapse, onExpand, onGetInfo, onSelectObject, onSetClass, onSetObject, onShowChildren, onSystemProperties, onUpdateChild, panelFinish, panelInitClientProperties, panelSave, removeSingleProperty, render, reset, setFormName, setReadOnly, setRootClass, 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 |
WCM_PROPDESCS_KEY_PREFIX
public static final java.lang.String WCM_PROPDESCS_KEY_PREFIX
- See Also:
- Constant Field Values
WebContentPropDescsInfoPage
public WebContentPropDescsInfoPage()
throws java.lang.Exception
WebContentPropDescsInfoPage
public WebContentPropDescsInfoPage(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.
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 WcmPropDescsInfoPage
- Throws:
java.lang.Exception
onStartPage
public void onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Sets up property description xml and event handler urls.
- Specified by:
onStartPage
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
- Overrides:
onStartPage
in class WcmPropDescsInfoPage
- Parameters:
request
- HttpServletRequest objectresponse
- HttpServletResponse object
- Throws:
java.lang.Exception
onSelectCategories
public void onSelectCategories(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Handles the select categories event triggered by the user selecting the Categories link.
- Parameters:
request
- HttpServletRequest objectresponse
- HttpServletResponse object
- Throws:
java.lang.Exception
onSetCategories
public void onSetCategories(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Handles the Set Categories event triggered by the user selecting one or more categories from the select categories
page.
- Parameters:
request
- HttpServletRequest objectresponse
- HttpServletResponse object
- Throws:
java.lang.Exception
onSubmit
public void onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Handles the Set Categories event triggered by the user selecting one or more categories from the select categories
page.
- Overrides:
onSubmit
in class WcmPropDescsInfoPage
- Parameters:
request
- HttpServletRequest objectresponse
- HttpServletResponse object
- 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 WcmPropDescsInfoPage
- Throws:
java.lang.Exception
getExceptions
public java.util.List getExceptions()
- Overrides:
getExceptions
in class WcmPropertiesInfoPage
cleanup
public void cleanup()
throws java.lang.Exception
- Cleanup module properties
- Specified by:
cleanup
in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
- Overrides:
cleanup
in class WcmPropertiesInfoPage
- Throws:
java.lang.Exception
getPropertiesXML
public org.w3c.dom.Document getPropertiesXML()
throws java.lang.Exception
- Overrides the getPropertiesXML method to properly load the web content property descriptions xml.
- Overrides:
getPropertiesXML
in class WcmPropDescsInfoPage
- Throws:
java.lang.Exception
- See Also:
for detail.
getOutputXML
protected org.w3c.dom.Document getOutputXML()
throws java.lang.Exception
- Overrides the getOutputXML method to support local section properties.
- Overrides:
getOutputXML
in class WcmPropertiesInfoPage
- Returns:
- The output xml.
- Throws:
java.lang.Exception
setSelectedClass
public void setSelectedClass(java.lang.String newClassId)
throws java.lang.Exception
- Set the select class. Updates the output xml with selected class and class properties.
The class description xml and object store name must be already loaded into the module properties.
- Overrides:
setSelectedClass
in class WcmPropDescsInfoPage
- Parameters:
newClassId
- String new object class id
- Throws:
java.lang.Exception
© Copyright IBM Corp. 2002, 2007. All Rights Reserved.