Liferay 6.1.2-ce-ga3

com.liferay.portlet
Class PortletResponseImpl

java.lang.Object
  extended by com.liferay.portlet.PortletResponseImpl
All Implemented Interfaces:
LiferayPortletResponse, PortletResponse
Direct Known Subclasses:
MimeResponseImpl, StateAwareResponseImpl

public abstract class PortletResponseImpl
extends Object
implements LiferayPortletResponse


Constructor Summary
PortletResponseImpl()
           
 
Method Summary
 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, Element element)
           
 void addProperty(String key, String value)
           
 PortletURL createActionURL()
           
 LiferayPortletURL createActionURL(String portletName)
           
 Element createElement(String tagName)
           
 LiferayPortletURL createLiferayPortletURL(long plid, String portletName, String lifecycle)
           
 LiferayPortletURL createLiferayPortletURL(long plid, String portletName, String lifecycle, boolean includeLinkToLayoutUuid)
           
 LiferayPortletURL createLiferayPortletURL(String lifecycle)
           
 LiferayPortletURL createLiferayPortletURL(String portletName, String lifecycle)
           
 PortletURL createRenderURL()
           
 LiferayPortletURL createRenderURL(String portletName)
           
 ResourceURL createResourceURL()
           
 LiferayPortletURL createResourceURL(String portletName)
           
protected  LiferayPortletURL doCreateLiferayPortletURL(long plid, String portletName, String lifecycle, boolean includeLinkToLayoutUuid)
           
 String encodeURL(String path)
           
 long getCompanyId()
           
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
           
 javax.servlet.http.HttpServletResponse getHttpServletResponse()
           
abstract  String getLifecycle()
           
 String getNamespace()
           
 long getPlid()
           
 Portlet getPortlet()
           
 String getPortletName()
           
 PortletRequestImpl getPortletRequest()
           
static PortletResponseImpl getPortletResponseImpl(PortletResponse portletResponse)
           
 Map<String,String[]> getProperties()
           
 URLEncoder getUrlEncoder()
           
protected  void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse response, String portletName, long companyId, long plid)
           
 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(URLEncoder urlEncoder)
           
 void transferHeaders(javax.servlet.http.HttpServletResponse response)
           
 void transferMarkupHeadElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletResponseImpl

public PortletResponseImpl()
Method Detail

getPortletResponseImpl

public static PortletResponseImpl getPortletResponseImpl(PortletResponse portletResponse)

addDateHeader

public void addDateHeader(String name,
                          long date)
Specified by:
addDateHeader in interface LiferayPortletResponse

addHeader

public void addHeader(String name,
                      String value)
Specified by:
addHeader in interface LiferayPortletResponse

addIntHeader

public void addIntHeader(String name,
                         int value)
Specified by:
addIntHeader in interface LiferayPortletResponse

addProperty

public void addProperty(javax.servlet.http.Cookie cookie)
Specified by:
addProperty in interface PortletResponse

addProperty

public void addProperty(String key,
                        Element element)
Specified by:
addProperty in interface PortletResponse

addProperty

public void addProperty(String key,
                        String value)
Specified by:
addProperty in interface PortletResponse

createActionURL

public PortletURL createActionURL()
Specified by:
createActionURL in interface LiferayPortletResponse

createActionURL

public LiferayPortletURL createActionURL(String portletName)
Specified by:
createActionURL in interface LiferayPortletResponse

createElement

public Element createElement(String tagName)
                      throws DOMException
Specified by:
createElement in interface PortletResponse
Throws:
DOMException

createLiferayPortletURL

public LiferayPortletURL createLiferayPortletURL(long plid,
                                                 String portletName,
                                                 String lifecycle)
Specified by:
createLiferayPortletURL in interface LiferayPortletResponse

createLiferayPortletURL

public LiferayPortletURL createLiferayPortletURL(long plid,
                                                 String portletName,
                                                 String lifecycle,
                                                 boolean includeLinkToLayoutUuid)
Specified by:
createLiferayPortletURL in interface LiferayPortletResponse

createLiferayPortletURL

public LiferayPortletURL createLiferayPortletURL(String lifecycle)
Specified by:
createLiferayPortletURL in interface LiferayPortletResponse

createLiferayPortletURL

public LiferayPortletURL createLiferayPortletURL(String portletName,
                                                 String lifecycle)
Specified by:
createLiferayPortletURL in interface LiferayPortletResponse

createRenderURL

public PortletURL createRenderURL()
Specified by:
createRenderURL in interface LiferayPortletResponse

createRenderURL

public LiferayPortletURL createRenderURL(String portletName)
Specified by:
createRenderURL in interface LiferayPortletResponse

createResourceURL

public ResourceURL createResourceURL()
Specified by:
createResourceURL in interface LiferayPortletResponse

createResourceURL

public LiferayPortletURL createResourceURL(String portletName)
Specified by:
createResourceURL in interface LiferayPortletResponse

encodeURL

public String encodeURL(String path)
Specified by:
encodeURL in interface PortletResponse

getCompanyId

public long getCompanyId()

getHttpServletRequest

public javax.servlet.http.HttpServletRequest getHttpServletRequest()

getHttpServletResponse

public javax.servlet.http.HttpServletResponse getHttpServletResponse()
Specified by:
getHttpServletResponse in interface LiferayPortletResponse

getLifecycle

public abstract String getLifecycle()

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface PortletResponse

getPlid

public long getPlid()

getPortlet

public Portlet getPortlet()

getPortletName

public String getPortletName()

getPortletRequest

public PortletRequestImpl getPortletRequest()

getProperties

public Map<String,String[]> getProperties()
Specified by:
getProperties in interface LiferayPortletResponse

getUrlEncoder

public URLEncoder getUrlEncoder()

setDateHeader

public void setDateHeader(String name,
                          long date)
Specified by:
setDateHeader in interface LiferayPortletResponse

setHeader

public void setHeader(String name,
                      String value)
Specified by:
setHeader in interface LiferayPortletResponse

setIntHeader

public void setIntHeader(String name,
                         int value)
Specified by:
setIntHeader in interface LiferayPortletResponse

setPlid

public void setPlid(long plid)

setProperty

public void setProperty(String key,
                        String value)
Specified by:
setProperty in interface PortletResponse

setURLEncoder

public void setURLEncoder(URLEncoder urlEncoder)

transferHeaders

public void transferHeaders(javax.servlet.http.HttpServletResponse response)

transferMarkupHeadElements

public void transferMarkupHeadElements()
Specified by:
transferMarkupHeadElements in interface LiferayPortletResponse

doCreateLiferayPortletURL

protected LiferayPortletURL doCreateLiferayPortletURL(long plid,
                                                      String portletName,
                                                      String lifecycle,
                                                      boolean includeLinkToLayoutUuid)

init

protected void init(PortletRequestImpl portletRequestImpl,
                    javax.servlet.http.HttpServletResponse response,
                    String portletName,
                    long companyId,
                    long plid)

Liferay 6.1.2-ce-ga3