com.liferay.portlet
Class IFramePortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended bycom.liferay.portlet.IFramePortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig
Direct Known Subclasses:
GlobalPrayerDigestPortlet

public class IFramePortlet
extends javax.portlet.GenericPortlet

View Source

Version:
$Revision: 1.40 $
Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String DEFAULT_BORDER
           
static java.lang.String DEFAULT_BORDERCOLOR
           
static java.lang.String DEFAULT_FRAMEBORDER
           
static java.lang.String DEFAULT_HEIGHT_MAXIMIZED
           
static java.lang.String DEFAULT_HEIGHT_NORMAL
           
static java.lang.String DEFAULT_HSPACE
           
static java.lang.String DEFAULT_PORTLET_TITLE
           
static java.lang.String DEFAULT_SCROLLING
           
static java.lang.String DEFAULT_SHOW_PORTLET_BORDERS
           
static java.lang.String DEFAULT_SRC
           
static java.lang.String DEFAULT_VSPACE
           
static java.lang.String DEFAULT_WIDTH
           
 
Constructor Summary
IFramePortlet()
           
 
Method Summary
 void doEdit(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
 void doView(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
protected  java.lang.String getDoViewFailure(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
protected  java.lang.String getDoViewSuccess(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
protected  java.lang.String getPassword(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
protected  java.lang.String getSrc(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
protected  java.lang.String getUserName(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
 void processAction(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
protected  java.lang.String transformSrc(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORTLET_TITLE

public static final java.lang.String DEFAULT_PORTLET_TITLE
See Also:
Constant Field Values

DEFAULT_SHOW_PORTLET_BORDERS

public static final java.lang.String DEFAULT_SHOW_PORTLET_BORDERS
See Also:
Constant Field Values

DEFAULT_BORDER

public static final java.lang.String DEFAULT_BORDER
See Also:
Constant Field Values

DEFAULT_BORDERCOLOR

public static final java.lang.String DEFAULT_BORDERCOLOR
See Also:
Constant Field Values

DEFAULT_FRAMEBORDER

public static final java.lang.String DEFAULT_FRAMEBORDER
See Also:
Constant Field Values

DEFAULT_HEIGHT_MAXIMIZED

public static final java.lang.String DEFAULT_HEIGHT_MAXIMIZED
See Also:
Constant Field Values

DEFAULT_HEIGHT_NORMAL

public static final java.lang.String DEFAULT_HEIGHT_NORMAL
See Also:
Constant Field Values

DEFAULT_HSPACE

public static final java.lang.String DEFAULT_HSPACE
See Also:
Constant Field Values

DEFAULT_SCROLLING

public static final java.lang.String DEFAULT_SCROLLING
See Also:
Constant Field Values

DEFAULT_SRC

public static final java.lang.String DEFAULT_SRC
See Also:
Constant Field Values

DEFAULT_VSPACE

public static final java.lang.String DEFAULT_VSPACE
See Also:
Constant Field Values

DEFAULT_WIDTH

public static final java.lang.String DEFAULT_WIDTH
See Also:
Constant Field Values
Constructor Detail

IFramePortlet

public IFramePortlet()
Method Detail

doEdit

public void doEdit(javax.portlet.RenderRequest req,
                   javax.portlet.RenderResponse res)
            throws java.io.IOException,
                   javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

doView

public void doView(javax.portlet.RenderRequest req,
                   javax.portlet.RenderResponse res)
            throws java.io.IOException,
                   javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

processAction

public void processAction(javax.portlet.ActionRequest req,
                          javax.portlet.ActionResponse res)
                   throws java.io.IOException,
                          javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

getDoViewFailure

protected java.lang.String getDoViewFailure(javax.portlet.RenderRequest req,
                                            javax.portlet.RenderResponse res)
                                     throws java.io.IOException,
                                            PortalException,
                                            javax.portlet.PortletException
Throws:
java.io.IOException
PortalException
javax.portlet.PortletException

getDoViewSuccess

protected java.lang.String getDoViewSuccess(javax.portlet.RenderRequest req,
                                            javax.portlet.RenderResponse res)
                                     throws java.io.IOException,
                                            PortalException,
                                            javax.portlet.PortletException,
                                            SystemException
Throws:
java.io.IOException
PortalException
javax.portlet.PortletException
SystemException

getSrc

protected java.lang.String getSrc(javax.portlet.RenderRequest req,
                                  javax.portlet.RenderResponse res)

getUserName

protected java.lang.String getUserName(javax.portlet.RenderRequest req,
                                       javax.portlet.RenderResponse res)

getPassword

protected java.lang.String getPassword(javax.portlet.RenderRequest req,
                                       javax.portlet.RenderResponse res)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

transformSrc

protected java.lang.String transformSrc(javax.portlet.RenderRequest req,
                                        javax.portlet.RenderResponse res)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException