org.apache.tapestry.portlet
Class PortletLinkFactoryImpl
java.lang.Object
org.apache.tapestry.services.impl.LinkFactoryImpl
org.apache.tapestry.portlet.PortletLinkFactoryImpl
- All Implemented Interfaces:
- LinkFactory
public class PortletLinkFactoryImpl
- extends LinkFactoryImpl
Extended version of LinkFactoryImpl
that
can create generate Portlet URLs.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class org.apache.tapestry.services.impl.LinkFactoryImpl |
createServiceEncoding, extractListenerParameters, finalizeParameters, getServiceEncoders, initializeService, setContributions, setDataSqueezer, setErrorLog, setPersistenceStrategySource, setRequest, setRequestCycle, setServletPath, squeezeServiceParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletLinkFactoryImpl
public PortletLinkFactoryImpl()
setRenderResponse
public void setRenderResponse(javax.portlet.RenderResponse renderResponse)
constructLink
public ILink constructLink(IEngineService service,
boolean post,
Map parameters,
boolean stateful)
- Description copied from interface:
LinkFactory
- Constructs an
ILink
.
- Specified by:
constructLink
in interface LinkFactory
- Overrides:
constructLink
in class LinkFactoryImpl
- Parameters:
service
- the service for which the link is being generatedpost
- if true, then the link will be used for a post (not a get,
i.e., for a HTML form); this may affect what information is
encoded into the linkparameters
- A map; keys are strings and values are strings or string
arrays (exception: key ServiceConstants.PARAMETER
is
an array of objects. Certain keys, defined in
ServiceConstants
may have special meaning. The map
will typically be modified internally. May not be null.stateful
- If true, then the final URL should be encoded (with the
session id) if necessary. If false, the session encoding
should not occur. The latter case is useful for services that
will absolutely not need any access to user-specific state.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.