| 构造器和说明 |
|---|
CMSURLImpl(java.lang.String protocol,
java.lang.String hostName,
int port,
java.lang.String contextPath,
java.lang.String servletName)
Constructs a PortalURLImpl instance using customized port.
|
CMSURLImpl(java.lang.String protocol,
java.lang.String hostName,
java.lang.String contextPath,
java.lang.String servletName)
Constructs a PortalURLImpl instance using default port.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addParameter(CMSURLParameter param) |
void |
clearParameters(java.lang.String windowId)
Clear parameters of the specified window.
|
java.lang.Object |
clone()
Clone a copy of itself.
|
java.lang.String |
getActionWindow() |
java.util.Collection |
getParameters() |
PublishMode |
getPublishMode(java.lang.String windowId) |
java.util.Map |
getPublishModes()
当前页面上所有jsplet的publishMode
|
java.lang.String |
getRenderPath() |
java.lang.String |
getServerURI()
Returns the server URI (protocol, name, port).
|
java.lang.String |
getServletPath()
Returns the servlet path (context path + servlet name).
|
java.util.Map |
getWindowStates() |
void |
setActionWindow(java.lang.String actionWindow) |
void |
setDocumentStatus(java.lang.String windowid,
DocumentStatus status) |
void |
setPublishMode(java.lang.String windowId,
PublishMode publishMode) |
void |
setRenderPath(java.lang.String renderPath) |
java.lang.String |
toString()
Converts to a string representing the portal URL.
|
public CMSURLImpl(java.lang.String protocol,
java.lang.String hostName,
java.lang.String contextPath,
java.lang.String servletName)
protocol - the protocol.hostName - the host name.contextPath - the servlet context path.servletName - the servlet name.public CMSURLImpl(java.lang.String protocol,
java.lang.String hostName,
int port,
java.lang.String contextPath,
java.lang.String servletName)
protocol - the protocol.hostName - the host name.port - the port number: 0 or negative means using default port.contextPath - the servlet context path.servletName - the servlet name.public void setRenderPath(java.lang.String renderPath)
setRenderPath 在接口中 CMSURLpublic java.lang.String getRenderPath()
getRenderPath 在接口中 CMSURLpublic java.util.Collection getParameters()
getParameters 在接口中 CMSURLpublic void setActionWindow(java.lang.String actionWindow)
setActionWindow 在接口中 CMSURLpublic java.lang.String getActionWindow()
getActionWindow 在接口中 CMSURLpublic java.util.Map getPublishModes()
CMSURLgetPublishModes 在接口中 CMSURLpublic PublishMode getPublishMode(java.lang.String windowId)
public void setPublishMode(java.lang.String windowId,
PublishMode publishMode)
setPublishMode 在接口中 CMSURLpublic java.util.Map getWindowStates()
getWindowStates 在接口中 CMSURLpublic void clearParameters(java.lang.String windowId)
clearParameters 在接口中 CMSURLwindowId - the window ID.public java.lang.String toString()
toString 在接口中 CMSURLtoString 在类中 java.lang.ObjectCMSURLParserImpl.toString(CMSURL)public java.lang.String getServerURI()
getServerURI 在接口中 CMSURLpublic java.lang.String getServletPath()
getServletPath 在接口中 CMSURLpublic java.lang.Object clone()
public void addParameter(CMSURLParameter param)
addParameter 在接口中 CMSURLpublic void setDocumentStatus(java.lang.String windowid,
DocumentStatus status)
setDocumentStatus 在接口中 CMSURL