com.filenet.wcm.apps.server.ui.operation
Class ShowLinkOperation
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.WcmJSPModule
com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
com.filenet.wcm.apps.server.ui.layout.StretchedLayoutModule
com.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.
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 |
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.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 |
ShowLinkOperation
public ShowLinkOperation()
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 objectresponse
- - 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 HttpServletRequestresponse
- 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 HttpServletRequestresponse
- 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 HttpServletRequestresponse
- 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.