01: /* $Id: PortletContainerEventResponse.java,v 1.1 2005/04/08 06:12:20 vs152012 Exp $
02: * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
03: * Use is subject to license terms.
04: */
05: package com.sun.portal.portletcontainercommon;
06:
07: import com.sun.portal.container.ExecuteEventResponse;
08:
09: import java.util.Map;
10:
11: public class PortletContainerEventResponse extends
12: PortletContainerResponse {
13: private ExecuteEventResponse res;
14: private Map renderParameters;
15:
16: public PortletContainerEventResponse(ExecuteEventResponse res) {
17: super (res);
18: this .res = res;
19: }
20:
21: /**
22: * Set the render parameters map. Portlet container may use this API to
23: * set the render parameters for the future rendering.
24: *
25: * @param renderParameters map
26: **/
27: public void setRenderParameters(Map renderParameters) {
28: this .renderParameters = renderParameters;
29: res.setRenderParameters(renderParameters);
30: }
31:
32: /**
33: * Returns a <code>Map</code> of the render parameters.
34: *
35: * @return the render parameters map.
36: **/
37: public Map getRenderParameters() {
38: return renderParameters;
39: }
40: }
|