org.jasig.portal.portlet.url
Class PortletURLProviderImpl

java.lang.Object
  extended by org.jasig.portal.portlet.url.PortletURLProviderImpl
All Implemented Interfaces:
org.apache.pluto.spi.PortletURLProvider

public class PortletURLProviderImpl
extends Object
implements org.apache.pluto.spi.PortletURLProvider

Tracks configuration for a portlet URL then generates one when toString() is called.

Version:
$Revision$
Author:
Eric Dalquist

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
PortletURLProviderImpl(IPortletWindow portletWindow, HttpServletRequest httpServletRequest, IPortletUrlSyntaxProvider portletUrlSyntaxProvider)
           
 
Method Summary
 void clearParameters()
           
 boolean isSecureSupported()
           
 void setAction(boolean action)
           
 void setParameters(Map parameters)
           
 void setPortletMode(PortletMode mode)
           
 void setSecure()
           
 void setWindowState(WindowState state)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

PortletURLProviderImpl

public PortletURLProviderImpl(IPortletWindow portletWindow,
                              HttpServletRequest httpServletRequest,
                              IPortletUrlSyntaxProvider portletUrlSyntaxProvider)
Method Detail

clearParameters

public void clearParameters()
Specified by:
clearParameters in interface org.apache.pluto.spi.PortletURLProvider

isSecureSupported

public boolean isSecureSupported()
Specified by:
isSecureSupported in interface org.apache.pluto.spi.PortletURLProvider

setSecure

public void setSecure()
               throws PortletSecurityException
Specified by:
setSecure in interface org.apache.pluto.spi.PortletURLProvider
Throws:
PortletSecurityException

setAction

public void setAction(boolean action)
Specified by:
setAction in interface org.apache.pluto.spi.PortletURLProvider

setParameters

public void setParameters(Map parameters)
Specified by:
setParameters in interface org.apache.pluto.spi.PortletURLProvider

setPortletMode

public void setPortletMode(PortletMode mode)
Specified by:
setPortletMode in interface org.apache.pluto.spi.PortletURLProvider

setWindowState

public void setWindowState(WindowState state)
Specified by:
setWindowState in interface org.apache.pluto.spi.PortletURLProvider

toString

public String toString()
Specified by:
toString in interface org.apache.pluto.spi.PortletURLProvider
Overrides:
toString in class Object


Copyright © 2010 Jasig. All Rights Reserved.