com.sas.portal.portlet
Interface PortletActionInterface
- All Superinterfaces:
- All Known Implementing Classes:
- DefaultPortletAction,
- public interface PortletActionInterface
- extends java.io.Serializable
Interface which all portlet actions must implement.
The service() method
can be overridden to set properties on the response, such as
response.setContentType("text/html;charset=UTF-8")
to allow non-Latin1 languages render via UTF-8.
It also allows you to set and retrieve an instance of PortletActionInfoInterface.
- Since:
- 09/02/2002
service
public String service(HttpServletRequest request,
HttpServletResponse response,
PortletContext context)
throws Exception
- Integration point for portlet actions.
- Parameters:
request - The HtppServletRequest associated with the method invocationresponse - HttpServletResponse associated with the method invocationcontext - PortletContext mapped to the request path- Returns:
java.lang.String - representing a valid URL.- Throws:
Exception - if anything went wrong- See Also:
service(HttpServletRequest, HttpServletResponse, PortletContext)
setInfo
public void setInfo(PortletActionInfoInterface info)
- Sets the PortletActionInfoInterface for the given
PortletAction. This allows each concrete portlet action
class to have a reference to its deployment descriptor
metadata.
- Parameters:
info - PortletActionInfoInterface - deployment descriptor metadataPortletActionInfoInterface - the PortletActionInfoInterface to set- See Also:
setInfo(PortletActionInfoInterface)
getInfo
public PortletActionInfoInterface getInfo()
- Gets the deployment descriptor metadata corresponding
to this concrete action instance.
- Returns:
- PortletActionInfoInterface - deployment descriptor metadata
- See Also:
getInfo()
Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:05:12