public abstract class PortletResponseImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletResponse
| Modifier and Type | Field and Description |
|---|---|
protected String |
portletName |
protected PortletRequestImpl |
portletRequestImpl |
protected javax.servlet.http.HttpServletResponse |
response |
| Constructor and Description |
|---|
PortletResponseImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDateHeader(String name,
long date) |
void |
addHeader(String name,
String value) |
void |
addIntHeader(String name,
int value) |
void |
addProperty(javax.servlet.http.Cookie cookie) |
void |
addProperty(String key,
org.w3c.dom.Element element) |
void |
addProperty(String key,
String value) |
<T extends PortletURL & ActionURL> |
createActionURL() |
ActionURL |
createActionURL(MimeResponse.Copy copy) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createActionURL(String portletName) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createActionURL(String portletName,
MimeResponse.Copy copy) |
org.w3c.dom.Element |
createElement(String tagName) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(long plid,
String portletName,
String lifecycle) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
boolean includeLinkToLayoutUuid) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
MimeResponse.Copy copy) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
MimeResponse.Copy copy,
boolean includeLinkToLayoutUuid) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(String lifecycle) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(String portletName,
String lifecycle) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(String portletName,
String lifecycle,
MimeResponse.Copy copy) |
<T extends PortletURL & RenderURL> |
createRenderURL() |
RenderURL |
createRenderURL(MimeResponse.Copy copy) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createRenderURL(String portletName) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createRenderURL(String portletName,
MimeResponse.Copy copy) |
ResourceURL |
createResourceURL() |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createResourceURL(String portletName) |
String |
encodeURL(String path) |
long |
getCompanyId() |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse() |
protected com.liferay.portal.kernel.model.Layout |
getLayout(PortletRequest portletRequest,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
abstract String |
getLifecycle() |
String |
getNamespace() |
long |
getPlid() |
com.liferay.portal.kernel.model.Portlet |
getPortlet() |
String |
getPortletName() |
PortletRequestImpl |
getPortletRequest() |
protected PortletPreferences |
getPortletSetup(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.Layout layout,
String portletName) |
Map<String,String[]> |
getProperties() |
String |
getProperty(String key) |
Collection<String> |
getPropertyNames() |
Collection<String> |
getPropertyValues(String key) |
com.liferay.portal.kernel.servlet.URLEncoder |
getUrlEncoder() |
void |
init(PortletRequestImpl portletRequestImpl,
javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
setDateHeader(String name,
long date) |
void |
setHeader(String name,
String value) |
void |
setIntHeader(String name,
int value) |
void |
setPlid(long plid) |
void |
setProperty(String key,
String value) |
void |
setURLEncoder(com.liferay.portal.kernel.servlet.URLEncoder urlEncoder) |
void |
transferHeaders(javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
transferMarkupHeadElements() |
protected String portletName
protected PortletRequestImpl portletRequestImpl
protected javax.servlet.http.HttpServletResponse response
public void addDateHeader(String name,
long date)
addDateHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void addHeader(String name,
String value)
addHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void addIntHeader(String name,
int value)
addIntHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void addProperty(javax.servlet.http.Cookie cookie)
addProperty in interface PortletResponsepublic void addProperty(String key,
org.w3c.dom.Element element)
addProperty in interface PortletResponsepublic void addProperty(String key,
String value)
addProperty in interface PortletResponsepublic <T extends PortletURL & ActionURL> T createActionURL()
createActionURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic ActionURL createActionURL(MimeResponse.Copy copy)
createActionURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createActionURL(String portletName)
createActionURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createActionURL(String portletName,
MimeResponse.Copy copy)
createActionURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic org.w3c.dom.Element createElement(String tagName)
throws org.w3c.dom.DOMException
createElement in interface PortletResponseorg.w3c.dom.DOMExceptionpublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid,
String portletName,
String lifecycle)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
boolean includeLinkToLayoutUuid)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
MimeResponse.Copy copy)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
MimeResponse.Copy copy,
boolean includeLinkToLayoutUuid)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(String lifecycle)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(String portletName,
String lifecycle)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(String portletName,
String lifecycle,
MimeResponse.Copy copy)
createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic <T extends PortletURL & RenderURL> T createRenderURL()
createRenderURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic RenderURL createRenderURL(MimeResponse.Copy copy)
createRenderURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createRenderURL(String portletName)
createRenderURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createRenderURL(String portletName,
MimeResponse.Copy copy)
createRenderURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic ResourceURL createResourceURL()
createResourceURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic com.liferay.portal.kernel.portlet.LiferayPortletURL createResourceURL(String portletName)
createResourceURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic String encodeURL(String path)
encodeURL in interface PortletResponsepublic long getCompanyId()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
getHttpServletResponse in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic abstract String getLifecycle()
getLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic String getNamespace()
getNamespace in interface PortletResponsepublic long getPlid()
public com.liferay.portal.kernel.model.Portlet getPortlet()
getPortlet in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic String getPortletName()
public PortletRequestImpl getPortletRequest()
public Map<String,String[]> getProperties()
getProperties in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic String getProperty(String key)
getProperty in interface PortletResponsepublic Collection<String> getPropertyNames()
getPropertyNames in interface PortletResponsepublic Collection<String> getPropertyValues(String key)
getPropertyValues in interface PortletResponsepublic com.liferay.portal.kernel.servlet.URLEncoder getUrlEncoder()
public void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse httpServletResponse)
public void setDateHeader(String name,
long date)
setDateHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void setHeader(String name,
String value)
setHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void setIntHeader(String name,
int value)
setIntHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void setPlid(long plid)
public void setProperty(String key,
String value)
setProperty in interface PortletResponsepublic void setURLEncoder(com.liferay.portal.kernel.servlet.URLEncoder urlEncoder)
setURLEncoder in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void transferHeaders(javax.servlet.http.HttpServletResponse httpServletResponse)
transferHeaders in interface com.liferay.portal.kernel.portlet.LiferayPortletResponsepublic void transferMarkupHeadElements()
transferMarkupHeadElements in interface com.liferay.portal.kernel.portlet.LiferayPortletResponseprotected com.liferay.portal.kernel.model.Layout getLayout(PortletRequest portletRequest, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
protected PortletPreferences getPortletSetup(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, String portletName)