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

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.StretchedLayoutModule
                              extended bycom.filenet.wcm.apps.server.ui.operation.ShowLinkOperation
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class ShowLinkOperation
extends StretchedLayoutModule

Show object link page.


Nested Class Summary
 class ShowLinkOperation.PathToolbar
           
 class ShowLinkOperation.UiBeginForm
           
 class ShowLinkOperation.UiEndForm
           
 class ShowLinkOperation.WcmRenderModule
           
 
Field Summary
 
Fields inherited from class com.filenet.wcm.apps.server.ui.layout.StretchedLayoutModule
bannerModule, footerModule, linksBar, tabBarModule
 
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
ShowLinkOperation()
           
 
Method Summary
protected  void addExitButton()
           
protected  void addShowLinkAnchor(com.filenet.wcm.apps.server.presentation.ui.ToolBar anchors, java.lang.String formName, java.lang.String eventName, java.lang.String icon, java.lang.String label)
           
protected  int getIntProperty(java.util.Map props, java.lang.String propertyName, int defaultValue)
           
protected  java.lang.String getLink(java.lang.String id, java.lang.String vsId, java.lang.String objectStoreName, java.lang.String objectType)
           
protected  java.lang.String getStringProperty(java.util.Map props, java.lang.String propertyName, java.lang.String defaultValue)
           
 void initialize()
           
protected  void initializeLinks()
           
protected  void initializeNonVersionable(java.lang.String id, java.lang.String encodedObjectStoreName, java.lang.String currType)
           
protected  java.lang.String initializeValue(java.lang.String modulePropertyKey, java.lang.String pageParameterKey)
           
protected  void initializeVersionable(java.lang.String id, java.lang.String vsid, java.lang.String encodedObjectStoreName, java.lang.String currType)
           
 void onGetInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void onSelectFromVersions(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Event handler for when user clicks the url contained in the Attachment's name text and is used to launch the Select Entry Template module as a popup.
 void onShowCurrent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Updates ShowLink with link for current version of document
 void onShowReleased(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Updates ShowLink with link for released version of document
 void onUpdateVersion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle the call back from the select version page to get the new Document version information
 
Methods inherited from class com.filenet.wcm.apps.server.ui.layout.StretchedLayoutModule
addModule, createLayout, registerAddedModules, renderLayout, setOperationTitle, setOperationTitle
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
getLayout, render, 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
onStartPage, 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.WcmUiModuleInterface
onStartPage
 
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

ShowLinkOperation

public ShowLinkOperation()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class StretchedLayoutModule
Throws:
java.lang.Exception

initializeValue

protected java.lang.String initializeValue(java.lang.String modulePropertyKey,
                                           java.lang.String pageParameterKey)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

initializeLinks

protected void initializeLinks()
                        throws java.lang.Exception
Throws:
java.lang.Exception

initializeNonVersionable

protected void initializeNonVersionable(java.lang.String id,
                                        java.lang.String encodedObjectStoreName,
                                        java.lang.String currType)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

initializeVersionable

protected void initializeVersionable(java.lang.String id,
                                     java.lang.String vsid,
                                     java.lang.String encodedObjectStoreName,
                                     java.lang.String currType)
                              throws java.lang.Exception
Throws:
java.lang.Exception

addExitButton

protected void addExitButton()
                      throws java.lang.Exception
Throws:
java.lang.Exception

addShowLinkAnchor

protected void addShowLinkAnchor(com.filenet.wcm.apps.server.presentation.ui.ToolBar anchors,
                                 java.lang.String formName,
                                 java.lang.String eventName,
                                 java.lang.String icon,
                                 java.lang.String label)
                          throws java.lang.Exception
Throws:
java.lang.Exception

getIntProperty

protected int getIntProperty(java.util.Map props,
                             java.lang.String propertyName,
                             int defaultValue)

getStringProperty

protected java.lang.String getStringProperty(java.util.Map props,
                                             java.lang.String propertyName,
                                             java.lang.String defaultValue)

getLink

protected java.lang.String getLink(java.lang.String id,
                                   java.lang.String vsId,
                                   java.lang.String objectStoreName,
                                   java.lang.String objectType)

onSelectFromVersions

public void onSelectFromVersions(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
                          throws java.lang.Exception
Event handler for when user clicks the url contained in the Attachment's name text and is used to launch the Select Entry Template module as a popup.

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

onUpdateVersion

public void onUpdateVersion(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws java.lang.Exception
Handle the call back from the select version page to get the new Document version information

Parameters:
request - The Java™Server Pages (JSP) request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception

onShowReleased

public void onShowReleased(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws java.lang.Exception
Updates ShowLink with link for released version of document

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

onShowCurrent

public void onShowCurrent(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.lang.Exception
Updates ShowLink with link for current version of document

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

onGetInfo

public void onGetInfo(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws java.lang.Exception
Throws:
java.lang.Exception


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