01: /* $Id: EventResponse.java,v 1.2 2005/07/29 03:52:38 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.portletappengine.ipc;
06:
07: import javax.portlet.PortletResponse;
08: import java.util.Map;
09:
10: /**
11: * An interface which is mainly used for setting the render parameters.
12: * It could have additional methods as IPC evolves.
13: */
14: public interface EventResponse extends PortletResponse {
15: /**
16: *
17: * @param parmMap The parameters in the map will be added to the existing
18: * list of parameters. The map must contain the key:value pairs where both
19: * key and value are instances of String.
20: */
21: public void setRenderParameters(Map parmMap);
22:
23: /**
24: * Render parameter will be set as key:value pair in the parameter
25: * map.
26: * @param key An instance of String
27: * @param value An instance of String
28: */
29: public void setRenderParameter(String key, String value);
30:
31: /**
32: * Method to set multiple values for a given String key.
33: * @param key
34: * @param values
35: */
36: public void setRenderParameter(String key, String[] values);
37: }
|